Problem with GLProfile and jogl2-rc2

classic Classic list List threaded Threaded
64 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
This post was updated on .
Great news ! ^^
So we can take the maven-common.xml of gluegen-rt and try to adapt it for jogl :)

1 - each type of platform generate jar with ant maven command, and deploy it on a maven repository
2 - a script install the super pom for gluegen + super pom for jogl with specific arch dependency for each
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

Sven Gothel
Administrator
On Monday, October 24, 2011 05:30:56 PM reyman [via jogamp] wrote:
>
> Great news ! ^^
> So we can take the maven-common.xml of gluegen-rt and try to adapt it for
> jogl :)

Maybe .. again, I don't know the state and impact in regards to
deployment URLs etc. At least we highly probably need a tagging / macro mechanism
as we have it for the JNLP files today. A post deployment script then shall
resolve the tag/macro to a final URL.

Reyman, will I see test maven files (gluegen-rt/jogl/..) from you then ?

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
Le lun. 24 oct. 2011 19:20:26 CEST, Sven Gothel [via jogamp] a écrit :

> On Monday, October 24, 2011 05:30:56 PM reyman [via jogamp] wrote:
> >
> > Great news ! ^^
> > So we can take the maven-common.xml of gluegen-rt and try to adapt
> it for
> > jogl :)
>
> Maybe .. again, I don't know the state and impact in regards to
> deployment URLs etc. At least we highly probably need a tagging /
> macro mechanism
> as we have it for the JNLP files today. A post deployment script then
> shall
> resolve the tag/macro to a final URL.
>
> Reyman, will I see test maven files (gluegen-rt/jogl/..) from you then ?
>
> ~Sven
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3448891.html 
>
> To unsubscribe from Problem with GLProfile and jogl2-rc2, click here
> <
>

Yes, i can try to implement this or test the implementation of other
person,
and if we need i have an account on a nexus server to test,  

