Browse Source

Merge pull request #438 from neph1/fix_266

propose to fix #266 by moving installed jar
Rickard Edén 2 years ago
parent
commit
a920c9c5ec

+ 1 - 1
build.gradle

@@ -318,7 +318,7 @@ task copyProjectLibs(dependsOn: [configurations.corelibs, configurations.testdat
             if(isJmeDep(dep.name)){
                 copy {
                     from dep
-                    into "jme3-project-testdata/release/libs/"
+                    into "jme3-project-testdata/release/modules/ext/"
                     rename ("jme3-testdata(.*)", "jme3-testdata.jar")
                 }
             }

+ 4 - 0
jme3-project-testdata/nbproject/project.xml

@@ -7,6 +7,10 @@
             <suite-component/>
             <module-dependencies/>
             <public-packages/>
+            <class-path-extension>
+                <runtime-relative-path>ext/jme3-testdata.jar</runtime-relative-path>
+                <binary-origin>release/modules/ext/jme3-testdata.jar</binary-origin>
+            </class-path-extension>
         </data>
     </configuration>
 </project>

+ 1 - 1
jme3-project-testdata/src/com/jme3/gde/project/testdata/jme3-test-data.xml

@@ -10,7 +10,7 @@ and open the template in the editor.
     <localizing-bundle>com.jme3.gde.project.testdata.Bundle</localizing-bundle>
     <volume>
         <type>classpath</type>
-        <resource>jar:nbinst://com.jme3.gde.project.testdata/libs/jme3-testdata.jar!/</resource>
+        <resource>jar:nbinst://com.jme3.gde.project.testdata/release/modules/ext/jme3-testdata.jar!/</resource>
     </volume>
     <volume>
         <type>src</type>