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

gouessej
Administrator
There is a difference between a Maven dependency and a JAR in the class path for Eclipse. I will give it another try. I just want to avoid copying the JARs into the Eclipse project by using Maven but Eclipse has to put these Maven dependencies into the class path.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
In reply to this post by Sven Gothel
Le 01/11/2011 16:34, Sven Gothel [via jogamp] a écrit :
On Tuesday, November 01, 2011 04:21:24 PM reyman [via jogamp] wrote:
>
> No problem, i'm ready and ok to integrate the generation of the pom in your
> deploiement script :)
>
> But at this time the simple example of jar we deploy on maven.iscpif.Fr
> doesn't work because the jar in the archive contain the both the version and
> the arch in his name, for example we have jogl-natives-amd64-2.xx.xx.jar

the version can be encoded in the URL,
ie where we drop/deploy the JARs on jogamp.org (or wherever).

>
> The loader you create doesn't find the jar in our assembly jar, so we cannot
> continue without your help on this problem :)

ofc I like to to change as little as possible in our current deployment scheme,
however .. if it's required.

Please point me to the latest version of your desired maven files
you like to see integrated.
This way I can understand the issue a bit better and maybe we can find a compromise.
Looks like there are 'runtime' maven dependencies/issues besides the 'compile time'
dependencies ?

Thank you.

~Sven

>
> Gouessej suggest you modify the loader of jar; like this :
> " Maybe the automatic loader could be modified so that it looks for the
> Mavenized JARs as it knows its own version of JOGL. Then, installing a
> project as a Maven project in Eclipse would be quite simple.
> com.jogamp.common.util.JogampVersion knows the implementation branch and the
> implementation commit, it should compute the name of a Mavenized JAR and
> look at it if jogl.all.jar is not found."
>



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-tp3447491p3471007.html
To unsubscribe from Problem with GLProfile and jogl2-rc2, click here.
Hi Sven !
Any news about the runtime problem on your side ?
Do you try the maven file with sucess or do you have the same problem for loading native jar ?
Thx
Sebastien R.
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

Nikos132
Hello,

I'm jumping in RC5 and still have a problem with the layout requested by GLProfile to get native librairies...

I must set a version which is not looked for in the loading mechanism...

Since I'm working "offline" with a mirroring nexus server I can't do whatever I want with the naming convention of jar in Maven

Did you solved the problem in any way or should I trap the error, and go my way with -Djava.library.path ?

Thanks for any help.
Reply | Threaded
Open this post in threaded view
|

Re: Problem with GLProfile and jogl2-rc2

reyman
Le mer. 04 avril 2012 10:08:59 CEST, Nikos132 [via jogamp] a écrit :

> Hello,
>
> I'm jumping in RC5 and still have a problem with the layout requested
> by GLProfile to get native librairies...
>
> I must set a version which is not looked for in the loading mechanism...
>
> Since I'm working "offline" with a mirroring nexus server I can't do
> whatever I want with the naming convention of jar in Maven
>
> Did you solved the problem in any way or should I trap the error, and
> go my way with -Djava.library.path ?
>
> Thanks for any help.
>
> ------------------------------------------------------------------------
> 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-tp3447491p3883466.html
>
> To unsubscribe from Problem with GLProfile and jogl2-rc2, click here
> <
> NAML
> <
http://forum.jogamp.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>

You can try to use the script i make here
(https://github.com/reyman/scriptJogamp).

There is some instruction to use here :
http://forum.jogamp.org/JogAmp-Release-Candidate-v2-0-rc5-tc3599114.html

After that, because of the loader need specific namming to load jar, i
think you need to use -Djava.library.path after all .. :/ I have no
news of sven about this probleme since lot of day
1234