aboutsummaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorEvgeniy Tsvigun <[email protected]>2010-09-10 16:15:59 +0400
committerMichael Bien <[email protected]>2010-11-18 00:31:43 +0100
commit9018a434338b01fb8d23797c4b9cdcd235da708d (patch)
tree77c54c8d7542b0a5fb1453ca7f675629399986d2 /make/build.xml
parent8c6de21bc52b825788fc6290e0dbb50e6707d31c (diff)
"maven.install" target added to build
Diffstat (limited to 'make/build.xml')
-rwxr-xr-xmake/build.xml43
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>