ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Davidson" <tim.david...@greenhatconsulting.com>
Subject running an external java task
Date Wed, 17 Sep 2003 15:47:55 GMT
I'm running Java 1.4.2, Win XP, Ant 1.5.4.

I'm using ant to run a java program called RetroGuard. but after calling RetroGuard, Ant stops
without any messages or anything. RetroGuard completes successfully. What I think is happenning
is that RetroGuard contains a System.exit() at the end, causing the Ant thread to be 'lost'.
Can anyone reccommend a solution so that ant continues when RetroGuard completes?
many thanks in advance.

    <target name="obfuscate">

      <java classname="RetroGuard" classpathref="project.obf.classpath">
         <arg value="a:/${project.jar.file}"/> 
         <arg value="a:/${project.obf.jar.file}"/> 
         <arg value="a:/${project.obf.rgs.file}"/> 
         <arg value="a:/${project.obf.log.file}"/> 
      </java>

	<echo message="never gets here"/>
      
   </target>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message