File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 61
61
</jar >
62
62
</target >
63
63
64
- <target name =" run" depends =" jar" description =" Run the application." >
65
- <java jar =" ${ dist.dir } /${ jar.file } " fork =" true" >
64
+ <target name =" run" depends =" compile" description =" Run the application." >
65
+ <java classname =" ${ main.class } " classpath =" ${ build.classes.dir } " >
66
+ <classpath refid =" build.classpath" />
66
67
<arg value =" --name" />
67
68
<arg value =" Java" />
68
69
</java >
69
70
</target >
70
71
71
- <target name =" run-hotswap" depends =" jar "
72
+ <target name =" run-hotswap" depends =" compile "
72
73
description =" Run the application in hotswap mode." >
73
- <java jar =" ${ dist.dir } /${ jar.file } " fork =" true" >
74
+ <java classname =" ${ main.class } " classpath =" ${ build.classes.dir } "
75
+ fork =" true" >
76
+ <classpath refid =" build.classpath" />
74
77
<jvmarg line =" -Xdebug -Xrunjdwp:transport=dt_socket,address=9000,server=y,suspend=n" />
75
78
<arg value =" --loop" />
76
79
<arg value =" --name" />
You can’t perform that action at this time.
0 commit comments