ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilesh Parmar <>
Subject ant not deleting directories
Date Wed, 08 May 2002 07:22:22 GMT
 I'm writing an ant script to compile a set of Java classes and package them
jars, wars, and ears. When i try to delete a directory and create it again,
it doesn't seem to do it. I get no errors. It just compiles the java
programs and places them into the destination, it doesn't go any further:
Any ideas??

This works:

 <target name="compile">
    <javac destdir="${}/classes" classpath="${myEnv.CLASSPATH}"
       <src path="${}/src"/>

The following doesn't work, and i don't get any errors :(

<target name="ejb-counter" depends="compile">
     <delete dir="${}/builds/META-INF"/>
     <mkdir dir="${}/builds/META-INF"/>


Peer Information India Pvt Ltd, Mumbai, India

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message