ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Ant help for c compiler
Date Thu, 29 Jun 2006 14:07:11 GMT
Sayed, Irfan (Irfan) wrote:
> Hi,
> why do we need to the path <taskdef
> resource="net/sf/antcontrib/"/>

There is no automatic discovery and load of tasks. Ant would have to 
enumerate every properties file in every package and load them, and 
would probably get something wrong like load properties files that have 
nothing to do with ant.

There is autoload of antlib.xml declared tasks via xml namespace 


However, you have to use tasks in a separate xmlns from then on. This 
means you must be comfortable with xml namespaces, or willing to learn.


> -----Original Message-----
> From: Sayed, Irfan (Irfan) 
> Sent: Thursday, June 29, 2006 12:10 PM
> To:
> Cc: Ant Users List
> Subject: RE: Ant help for c compiler
> Hi,
> I have added CC task in build .xml but it's not working
> I request you to please look into the file attached and let me know what
> I am doing wrong
> Regards
> Irfan.


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

View raw message