I have a strong feeling Ant is locking up my app, so I want to change the build file to start java through cmd.
I have this command:
<target name="run">
<exec executable="cmd.exe" spawn="true" osfamily="windows">
<arg line="/c java -cp "build/" com.mycom.prog.Monitor"/>
</exec>
</target>
This starts it fine, however, the cmd window is not in foreground (I can only see it in Process Manager), when it needs to be. Any ideas what could be wrong?