RE: Generating source from a plugin

2006-11-28 Thread Crossley, Jim
t: Re: Generating source from a plugin Hi we use the FreeHEP-NAR-Plugin (http://java.freehep.org/freehep-nar-plugin) to wrap the SWIG (http://www.swig.org) compiler and make it usable (for java) in maven with the FreeHEP-SWIG-Plugin (http://java.freehep.org/freehep-swig-plugin). The SWIG plug

Re: Generating source from a plugin

2006-11-27 Thread Mark Donszelmann
apper around a C++ program. Regards Mark Donszelmann Stanford Linear Accelerator Center - Original Message - From: "Jason Dillon" <[EMAIL PROTECTED]> To: "Maven Developers List" Sent: Monday, November 27, 2006 6:05 PM Subject: Re: Generating source from a plugin Yo

Re: Generating source from a plugin

2006-11-27 Thread Jason Dillon
You could include the compiler in the plugin's jar, then extract it into /tmp (or something) to execute it. But, unless you include a bunch of platform binaries its not going to be very portable. Easier to expect the compiler to be on the system search path and execute it... or expose the

Generating source from a plugin

2006-11-27 Thread Crossley, Jim
I'm in the midst of converting some fairly complex ant-based J2EE projects to Maven2. One thing I need to do is generate some Java source from some Flavor source files (http://flavor.sf.net) in the 'generate-sources' phase, so a Maven plugin for doing so seems the right course. But here's the rub