Login  Register

Re: What about Maven ?

Posted by Michael Bien on Sep 10, 2010; 1:32pm
URL: https://forum.jogamp.org/What-about-Maven-tp844816p1452403.html

  Hi Elijah,

On 09/10/2010 01:01 AM, Elijah Menifee [via jogamp] wrote:
> I have been on vacation, and have not had a chance to get back to
> looking at the JogAmp stuff.  I still plan on altering the build to
> support the maven build system, so we can setup a repository for other
> maven projects to import and build from JogAmp dependencies.
nice. Hope you spent your vacation well.

Just want to note that this are actually two distinct goals:
1. provide maven artefacts
2. build with maven

1. should be relatively easy, 2 is lots of work... really. 1. is
probably also the feature the community wants (just add project x as
dependency). I am relatively new to maven, maybe i am oversimplifying
things here, but why not start with the simple task first?

>  As suggested by Michael I have started off with looking into porting
> the jocl stuff first.
>
> The last thing I remember looking at a couple of weeks ago was the
> custom ant tasks, and thinking that the ant task that checks for the
> latest CL api headers, could be a sub-project that provides the latest
> header, and that the header transformation task could be yet another
> sub-project or better yet a utility/project that could be configured
> via templates to do file transformations that would provide modified
> headers as a maven resource import to use for any glugen process where
> the input headers do not exactly match the expected input for gluegen.
>
> I probably will not have a chance to look into the details until
> sometime late this weekend or next week.  I still need to do some
> research on the different available maven plugins designed for native
> and JNI to replace some of the gluegen-cpptasks setup stuff.  I
> remember coming across an article about a maven plugin several months
> ago that did all the OS specific compiler variables and setup for
> platform dependent  JNI compile/link tasks but will need to find the
> details again.
>
> The initial step might be creating a maven pom and restructuring as a
> maven project that uses the AntRun plugin, and altering from there.
>  However I am still in the dissecting phase and have slept in the past
> two weeks while on vacation.  Not yet sure where assistance will be
> needed, but I will keep it in mind.
>

best regards,
michael

--
http://michael-bien.com/