aboutsummaryrefslogtreecommitdiffstats
path: root/webstart
diff options
context:
space:
mode:
authorendolf <[email protected]>2006-10-29 20:10:15 +0000
committerendolf <[email protected]>2006-10-29 20:10:15 +0000
commite24761bc13468cdffa7a962e40203b8865175934 (patch)
treec57c72d28c13e853ee8427228b0edff65458bef5 /webstart
parent77fbf9b397ed3aaa1a46ea48f2efdb47c6618b95 (diff)
Updates for webstart scripts
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@169 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'webstart')
-rw-r--r--webstart/build.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/webstart/build.xml b/webstart/build.xml
new file mode 100644
index 0000000..125c5e3
--- /dev/null
+++ b/webstart/build.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+
+<project name="JInput webstart" basedir="." default="webstart">
+
+ <target name="webstart" depends="clean,sign">
+ </target>
+
+ <target name="clean">
+ <delete dir="dist" failonerror="true"/>
+ </target>
+
+ <target name="init">
+ <mkdir dir="dist"/>
+ </target>
+
+ <target name="buildnatives" depends="init">
+ <jar destfile="dist/jinput-windows-native.jar"
+ basedir="../dist/" includes="jinput-dx8.dll, jinput-raw.dll, jinput-wintab.dll"/>
+ <jar destfile="dist/jinput-linux-native.jar"
+ basedir="../dist/" includes="libjinput-linux.so"/>
+ <jar destfile="dist/jinput-osx-native.jar"
+ basedir="../dist/" includes="libjinput-osx.jnilib"/>
+ </target>
+
+ <target name="sign" depends="buildnatives">
+ <copy todir="dist" file="../dist/jinput.jar" />
+ <copy todir="dist" file="../dist/jinput-test.jar" />
+ <copy todir="dist" file="jinput.jnlp"/>
+ <copy todir="dist" file="jinput-wintab.jnlp"/>
+
+ <input message="Input keystore alias: " addproperty="keystoreAlias"/>
+ <input message="Input keystore password: " addproperty="keystorePassword"/>
+ <signjar alias="${keystoreAlias}" keystore="myKeyStore" storepass="${keystorePassword}" verbose="true">
+ <fileset dir="dist">
+ <include name="**/*.jar"/>
+ </fileset>
+ </signjar>
+ </target>
+
+</project> \ No newline at end of file