ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
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"/>
</project>

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

BUILD SUCCESSFUL
Total time: 1 second

Conor

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message