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]



Reply via email to