<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1281</bug_id>
          
          <creation_ts>2016-01-07 15:35:20 +0100</creation_ts>
          <short_desc>jogl-demos pom.xml points to incorrect artifactId 2.0-rc11post03</short_desc>
          <delta_ts>2016-02-16 20:01:36 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>General</product>
          <component>builds</component>
          <version>tbd</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Phil Jordan">p.j.nz</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gouessej</cc>
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5507</commentid>
    <comment_count>0</comment_count>
    <who name="Phil Jordan">p.j.nz</who>
    <bug_when>2016-01-07 15:35:20 +0100</bug_when>
    <thetext>If I clone this in eclipse:
https://github.com/sgothel/jogl-demos.git

Which I presume should work out of the box.

I get error on each pom.xml for core and desktop 

&lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.jogamp.jogl&lt;/groupId&gt;
      &lt;artifactId&gt;jogl-all&lt;/artifactId&gt;
      &lt;version&gt;2.0-rc11post03&lt;/version&gt;
    &lt;/dependency&gt;
&lt;/dependencies&gt;

I can only find 2.0-rc11 and 2.0.2-rc12 on Maven 
Gluegen-rt-android and jogl-all-android only have 2.0.2-rc12 so changing all to that fixes the problem

E.g. in jpda-android/pom.xml I set it to this:

&lt;dependency&gt;
      &lt;groupId&gt;org.jogamp.gluegen&lt;/groupId&gt;
      &lt;artifactId&gt;gluegen-rt-android&lt;/artifactId&gt;
      &lt;version&gt;2.0.2-rc12&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;!-- Depend on the correct natives for Android --&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.jogamp.gluegen&lt;/groupId&gt;
      &lt;artifactId&gt;gluegen-rt&lt;/artifactId&gt;
      &lt;version&gt;2.0.2-rc12&lt;/version&gt;
      &lt;classifier&gt;natives-android-armv6&lt;/classifier&gt;
    &lt;/dependency&gt;
    &lt;!-- Depend on the jogl Android package --&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.jogamp.jogl&lt;/groupId&gt;
      &lt;artifactId&gt;jogl-all-android&lt;/artifactId&gt;
      &lt;version&gt;2.0.2-rc12&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;!-- Depend on the correct natives for Android --&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.jogamp.jogl&lt;/groupId&gt;
      &lt;artifactId&gt;jogl-all&lt;/artifactId&gt;
      &lt;version&gt;2.0.2-rc12&lt;/version&gt;
      &lt;classifier&gt;natives-android-armv6&lt;/classifier&gt;
      &lt;scope&gt;runtime&lt;/scope&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;

and it appears to work


Also jp4da-desktop has source folders set 
    src/main/resources
    src/test/resources

that don&apos;t appear to exist

Finally all the imports use the older package com.jogamp.opengl.* and need to be swapped to javax.media.opengl.*


Note I&apos;m just learning this in eclipse so in jp4da-android I&apos;m left with a final apk packaging error and plugin error I&apos;m not fussed about at this stage</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5508</commentid>
    <comment_count>1</comment_count>
    <who name="Phil Jordan">p.j.nz</who>
    <bug_when>2016-01-07 21:19:33 +0100</bug_when>
    <thetext>I note that I&apos;ve put the package names to the older version, so if fact I presume the artifactId should be version 2.3.2 or something and the packages would be correct out of the box</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5532</commentid>
    <comment_count>2</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2016-02-16 20:01:36 +0100</bug_when>
    <thetext>The problem comes from this line:
https://github.com/sgothel/jogl-demos/blob/master/maven/jp4da/jp4da-desktop/pom.xml#L37</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>