Re: Auto-generate Ant Script from Maven Script?
Hmm, there is already a plugin to do this, and it's the first plugin in the list - cryptically named "Ant". No wonder I didn't find it. I'll write it 50 times: RTFM. RTFM. RTFM... Sorry for the unnecessary post. -- Chad Chad Woolley wrote: Hi, I have an application which uses maven as the main build mechanism. However, I also maintain a corresponding Ant script which does a basic build of my app. This is to support users who may want to build my app, but not go to the trouble of downloading and installing maven. Also, I have in the past encountered a bug where Maven would not perform a certain task, but Ant would (yes, I dutifully reported the bug). My question is: Has anyone tried to make a simple plugin which would generate a basic Ant build script based off of a maven.xml file? I know that custom plugins, reports, etc. obviously wouldn't be supported. However, it seems possible to generate a basic Ant build script containing the classpath, and targets for clean, java:compile, test:compile, jar, etc. This could even read the properties directly from project.properties and project.xml, to avoid hardcoding often-changed values in the generated script. Thanks, Chad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Auto-generate Ant Script from Maven Script?
You have seen the Ant plugin, right? It does this -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Chad Woolley <[EMAIL PROTECTED]> wrote on 23/12/2003 01:56:43 PM: > Hi, > > I have an application which uses maven as the main build mechanism. > However, I also maintain a corresponding Ant script which does a basic > build of my app. This is to support users who may want to build my app, > but not go to the trouble of downloading and installing maven. Also, I > have in the past encountered a bug where Maven would not perform a > certain task, but Ant would (yes, I dutifully reported the bug). > > My question is: Has anyone tried to make a simple plugin which would > generate a basic Ant build script based off of a maven.xml file? > > I know that custom plugins, reports, etc. obviously wouldn't be > supported. However, it seems possible to generate a basic Ant build > script containing the classpath, and targets for clean, java:compile, > test:compile, jar, etc. This could even read the properties directly > from project.properties and project.xml, to avoid hardcoding > often-changed values in the generated script. > > Thanks, > Chad > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Auto-generate Ant Script from Maven Script?
On Mon, 2003-12-22 at 20:56, Chad Woolley wrote: > My question is: Has anyone tried to make a simple plugin which would > generate a basic Ant build script based off of a maven.xml file? Yes. maven ant:generate-build -- Craig S. Cottingham [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Auto-generate Ant Script from Maven Script?
Hi, I have an application which uses maven as the main build mechanism. However, I also maintain a corresponding Ant script which does a basic build of my app. This is to support users who may want to build my app, but not go to the trouble of downloading and installing maven. Also, I have in the past encountered a bug where Maven would not perform a certain task, but Ant would (yes, I dutifully reported the bug). My question is: Has anyone tried to make a simple plugin which would generate a basic Ant build script based off of a maven.xml file? I know that custom plugins, reports, etc. obviously wouldn't be supported. However, it seems possible to generate a basic Ant build script containing the classpath, and targets for clean, java:compile, test:compile, jar, etc. This could even read the properties directly from project.properties and project.xml, to avoid hardcoding often-changed values in the generated script. Thanks, Chad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]