You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by James Strachan <ja...@yahoo.co.uk> on 2002/12/19 12:14:07 UTC
maven.xml supports Ant's build.xml style XML
This has been around for a long time and some folks may already know this
but if not its a quick heads up. I've always meant to give it a go and I did
today and it works. In a maven.xml you can use normal Ant style
<target name="foo" depends="a, b">
...
</target>
notation intead of
<goal name="foo" prereqs="a, b">
...
</goal>
both are accepted and can be intermixed. It can help for reusing fragments
of old build.xml files inside your Maven builds.
James
-------
http://radio.weblogs.com/0112098/
__________________________________________________
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
Re: maven.xml supports Ant's build.xml style XML
Posted by Martin van den Bemt <ml...@mvdb.net>.
That is very cool..
Mvgr
Martin
On Thu, 2002-12-19 at 12:14, James Strachan wrote:
> This has been around for a long time and some folks may already know this
> but if not its a quick heads up. I've always meant to give it a go and I did
> today and it works. In a maven.xml you can use normal Ant style
>
> <target name="foo" depends="a, b">
> ...
> </target>
>
> notation intead of
>
> <goal name="foo" prereqs="a, b">
> ...
> </goal>
>
> both are accepted and can be intermixed. It can help for reusing fragments
> of old build.xml files inside your Maven builds.
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
> __________________________________________________
> 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
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
Re: maven.xml supports Ant's build.xml style XML
Posted by bob mcwhirter <bo...@werken.com>.
Or, the cause of Mike's angst, ${vars-with-dashes} attempts to be
math in JEXL's mind.
-bob
On Thu, 19 Dec 2002, James Strachan wrote:
> From: "Vincent Massol" <vm...@octo.com>
> > Hi James,
> >
> > Yep, that's definitely very cool! Do you know if compatibility with
> > existing Ant build files is 100%? What's not supported by Jelly?
>
> The only problem I'm aware of right now is the variables.with.dots problem
> that exists in Jexl right now (e.g.${foo.bar != 12}) - but which shouldn't
> be too hard to fix.
Re: maven.xml supports Ant's build.xml style XML
Posted by James Strachan <ja...@yahoo.co.uk>.
From: "Vincent Massol" <vm...@octo.com>
> Hi James,
>
> Yep, that's definitely very cool! Do you know if compatibility with
> existing Ant build files is 100%? What's not supported by Jelly?
The only problem I'm aware of right now is the variables.with.dots problem
that exists in Jexl right now (e.g.${foo.bar != 12}) - but which shouldn't
be too hard to fix.
James
-------
http://radio.weblogs.com/0112098/
__________________________________________________
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
RE: maven.xml supports Ant's build.xml style XML
Posted by Vincent Massol <vm...@octo.com>.
Hi James,
Yep, that's definitely very cool! Do you know if compatibility with
existing Ant build files is 100%? What's not supported by Jelly?
Thanks
-Vincent
> -----Original Message-----
> From: James Strachan [mailto:james_strachan@yahoo.co.uk]
> Sent: 19 December 2002 11:14
> To: Turbine Maven Developers List
> Subject: maven.xml supports Ant's build.xml style XML
>
> This has been around for a long time and some folks may already know
this
> but if not its a quick heads up. I've always meant to give it a go and
I
> did
> today and it works. In a maven.xml you can use normal Ant style
>
> <target name="foo" depends="a, b">
> ...
> </target>
>
> notation intead of
>
> <goal name="foo" prereqs="a, b">
> ...
> </goal>
>
> both are accepted and can be intermixed. It can help for reusing
fragments
> of old build.xml files inside your Maven builds.
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
> __________________________________________________
>
> 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
>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-maven-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> help@jakarta.apache.org>