ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <>
Subject Re: <libraries>
Date Fri, 21 Jan 2005 12:58:55 GMT
Steve Loughran wrote:
> Nicola Ken Barozzi wrote:
>> Steve Loughran wrote:
>>> License is useful, pom may be useful in future...
>> Do you have a specific idea on this? :->
> Not yet, no. But it might be useful to start collecting them.

IMHO it's about defaults.

A simple project always has the same properties in the build file, and 
Maven has collected them in an xml file and an object model.

Ant usually uses properties, so we could think that it could make sense 
if Ant had an analogous definition of common properties.

Ant tasks could have each a typedef that uses these default values for 
auto configuration.

So for a simple project one could just make a property file with these 
properties, and call the typedeffed tasks.

Instead of doing:
   src= whatever
   build= whatever

     <property file=" "/>
     <javac srcdir="${src}"

One would have:
   ant.project.src.dir= whatever = whatever
   ant.task.javac.fork = yes


This is why I asked if IYO the pom is useful, as IMHO there could be a 
pomproperty task that loads these properties from a pom... is this 
similar to what you had in mind?

Nicola Ken Barozzi         
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)

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

View raw message