You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brett Porter <bp...@f2network.com.au> on 2003/01/06 22:42:36 UTC
ant & maven.xml
Hi,
I was just wondering what thoughts there are on how the content of
maven.xml could be included in the generated ant scripts, or whether
this is a good goal to obtain.
The reason I ask is that it appears ant is faster to execute (and always
likely to be) because of a lower overhead - correct me if others
experience it differently.
I'd like to use maven for all of our full builds and whenever there are
property changes, but ant whenever I change only a java file, or a jsp
file. This means you could generate the ant script by "executing" the
jelly script and writing out what would have been run in ant I think.
Even then, the definition will be fuzzy because some properties will be
used in jelly, and some only filtered, so sometimes you'd need to run
ant and sometimes maven. Anything that relied on a plugin (eg XJC now)
would also require maven.
I'd just like to know what the thoughts are on this in the interest of
speeding up the build process for smaller tasks (although console/wizard
are also good alternatives), as well as utilising existing ant
frameworks/IDE plugins. At the moment, most of my stuff I've mavenised
won't completely build in ant because of necessary preGoals or postGoals.
Thanks,
Brett
Re: ant & maven.xml
Posted by James Strachan <ja...@yahoo.co.uk>.
From: "Brett Porter" <bp...@f2network.com.au>
> Hi,
>
> I was just wondering what thoughts there are on how the content of
> maven.xml could be included in the generated ant scripts, or whether
> this is a good goal to obtain.
>
> The reason I ask is that it appears ant is faster to execute (and always
> likely to be) because of a lower overhead - correct me if others
> experience it differently.
>
> I'd like to use maven for all of our full builds and whenever there are
> property changes, but ant whenever I change only a java file, or a jsp
> file.
Though using the interactive console in Maven will probably be faster than
Ant at peforming things like compiles etc.
James
-------
http://radio.weblogs.com/0112098/
> This means you could generate the ant script by "executing" the
> jelly script and writing out what would have been run in ant I think.
> Even then, the definition will be fuzzy because some properties will be
> used in jelly, and some only filtered, so sometimes you'd need to run
> ant and sometimes maven. Anything that relied on a plugin (eg XJC now)
> would also require maven.
>
> I'd just like to know what the thoughts are on this in the interest of
> speeding up the build process for smaller tasks (although console/wizard
> are also good alternatives), as well as utilising existing ant
> frameworks/IDE plugins. At the moment, most of my stuff I've mavenised
> won't completely build in ant because of necessary preGoals or postGoals.
>
> Thanks,
> Brett
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com