ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Tsao" <>
Subject RE: Ant Problems, Win 2000
Date Thu, 07 Jun 2001 22:52:37 GMT
Good suggestion, Nico.

I'm using Ant 1.3 on Win2000.  Here's a simplied version of the relevent
parts of my build.xml file:

  <target name="prepare">
    <!-- Set up web application directory -->
    <mkdir dir="${webapp.home}/WEB-INF/lib"/>
    <copy todir="${webapp.home}/WEB-INF/lib">
      <fileset dir="lib"/>

  <target name="clean">
    <delete dir="${webapp.home}"/>

The "prepare" target creates the lib directory, and copies jars from the
source directory over to the newly created lib directory.

The "clean" target simply deletes the root directory two levels above
the lib directory.

The biggest issue here is the inconsistency (read original post).  It
will work or not work unpredictably.

Thanks again,


-----Original Message-----
From: Nico Seessle []
Sent: Thursday, June 07, 2001 3:38 PM
Subject: Re: Ant Problems, Win 2000

----- Original Message -----
From: "Jamie Tsao" <>
To: <>
Sent: Thursday, June 07, 2001 11:55 PM
Subject: RE: Ant Problems, Win 2000

> That's what I figured originally, so I basically just tried running my
> "prepare" target first, which only copies files over, then I run the
> "clean" target, which deletes those files.  No process could possible
> using those files at that point, but I still get the errors.
> Ideas ?  Possible bug ?

Can you provide a small testcase and tell us what version of Ant you are


View raw message