aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorendolf <[email protected]>2003-08-05 08:04:18 +0000
committerendolf <[email protected]>2003-08-05 08:04:18 +0000
commit2b846524dbb5bfcc13499aa830960a0e1996f53d (patch)
tree7f8254e3ce764b709b95d7974667fd2c0f8211f1 /build.xml
parente9c351addf4696ba631cf9a7c51f2c3954f612f6 (diff)
Changed controller.jar to jinput.jar as per
http://www.JavaGaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jinput;action=display;num=1059866464 git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@28 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 41ceb45..51ca800 100644
--- a/build.xml
+++ b/build.xml
@@ -24,6 +24,11 @@
<os family="windows" />
</condition>
+ <!-- If we are running in linux, set linux property to true -->
+ <condition property="linux" >
+ <!--<os family="unix" />-->
+ <os name="linux" />
+ </condition>
</target>
<target name="core" depends="init">
@@ -40,15 +45,23 @@
<ant dir="plugins/DX8" />
</target>
+ <target name="linux_plugin" depends="core" if="linux" >
+ <!-- Both srcdir and destdir should be package roots. -->
+ <!-- They could be different of course; in that case NetBeans can also be set -->
+ <!-- up to compile to a different filesystem in the same way; see Compiler Types: -->
+ <ant dir="plugins/linux" />
+ </target>
+
<target name="javadoc" depends="init">
<!-- Both srcdir and destdir should be package roots. -->
<!-- They could be different of course; in that case NetBeans can also be set -->
<!-- up to compile to a different filesystem in the same way; see Compiler Types: -->
<ant dir="coreAPI" target="javadoc"/>
<ant dir="plugins/DX8" target="javadoc"/>
+ <ant dir="plugins/linux" target="javadoc"/>
</target>
- <target name="compile" depends="core,windows_plugin" />
+ <target name="compile" depends="core,windows_plugin,linux_plugin" />
<target name="all" depends="init,compile" description="Build everything.">
<echo message="Application built. Hello ${hello}!"/>
@@ -56,6 +69,7 @@
<target name="clean" depends="init" description="Clean all build products.">
<ant dir="plugins/DX8" target="clean"/>
+ <ant dir="plugins/linux" target="clean"/>
<ant dir="coreAPI" target="clean"/>
</target>