aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-08-11 22:12:43 +0200
committerMichael Bien <[email protected]>2011-08-11 22:12:43 +0200
commit738e5deb690f2561b14eec2b19815cc412652201 (patch)
tree3454c8a1706e4de737b9a5c12e71e52a496cfa3e
parent1fcadc202efc2819546ac220ea12220f0501bafe (diff)
namespace for native libs to enable cp libloading
-rw-r--r--build.xml14
1 files changed, 5 insertions, 9 deletions
diff --git a/build.xml b/build.xml
index bb247902..dcd4279a 100644
--- a/build.xml
+++ b/build.xml
@@ -311,12 +311,6 @@
<fileset dir="${dist.dir}" includes="*.properties"/>
</copy>
- <!-- native files, TODO: remove when no longer needed -->
- <copy todir="${dist.dir}/tmp/${dist.zip.name}/lib" failonerror="false">
- <fileset dir="${basedir}/${rootrel.build}/natives/jocl" excludes="*.xml"/>
- <fileset dir="${jogl.root}/${rootrel.build}/lib" excludes="*.xml"/>
- </copy>
-
<!-- zip/7z it -->
<zip basedir="${dist.dir}/tmp" destfile="${dist.dir}/${dist.zip.name}.zip"/>
<!--archive.7z basedir="${dist.dir}/tmp" destfile="${dist.dir}/${dist.zip.name}.7z" includes="*"/-->
@@ -334,11 +328,13 @@
</target>
<target name="jar.natives" unless="c.dont.compile">
-
- <jar basedir="${natives.jocl.dir}/${namespace}" excludes="*.xml"
+ <mkdir dir="${natives.jocl.dir}/${namespace}/${os.and.arch}"/>
+ <copy todir="${natives.jocl.dir}/${namespace}/${os.and.arch}">
+ <fileset dir="${natives.jocl.dir}/${namespace}" includes="*jocl*" excludes="*.xml"/>
+ </copy>
+ <jar basedir="${natives.jocl.dir}/${namespace}" includes="${os.and.arch}/*" excludes="*.xml"
destfile="${dist.jar.dir}/jocl-natives-${os.and.arch}.jar"
manifest="${rootrel.build}/manifest.mf" />
-
</target>