Skip to content

Commit

Permalink
[playframework#1023] Allow JVM arguments in the evolutions command
Browse files Browse the repository at this point in the history
  • Loading branch information
erwan committed Aug 9, 2011
1 parent 528858f commit 480d685
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions framework/pym/play/commands/evolutions.py
Expand Up @@ -41,9 +41,8 @@ def execute(**kargs):
if args.count('--jpda'):
print "~ Waiting for JPDA client to continue"
add_options.extend(['-Xdebug', '-Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=y'])
for arg in args:
if arg.startswith("-D"):
add_options.append(arg)
args.remove('--jpda')
add_options.extend(args)

java_cmd = [app.java_path()] + add_options + ['-classpath', app.cp_args(), 'play.db.Evolutions']

Expand Down

0 comments on commit 480d685

Please sign in to comment.