File: build.xml

package info (click to toggle)
jinput 20100502+dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,192 kB
  • ctags: 3,159
  • sloc: java: 9,641; xml: 1,026; ansic: 922; awk: 34; makefile: 32; sh: 11
file content (40 lines) | stat: -rw-r--r-- 1,344 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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, jinput-dx8_64.dll, jinput-raw_64.dll"/>
		<jar destfile="dist/jinput-linux-native.jar"
			 basedir="../dist/" includes="libjinput-linux.so, libjinput-linux64.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>