Skip to content

Commit

Permalink
Bug 1145 - Provide JogAmp Big Fat Jars and Fat 7z Archive
Browse files Browse the repository at this point in the history
New distributed files in 'dist' subfolder for producing fat files via jogamp-scripting:

dist/jogamp-fat.mf
dist/jogamp-test-fat.mf
dist/junit.jar
  • Loading branch information
sgothel committed Jul 29, 2015
1 parent b0582c8 commit 0240a71
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 3 deletions.
41 changes: 38 additions & 3 deletions make/build.xml
Expand Up @@ -789,6 +789,32 @@
</filterset>
</copy>

<copy file="jogamp-fat.mf"
tofile="${build}/jogamp-fat.mf"
overwrite="true">
<filterset>
<filter token="VERSION" value="${jogamp.version}"/>
<filter token="BUILD_VERSION" value="${gluegen.version}"/>
<filter token="SCM_BRANCH" value="${gluegen.build.branch}"/>
<filter token="SCM_COMMIT" value="${gluegen.build.commit}"/>
<filter token="BASEVERSION" value="${jogamp.version.base}"/>
<filter token="JAR_CODEBASE_TAG" value="${jogamp.jar.codebase}"/>
</filterset>
</copy>

<copy file="jogamp-fat-test.mf"
tofile="${build}/jogamp-fat-test.mf"
overwrite="true">
<filterset>
<filter token="VERSION" value="${jogamp.version}"/>
<filter token="BUILD_VERSION" value="${gluegen.version}"/>
<filter token="SCM_BRANCH" value="${gluegen.build.branch}"/>
<filter token="SCM_COMMIT" value="${gluegen.build.commit}"/>
<filter token="BASEVERSION" value="${jogamp.version.base}"/>
<filter token="JAR_CODEBASE_TAG" value="${jogamp.jar.codebase}"/>
</filterset>
</copy>

<!-- copy file="Manifest-rt-alt"
tofile="${build}/Manifest-rt-alt.temp"
overwrite="true">
Expand Down Expand Up @@ -1075,8 +1101,11 @@
<target name="developer-zip-archive" depends="init,developer-src-zip" if="build.archiveon">
<delete includeEmptyDirs="true" quiet="true" dir="${archive}" failonerror="false" />
<mkdir dir="${archive}" />
<copy file="${build}/artifact.properties" todir="${archive}"/>
<copy file="../LICENSE.txt" todir="${archive}" />
<copy todir="${archive}">
<fileset dir=".." includes="LICENSE.txt"/>
<fileset dir="${build}" includes="artifact.properties"/>
<fileset dir="${build}" includes="gluegen-java-src.zip"/>
</copy>
<mkdir dir="${archive}/jar" />
<copy todir="${archive}/jar">
<fileset dir="${build}" includes="gluegen*.jar"/>
Expand All @@ -1090,7 +1119,13 @@
<copy todir="${archive}/jnlp-files">
<fileset dir="${project.root}/jnlp-files" includes="*" />
</copy>
<copy todir="${archive}" file="${build}/gluegen-java-src.zip"/>
<mkdir dir="${archive}/dist" />
<copy todir="${archive}/dist">
<fileset dir="${build}" includes="jogamp-fat.mf"/>
<fileset dir="${build}" includes="jogamp-fat-test.mf"/>
<fileset dir="lib" includes="junit.jar"/>
</copy>

<archive.7z destfile="${build}/${archive.name}.7z"
basedir="${build}"
includes="${archive.name}/**" />
Expand Down
19 changes: 19 additions & 0 deletions make/jogamp-fat-test.mf
@@ -0,0 +1,19 @@
Manifest-Version: 1.0
Application-Name: JogAmp Java Bindings Test
Specification-Title: JogAmp Java Bindings Specification Test
Specification-Version: @BASEVERSION@
Specification-Vendor: JogAmp Community
Implementation-Title: JogAmp Java Bindings Fat Test Jar
Implementation-Version: @VERSION@
Implementation-Build: @BUILD_VERSION@
Implementation-Branch: @SCM_BRANCH@
Implementation-Commit: @SCM_COMMIT@
Implementation-Vendor: JogAmp Community
Implementation-URL: http://jogamp.org/
Extension-Name: com.jogamp
Implementation-Vendor-Id: com.jogamp
Trusted-Library: true
Permissions: all-permissions
Application-Library-Allowable-Codebase: *
@JAR_CODEBASE_TAG@

25 changes: 25 additions & 0 deletions make/jogamp-fat.mf
@@ -0,0 +1,25 @@
Manifest-Version: 1.0
Application-Name: JogAmp Java Bindings
Specification-Title: JogAmp Java Bindings Specification
Specification-Version: @BASEVERSION@
Specification-Vendor: JogAmp Community
Implementation-Title: JogAmp Java Bindings Fat Jar
Implementation-Version: @VERSION@
Implementation-Build: @BUILD_VERSION@
Implementation-Branch: @SCM_BRANCH@
Implementation-Commit: @SCM_COMMIT@
Implementation-Vendor: JogAmp Community
Implementation-URL: http://jogamp.org/
Extension-Name: com.jogamp
Implementation-Vendor-Id: com.jogamp
Trusted-Library: true
Permissions: all-permissions
Application-Library-Allowable-Codebase: *
@JAR_CODEBASE_TAG@

Name: jogamp/common/
Sealed: true

Name: com/jogamp/common/
Sealed: true

0 comments on commit 0240a71

Please sign in to comment.