ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: running an external java task
Date Wed, 17 Sep 2003 15:51:17 GMT
I meant <java> of course. --DD

> -----Original Message-----
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
> Sent: Wednesday, September 17, 2003 10:50 AM
> To: 'Ant Users List'
> Subject: RE: running an external java task
> 
> fork="true" in <exec>. --DD
> 
> > -----Original Message-----
> > From: Tim Davidson [mailto:tim.davidson@greenhatconsulting.com]
> > Sent: Wednesday, September 17, 2003 10:48 AM
> > To: user@ant.apache.org
> > Subject: running an external java task
> >
> > 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

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


Mime
View raw message