Do you have an idea/ preference for the macro script implementation ?
I have some competence in python and java/scala.
But the java language is perhaps the best here to do this ?

Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
After some research, perhaps we can try to use a maven archetype to generate the folder to deploy.
(see http://andyonsoftware.blogspot.com/2010/01/creating-custom-multi-module-maven.html)
We change the property file which contain information about version of package, and after that we place the good package jar in the right folder/place
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

Sven Gothel
Administrator
In reply to this post by reyman
On Monday, October 24, 2011 08:51:41 PM reyman [via jogamp] wrote:

> >
> > Reyman, will I see test maven files (gluegen-rt/jogl/..) from you then ?
> >
> > ~Sven
> >
> >
> >
>
> Yes, i can try to implement this or test the implementation of other
> person,
> and if we need i have an account on a nexus server to test,  
>
> Do you have an idea/ preference for the macro script implementation ?
> I have some competence in python and java/scala.
> But the java language is perhaps the best here to do this ?
>

Thank you!

I thought you could just generate a static 'demo' maven/pom file
which would work w/
  http://jogamp.org/deployment/archive/master/gluegen_424-joal_228-jogl_526-jocl_455/
(so we may can test it w/ a simple test application).

Then I could replace the URLs with macros/tags, like this JNLP file:
  http://jogamp.org/git/?p=jogl.git;a=blob;f=jnlp-files/jogl-all-awt.jnlp;hb=HEAD
and add these pom templates to the repo.

The final deployment script:
  https://jogamp.org/chuck/view/fwd/job/jogamp-scripting-promote-last-builds-master/
  http://jogamp.org/git/?p=jogamp-scripting.git;a=blob;f=jenkins-builds/promote-latest-builds.sh;hb=HEAD
will resolve the URLs and deploy it w/ the other files.

(It's a pure dumb bash script)

I kick of deployment manually when we think we need it,
it produces the above gluege_424-joal_228.. URL.
Later, when we like to promote this 'release', we sign it manually
and have eg. another official release, like RC3.

Would that work for us ?

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

Sven Gothel
Administrator
In reply to this post by reyman
On Monday, October 24, 2011 09:10:22 PM reyman [via jogamp] wrote:
>
> After some research, perhaps we can try to use a maven archetype to generate
> the folder to deploy.
> (see
> http://andyonsoftware.blogspot.com/2010/01/creating-custom-multi-module-maven.html)
> We change the property file which contain information about version of
> package, and after that we place the good package jar in the right
> folder/place

(see my prev. post)

yes - the final deployment script can put all those release related information
incl. URL into the pom template.

looking forward to trying out your 1st set of pom files.

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
Le lun. 24 oct. 2011 21:17:42 CEST, Sven Gothel [via jogamp] a écrit :

> On Monday, October 24, 2011 09:10:22 PM reyman [via jogamp] wrote:
> >
> > After some research, perhaps we can try to use a maven archetype to
> generate
> > the folder to deploy.
> > (see
> >
> http://andyonsoftware.blogspot.com/2010/01/creating-custom-multi-module-maven.html)
>
> > We change the property file which contain information about version of
> > package, and after that we place the good package jar in the right
> > folder/place
>
> (see my prev. post)
>
> yes - the final deployment script can put all those release related
> information
> incl. URL into the pom template.
>
> looking forward to trying out your 1st set of pom files.
>
> ~Sven
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3449200.html 
>
> To unsubscribe from Problem with GLProfile and jogl2-rc2, click here
> <
>

I made two of four jar pom.xml,
but i'm not sure for dependency of jogl-all

Link of files :
http://www.filedropper.com/scriptjogltest 

Next files tomorrow :)
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
I create a temporary github repository with all pom.xml , jar file and a sh script to install on local maven repository :
https://github.com/reyman/scriptJogamp

Beta tester is welcome :)
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

Sven Gothel
Administrator
On Tuesday, October 25, 2011 10:07:26 AM reyman [via jogamp] wrote:
>
> I create a temporary github repository with all pom.xml , jar file and a sh
> script to install on local maven repository :
> https://github.com/reyman/scriptJogamp
>
> Beta tester is welcome :)

Thank you very much SR, I will let you know today or tomorrow.

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

gouessej
Administrator
In reply to this post by reyman
Hi

Thank you very much. Can you remove the backup files (with ~) please? Which artifact id do I have to use? Can I already use it in an existing project relying on Maven?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
Le mar. 25 oct. 2011 11:30:27 CEST, gouessej [via jogamp] a écrit :

> Hi
>
> Thank you very much. Can you remove the backup files (with ~) please?
> Which artifact id do I have to use?
> Julien Gouesse
> http://tuer.sourceforge.net
> http://gouessej.wordpress.com
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3450939.html 
>
> To unsubscribe from Problem with GLProfile and jogl2-rc2, click here
> <
>

I remove the backup file  :)
Artifact id equal for example for gluegen-rt :
<dependencies>
   <dependency>
<groupId>org.jogamp.gluegen</groupId>
<artifactId>gluegen-rt</artifactId>
<version>2.0-b424-20111018</version>
</dependency>
</dependencies>


Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
I make some BIG correction on script , and i take the time to test it on my machine, compilation it's now ok for me.

Other person test on a real project ?

The url on github is the same : git://github.com/reyman/scriptJogamp.git

The artifactID to add on your project :
        <dependency>
        <groupId>org.jogamp.jogl</groupId>
        <artifactId>jogl.all</artifactId>
        <version>2.0-b526-20111018</version>   
        </dependency>
        <dependency>
        <groupId>org.jogamp.gluegen</groupId>
        <artifactId>gluegen-rt</artifactId>
        <version>2.0-b424-20111018</version>
        </dependency>
    </dependencies> 


You need to force the search of dependency localy : mvn -o clean install

Next step : generalization of bash script to include tag number version ?
I wait for your advice on this :)
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

Sven Gothel
Administrator
On Wednesday, October 26, 2011 11:24:06 PM reyman [via jogamp] wrote:

>
> I make some BIG correction on script , and i take the time to test it on my
> machine, compilation it's now ok for me.
>
> Other person test on a real project ?
>
> The url on github is the same : git://github.com/reyman/scriptJogamp.git
>
> The artifactID to add on your project :
>         <dependency>
>         <groupId>org.jogamp.jogl</groupId>
>         <artifactId>jogl.all</artifactId>
>         <version>2.0-b526-20111018</version>    
>         </dependency>
>         <dependency>
>         <groupId>org.jogamp.gluegen</groupId>
>         <artifactId>gluegen-rt</artifactId>
>         <version>2.0-b424-20111018</version>
>         </dependency>
>     </dependencies>
>
>
> You need to force the search of dependency localy : mvn -o clean install
>
> Next step : generalization of bash script to include tag number version ?
> I wait for your advice on this :)

