see mine inline
On Thu, Mar 26, 2009 at 12:50 AM, Erik Drolshammer
<[email protected]> wrote:
> Dan Tran wrote:
>>
>> should be like thkis
>>
>> parent
>> pom.xml
>> src/main/native
>> i686
>> pom.xml
>> x86_64
>> pom.xml
>> rpm
>> pom.xml
>>
>> see native-maven-plugin/src/it to see how i handle this setup
>
> Thanks :)
> I now have a basic setup working. See
> http://wiki.community.objectware.no/display/smidigtonull/Build+C+%28plusplus%29+code+for+multiple+platforms+with+Maven
>
> However, we cannot adopt this solution for all our projects without some
> support for generating binaries for multiple platforms. See jira:
> http://jira.codehaus.org/browse/MOJO-1323.
>
Unfortunately, i am nolonger involved in any native build, feel free
to go beyond this. There are alternatives:
- jfog-native-maven-plugin which is fork form mine
- nar-maven-plugin very close to your requirement
> Has classifier support been discussed?
>
>
>> However, would strongly recommand you use the unix way via configure
>> script
>
if you familiar with out c/c++ opensource project, they use configure
script/autoconf and automate to generate make file per platform. I
think this is the right way togo
it force you to code correctly.
> What do you mean? Could you elaborate?
>
>
>> please next time try to get on maven list so that every one can be benefit
>
> I follow the mojo-list, but due to incompatibility between gmail smtp and
> the list management software used by mojo my posts are often rejected.
>
>
You can try nabble
> I'm setting up a static library now (and will publish an example when I get
> it working). However, without some way to differentiate between binaries for
> RedHat4 and RedHat5, we are in serious trouble.
>
>
> --
> Best regards
> Erik Drolshammer
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email