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:[EMAIL PROTECTED]] 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
