Re: What about Maven ?
Posted by Elijah Menifee on Sep 09, 2010; 11:01pm
URL: https://forum.jogamp.org/What-about-Maven-tp844816p1449167.html
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. 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.