[SCM] jinput - Java Game Controller API branch, upstream, updated. upstream/20100502+dfsg
Gabriele Giacone
gg0-guest at alioth.debian.org
Sun May 2 17:44:18 UTC 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "jinput - Java Game Controller API".
The branch, upstream has been updated
via 9a0edc54a739b25586c39ba3f19cba03ee0f8df8 (commit)
from e5562f1a4974f959539065004e4540ccd608d689 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
build.xml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 61 insertions(+), 1 deletions(-)
diff --git a/build.xml b/build.xml
index 0d7898f..c74489e 100644
--- a/build.xml
+++ b/build.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<project name="Sun Games Initiative Client Technologies" basedir="." default="all">
+<project name="Sun Games Initiative Client Technologies" basedir="." default="all" xmlns:artifact="urn:maven-artifact-ant">
<target name="init">
<!-- If we are running in windows, set dx8 property to true -->
<condition property="windows" >
@@ -237,4 +237,64 @@
</tarfileset>
</tar>
</target>
+
+ <target name="install" description="Installs jinput in to local mvn repo">
+ <path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks-2.1.0.jar" />
+ <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant"
+ classpathref="maven-ant-tasks.classpath"/>
+
+ <artifact:pom id="jinputpom" groupId="net.java.games" artifactId="jinput" version="2.0.2-SNAPSHOT">
+ </artifact:pom>
+ <artifact:writepom pomRefId="jinputpom" file="dist/pom.xml"/>
+
+ <artifact:pom id="jinputpomfile" file="dist/pom.xml" />
+
+ <delete file="dist/jinput-windows-natives.zip"/>
+ <zip destfile="dist/jinput-windows-natives.zip">
+ <fileset dir="dist/">
+ <include name="**/*.dll"/>
+ </fileset>
+ </zip>
+
+ <delete file="dist/jinput-linux-natives.zip"/>
+ <zip destfile="dist/jinput-linux-natives.zip">
+ <fileset dir="dist/">
+ <include name="**/*.so"/>
+ </fileset>
+ </zip>
+
+ <delete file="dist/jinput-osx-natives.jar"/>
+ <zip destfile="dist/jinput-osx-natives.zip" >
+ <fileset dir="dist/">
+ <include name="**/*.jnilib"/>
+ </fileset>
+ </zip>
+
+ <artifact:install file="dist/jinput.jar">
+ <pom refid="jinputpomfile" />
+ <attach file="dist/jinput-windows-natives.zip" classifier="windows-natives" type="zip"/>
+ <attach file="dist/jinput-linux-natives.zip" classifier="linux-natives" type="zip"/>
+ <attach file="dist/jinput-osx-natives.zip" classifier="osx-natives" type="zip"/>
+ </artifact:install>
+ </target>
+
+ <target name="mvndeploy" depends="install" description="Installs jinput in to local mvn repo">
+ <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-2"/>
+
+ <artifact:pom id="jinputpom" groupId="net.java.games" artifactId="jinput" version="2.0.1">
+ </artifact:pom>
+ <artifact:writepom pomRefId="jinputpom" file="dist/pom.xml"/>
+
+ <artifact:pom id="jinputpomfile" file="dist/pom.xml" />
+
+ <artifact:deploy file="dist/jinput.jar">
+ <remoteRepository url="${repository.url}">
+ <authentication username="${repository.username}" password="${repository.password}"/>
+ </remoteRepository>
+ <pom refid="jinputpomfile" />
+ <attach file="dist/jinput-windows-natives.zip" classifier="windows-natives" type="zip"/>
+ <attach file="dist/jinput-linux-natives.zip" classifier="linux-natives" type="zip"/>
+ <attach file="dist/jinput-osx-natives.zip" classifier="osx-natives" type="zip"/>
+ </artifact:deploy>
+ </target>
</project>
hooks/post-receive
--
jinput - Java Game Controller API
More information about the pkg-java-commits
mailing list