RE: Support for mojos written in Ant

2006-01-12 Thread Michael Böckling
Hi Michal, I thought you might be interested that I actually managed to create a Mojo using ANT. The thing is, you have to build Maven from current SVN and use that, then it works really well! The only gotcha is that you have to add the following in the pom.xml of your project, but I guess you

Re: Support for mojos written in Ant

2006-01-11 Thread Brett Porter
John wrote up the Ant plugin integration (available in 2.0.1) yesterday: http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html - Brett On 1/12/06, Chris Berry <[EMAIL PROTECTED]> wrote: > http://maven.apache.org/plugins/maven-antrun-plugin/introduction.html > > On 1/11/06, Chri

Re: Support for mojos written in Ant

2006-01-11 Thread Chris Berry
http://maven.apache.org/plugins/maven-antrun-plugin/introduction.html On 1/11/06, Chris Berry <[EMAIL PROTECTED]> wrote: > > I use Ant as a fundamental scripting language for Maven. > > I use the antrun plugin. I have a hacked up version that allows me to > build Plugins that hold an Ant build fil

Re: Support for mojos written in Ant

2006-01-11 Thread Chris Berry
I use Ant as a fundamental scripting language for Maven. I use the antrun plugin. I have a hacked up version that allows me to build Plugins that hold an Ant build file and a simple, thin Mojo that extends the Antrun base class. When executed this Plugin unpacks the Ant build.xml and executes targ

Re: Support for mojos written in Ant

2006-01-11 Thread Michael Böckling
Hi Michal, thank you for your information. Now I tried to do the same, and I get the exact same error as you. It seems the support for mojos written in ANT is unusable in its current state. Maybe some developer can say something? Regards, Michael -Original Message- From: Michae

RE: Support for mojos written in Ant

2006-01-06 Thread Michał Stochmiałek
> -Original Message- > From: Michael Böckling [mailto:[EMAIL PROTECTED] > Sent: Friday, January 06, 2006 1:56 PM > To: Maven Users List > Subject: Support for mojos written in Ant > > Hi, > > what happened to the maven-antfile-plugin? I can't find it anywhere... I > figured it provides th

Re: Support for mojos written in Ant

2005-12-27 Thread Nitko2
Ok, that's it. I just didn't find anything(in JIRA issue) about getting included in the release. Thanks. Brett Porter wrote: On 12/24/05, Chris Berry <[EMAIL PROTECTED]> wrote: FWIW, what I've done is create a specialized Mojo that allows you to create an Ant build.xml and then build a reusa

Re: Support for mojos written in Ant

2005-12-23 Thread Brett Porter
On 12/24/05, Chris Berry <[EMAIL PROTECTED]> wrote: > FWIW, what I've done is create a specialized Mojo that allows you to create > an Ant build.xml and then build a reusable Mojo that use it. I submitted > this into JIRA, but don't know if its been integrated yet. You can get the > code here (its

RE: Support for mojos written in Ant

2005-12-23 Thread Scokart Gilles
tten in Ant > -Original Message- > From: Chris Berry [mailto:[EMAIL PROTECTED] > Sent: 23 December 2005 15:27 > To: Maven Users List > Subject: Re: Support for mojos written in Ant > > What exactly do you mean "written in Ant"?? > Do you mean using Ant&#x

Re: Support for mojos written in Ant

2005-12-23 Thread Chris Berry
What exactly do you mean "written in Ant"?? Do you mean using Ant's Java Tasks directly from the Mojo Java?? That is pretty easily done. There is info on using Ant from Java here http://www-128.ibm.com/developerworks/websphere/library/techarticles/0502_gawor/0502_gawor.html FWIW, what I've done is

Re: Support for mojos written in Ant

2005-12-22 Thread Nitko2
Chris, thank you for your answer. I know about antrun, and I've been using it. But it isn't what I need. I would like to write plugins using ant(mojos written in Ant), not execute ant build files. I can't find anything about that here http://maven.apache.org/guides/mini/guide-using-ant.html Fil

Re: Support for mojos written in Ant

2005-12-22 Thread Chris Berry
Hi Filip, I think your best bet might be to checkout the Plugin from SVN. IMHO, this is the best way to get the full picture as things are still in flux -- and the docs will likely not have caught up with the code. Of course, you'll need a Subversion Client (I use TortoiseSVN) AFAIK, this should