Bugfix - use pause flag
[kaka/cakelight.git] / build.xml
index 3802cff..67547df 100644 (file)
--- a/build.xml
+++ b/build.xml
       <patternset refid="library.patterns"/>
     </fileset>
   </path>
-  
+
+  <path id="library.jnativehook.classpath">
+    <pathelement location="${basedir}/lib/jnativehook-2.1.0.jar"/>
+  </path>
+
   <!-- Modules -->
   
   
     <path refid="${module.jdk.classpath.cakelight}"/>
     <path refid="library.opencv.classpath"/>
     <path refid="library.pi4j.classpath"/>
+    <path refid="library.jnativehook.classpath"/>
   </path>
   
   <path id="cakelight.runtime.production.module.classpath">
     <pathelement location="${cakelight.output.dir}"/>
     <path refid="library.opencv.classpath"/>
     <path refid="library.pi4j.classpath"/>
+    <path refid="library.jnativehook.classpath"/>
   </path>
   
   <path id="cakelight.module.classpath">
     <pathelement location="${cakelight.output.dir}"/>
     <path refid="library.opencv.classpath"/>
     <path refid="library.pi4j.classpath"/>
+    <path refid="library.jnativehook.classpath"/>
   </path>
   
   <path id="cakelight.runtime.module.classpath">
     <pathelement location="${cakelight.output.dir}"/>
     <path refid="library.opencv.classpath"/>
     <path refid="library.pi4j.classpath"/>
+    <path refid="library.jnativehook.classpath"/>
   </path>
   
   
       <!-- TODO replace hard links -->
       <zipfileset includes="**/*.class" src="/opt/pi4j/lib/pi4j-core.jar" />
       <zipfileset includes="**/*.class" src="/usr/share/java/opencv.jar" />
+      <zipfileset includes="**/*.class" src="${module.cakelight.basedir}/lib/jnativehook-2.1.0.jar" />
       <manifest>
         <attribute name="Main-Class" value="kaka.cakelight.LedController" />
       </manifest>
   <target name="build.modules" depends="init, clean, compile.module.cakelight, jar" description="build all modules"/>
   
   <target name="all" depends="build.modules" description="build all"/>
+
+  <target name="build" depends="compile.module.cakelight" description="build cakelight"/>
 </project>
\ No newline at end of file