Sounds really awesome. Thank you!

Sorry, still refining the OS X port .. but will do it until Friday night for RC4.

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

gouessej
Administrator
In reply to this post by reyman
I tried to use it with Ardor3D which already supports Maven. I don't know what to do to force M2Eclipse to look at the dependency locally. I tried to modify the main pom file of Ardor3D, can you tell me where is your nexus server? Maybe TUER can be considered as a "real" project (about 200 weekly players on Chrome Web Store, source code reused in several universities).
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
Le jeu. 27 oct. 2011 10:59:02 CEST, gouessej [via jogamp] a écrit :

> I tried to use it with Ardor3D which already supports Maven. I don't
> know what to do to force M2Eclipse to look at the dependency locally.
> I tried to modify the main pom file of Ardor3D, can you tell me where
> is your nexus server? Maybe TUER can be considered as a "real" project
> (about 200 weekly players on Chrome Web Store, source code reused in
> several universities).
> Julien Gouesse
> http://tuer.sourceforge.net
> http://gouessej.wordpress.com
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3457095.html 
>
> To unsubscribe from Problem with GLProfile and jogl2-rc2, click here
> <
>

You need to redownload the file on git repository, because the last
version is bugged, mvn doesn't find the jar localy.
I have no nexus server here, but i can deploy file on a friend nexus
server if you want.
You need to compile with mvn -o clean install , to force maven to load
file on local repository
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
In reply to this post by gouessej
Le 27/10/2011 10:59, gouessej [via jogamp] a écrit :
I tried to use it with Ardor3D which already supports Maven. I don't know what to do to force M2Eclipse to look at the dependency locally. I tried to modify the main pom file of Ardor3D, can you tell me where is your nexus server? Maybe TUER can be considered as a "real" project (about 200 weekly players on Chrome Web Store, source code reused in several universities).


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3457095.html
To unsubscribe from Problem with GLProfile and jogl2-rc2, click here.
Finaly i upload  (it's slow with my connection) the artifact on nexus server here (for example) : 
http://maven.iscpif.fr/thirdparty/org/jogamp/gluegen/gluegen-rt/2.0-b424-20111018/gluegen-rt-2.0-b424-20111018.jar
 
The line to add on your project is :

       <repositories>
            <repository>
                <id>maven.iscpif.fr</id>
                <name>ISCPIF repository</name>
                <url>http://maven.iscpif.fr/public/</url>
             </repository>
       </repositories>

Can you tell me if you have some problem to download this file ?

Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

gouessej
Administrator
In reply to this post by reyman
I would like to test JOGL Maven integration in a real situation in Ardor3D. Please, if you have some time, could you put it onto a nexus server as you suggested? I'm not at home, I can give it a try tonight in about 10 hours. I would like to replace the old URL of java.dev.net by yours in order to validate the integration.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
Le jeu. 27 oct. 2011 11:41:48 CEST, gouessej [via jogamp] a écrit :

> I would like to test JOGL Maven integration in a real situation in
> Ardor3D. Please, if you have some time, could you put it onto a nexus
> server as you suggested? I'm not at home, I can give it a try tonight
> in about 10 hours. I would like to replace the old URL of java.dev.net
> by yours in order to validate the integration.
> Julien Gouesse
> http://tuer.sourceforge.net
> http://gouessej.wordpress.com
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3457165.html 
>
> To unsubscribe from Problem with GLProfile and jogl2-rc2, click here
> <
>

Upload is finish, you can try :)
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

gouessej
Administrator
Thank you so much :)
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
Le jeu. 27 oct. 2011 12:02:04 CEST, gouessej [via jogamp] a écrit :

> Thank you so much :)
> Julien Gouesse
> http://tuer.sourceforge.net
> http://gouessej.wordpress.com
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3457192.html 
>
> To unsubscribe from Problem with GLProfile and jogl2-rc2, click here
> <
>

Now it's time to have an automatic deployment on the jogamp nexus
server ? :]

1234