e.g.

you need run run cmd as
     <echo message="copy from ${vss_web}"/>
     <exec dir="${basedir}\.." executable="cmd.exe" >
        <arg line="/c"/>
        <arg line="xcopy/r"/>
        <arg line="${vss_web}\*.jsp"/>
        <arg line=" *.jsp "/>
    </exec>


-----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]>


***************************************************************************
This email message contains confidential information for the above addressee only.  If 
you are not the intended addressee you must not disclose or use the information in any 
manner whatsoever.

Any opinion or views contained in this email message are those of the sender, do not 
represent those of the Company in any way and reliance should not be placed upon its 
contents.

Unless otherwise stated this email message is not intended to be contractually 
binding.  Where an Agreement exists between our respective companies and there is 
conflict between the contents of this email message and the Agreement then the terms 
of that Agreement shall prevail.

Abbey National Treasury Services plc. Registered in England. Registered Office:  Abbey 
House, Baker Street, London NW1 6XL.  Company Registration No: 2338548.  Regulated by 
the FSA
***************************************************************************


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to