ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ram Kumar <ramku...@interactive1.com>
Subject RE: exec - help needed
Date Tue, 05 Mar 2002 10:05:07 GMT
thanks..solved..    the code is
<exec dir="divelog" executable="cmd.exe" >
           <arg line="/c"/>
           <arg line="testgen.bat" />
        </exec>

where batch file exists at divelog/testgen.bat and first arg is must.

Cheers..!
Ram Kumar


At 09:19 AM 3/5/2002 +0000, you wrote:
>Hi,
>Have you tried prefixing your dir attribute with the basedir ?
>i.e. ${basedir}/divelog
>Is the testgen.bat file in the divelog directory ? or are the
>results of the batch file written to the divelog directory ?
>Cheers.
>
>-----Original Message-----
>From: Ram Kumar [mailto:ramkumar@interactive1.com]
>Sent: 05 March 2002 08:56
>To: Ant Users List
>Subject: exec - help needed
>
>
>i want to exec a batch file on windows2000. I am getting IOException and
>
>error 2.
>my code is:
><project name="UnitTestsGen" default="hey" basedir=".">
>      <target name="hey">
>         <exec dir="divelog" executable="testgen.bat"/>
>      </target>
></project>
>any help ?
>
>Ram
>
>At 08:25 AM 3/5/2002 +0100, you wrote:
> >On Tue, 05 Mar 2002, Mark Derricutt <mark@talios.com> wrote:
> >
> > >     [javac] java.lang.InternalError: jzentry == 0
> > >     [javac] at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
> >
> >you are modifying a jar or zip file that is in your CLASSPATH, see
> ><http://nagoya.apache.org/bugzilla/show_bug.cgi?id=383> and
> ><http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6715>.
> >
> >Stefan
> >
> >--
> >To unsubscribe, e-mail:
><mailto:ant-user-unsubscribe@jakarta.apache.org>
> >For additional commands, e-mail:
><mailto:ant-user-help@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:
><mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:ant-user-help@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


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


Mime
View raw message