You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "J. Matthew Pryor" <jm...@yahoo.com> on 2004/02/26 05:44:39 UTC

RE: Does maven surport to process the c or c++ project?

Have you made any progress on this?
I'd be a willing beta tester

Matthew 

> -----Original Message-----
> From: Lester Ward [mailto:lward@tagaudit.com] 
> Sent: Friday, January 09, 2004 2:21 AM
> To: 'Maven Users List'
> Subject: RE: Does maven surport to process the c or c++ project?
> 
> > Not for the moment, but if you want to write a plugin, it's welcome.
> 
> I'm writing one (maven-cpp-plugin). It's been... interesting. 
> The include files make everything fun. We've taken to 
> inventing a .car file (C archive) to handle dependencies. 
> This is just a .tar.gz file with a specific layout (libs and 
> includes in specific spots).
> 
> It's been working pretty well with Win32 and Linux, though we 
> are still tinkering. Handling cross-platform has is own 
> philosophical challenges. For example, do you try to write a 
> single task that detects the platform and invokes the correct 
> compiler, or you give the control to the user through 
> properties and then only build if you detect you are running 
> on a platform that matches the compiler (that is, if the 
> compiler property is set to Microsoft's Visual Studio 
> compiler and you are running on Linux, what do you do)? So 
> far, we have gone with the latter strategy and skip builds 
> where the properties don't match the platform.
> 
> The whole thing uses the Ant tasks for C, which are a bit 
> wiggy in some ways, particularly when using Win32 compilers.
> 
> When it gets a bit more stable, I'll make it available, 
> probably on http://maven-plugins.sourceforge.net/ (where I 
> have commit permission, though I've not used it yet).
> 
> Wordman
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org