diff options
author | Michael Bien <[email protected]> | 2011-08-11 22:12:43 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2011-08-11 22:12:43 +0200 |
commit | 738e5deb690f2561b14eec2b19815cc412652201 (patch) | |
tree | 3454c8a1706e4de737b9a5c12e71e52a496cfa3e | |
parent | 1fcadc202efc2819546ac220ea12220f0501bafe (diff) |
namespace for native libs to enable cp libloading
-rw-r--r-- | build.xml | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -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> |