On Mon, Aug 08, 2005 at 06:44:28PM -0700, dan tran wrote:
> I am currently porting M1 maven-native-plugin with cpptask 
> to M2 mojo. And I am also in  the process of perform a few more refactorings
> and check in to org.codehaus.mojo as prelimary code for review 
> 
> I can see lots of reuseable code we can share between .net plugin and
> native plugin such as
> 
>     - dependency analysis. 

What do you mean?

>     - handling of .dll and .exe types for install/deploy purposes

A .NET .dll really isn't the same thing as a native .dll and probably
shouldn't the same artifact handler. A native .dll/.exe handler has to
include the processor/os/etc platform while a .net .dll doesn't have to.

>     - Similar creation of Commandline to invoke the compiler/linker

Hopefully the Commandline stuff in plexus-utils and/or the new
commons-exec component should contain anything that's commons here. Or am
I missing something? I assume that you're going to have to have a custom
output parser for each type of compiler (GCC, MC C/C++, ..)

--
Trygve

Attachment: signature.asc
Description: Digital signature

Reply via email to