'play war' fails when the war name looks like the play project

Bug #529677 reported by Rob Dawson
6
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/my_project_war.

The guard on line 467 of play is the cause.

The code is something like:
  if war_path.startswith(application_path):
   print "~ Oops. Please specify a destination directory outside of the application"
   print "~"
   sys.exit(-1)

Revision history for this message
Erwan Loisant (eloisant) wrote :

Fixed in rev 900 for 1.0, and 811 in 1.1.

Changed in play:
status: New → Fix Committed
assignee: nobody → Erwan Loisant (eloisant)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.