Post your build.xml here so we can see what might be wrong.

K.C.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 28, 2001 11:07 AM
> To: [EMAIL PROTECTED]
> Subject: Target Won't Execute?
> 
> 
> Hi,
> 
> I'm having some trouble getting the "clean" target to run 
> that is provided in
> the sample file in the "Using Ant" section of the 
> documentation.  I cut and
> paste it into a build.xml file and everything else executes 
> properly but my
> directories do not get deleted.  I added an "echo" target to 
> display a text
> message and it does not get executed either (or it appears 
> that way).  When
> running in debug mode the targets show up in the list to be run.
> 
> The documentation says:
> 
>  "If no if and no unless attribute is present, the target 
> will always be
> executed."
> 
> I expected that all the targets would be run.  What am I overlooking?
> 
> Environment - NT Workstation 4.0 SP6, JDK 1.3
> 
> David
> 

Reply via email to