diff options
Diffstat (limited to 'make')
-rwxr-xr-x | make/build.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index 430128e..82addd1 100755 --- a/make/build.xml +++ b/make/build.xml @@ -803,6 +803,49 @@ includes="${archive.name}/**" /> <!-- Clean up after ourselves --> <delete includeEmptyDirs="true" quiet="true" dir="${archive}" failonerror="false" /> + + + <target name="maven.install.artifact"> + <exec executable="mvn"> + <arg value="install:install-file"/> + <arg value="-DartifactId=${artifactId}"/> + <arg value="-DgroupId=org.jogamp"/> + <arg value="-Dfile=../build/${artifactFileName}"/> + <arg value="-Dversion=${gluegen_base_version}"/> + <arg value="-Dpackaging=jar"/> + <arg value="-DgeneratePom=true"/> + <arg value="-DcreateChecksum=true" /> + <arg value="${platformSpecificClassifier}"/> + </exec> + </target> + + <target name="maven.install" depends="init, gluegen.build"> + <antcall target="maven.install.artifact" inheritall="true"> + <param name="artifactId" value="gluegen"/> + <param name="artifactFileName" value="gluegen.jar"/> + <param name="platformSpecificClassifier" value=""/> + </antcall> + <antcall target="maven.install.artifact" inheritall="true"> + <param name="artifactId" value="gluegen-rt"/> + <param name="artifactFileName" value="gluegen-rt.jar"/> + <param name="platformSpecificClassifier" value=""/> + </antcall> + <antcall target="maven.install.artifact" inheritall="true"> + <param name="artifactId" value="gluegen-rt-cdc"/> + <param name="artifactFileName" value="gluegen-rt-cdc.jar"/> + <param name="platformSpecificClassifier" value=""/> + </antcall> + <antcall target="maven.install.artifact" inheritall="true"> + <param name="artifactId" value="gluegen-rt-natives"/> + <param name="artifactFileName" value="gluegen-rt-natives-${os.and.arch}.jar"/> + <param name="platformSpecificClassifier" value="-Dclassifier=${os.and.arch}"/> + </antcall> + <antcall target="maven.install.artifact" inheritall="true"> + <param name="artifactId" value="gluegen-rt-natives-cdc"/> + <param name="artifactFileName" value="gluegen-rt-natives-${os.and.arch}-cdc.jar"/> + <param name="platformSpecificClassifier" value="-Dclassifier=${os.and.arch}"/> + </antcall> + </target> </project> |