'play war' fails when the war name looks like the play project
Bug #529677 reported by
Rob Dawson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
Fix Committed
|
Undecided
|
Erwan Loisant |
Bug Description
In the 1.0 branch the updates to the 'play war' to stop creating the war in a subfolder of the project also prevents the play war command from creating a war with a name that looks like the play app.
i.e if your porject is:
~/play/my_proejct
you are prevented from creating
~/play/
The guard on line 467 of play is the cause.
The code is something like:
if war_path.
print "~ Oops. Please specify a destination directory outside of the application"
print "~"
sys.exit(-1)
To post a comment you must log in.
Fixed in rev 900 for 1.0, and 811 in 1.1.