ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: Basic Question
Date Tue, 07 Sep 2004 13:36:33 GMT
Olivier Croisier wrote:
> Hi
> Ant buildfiles without a default target are invalid : <project> tags are 
> required to provide one "default" attribute. Check that your buildfile 
> is well-formed & valid, but I think Ant would've complained in a more 
> explicit manner if you had forgotten that attribute...

This is not true in more recent versions of Ant. Try this:

<project name="test">
   <echo message="I have no default"/>

Buildfile: build.xml
      [echo] I have no default

Total time: 1 second


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

View raw message