Dolda2000 GitWeb
/
kaka
/
cakelight.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
01ee91e
)
Made separate jar task
author
Tomas Wenström
<tomas.wenstrom@gmail.com>
Sat, 22 Apr 2017 16:37:25 +0000
(18:37 +0200)
committer
Tomas Wenström
<tomas.wenstrom@gmail.com>
Sat, 22 Apr 2017 16:37:25 +0000
(18:37 +0200)
build.xml
patch
|
blob
|
blame
|
history
diff --git
a/build.xml
b/build.xml
index
a0d21ec
..
3802cff
100644
(file)
--- a/
build.xml
+++ b/
build.xml
@@
-3,7
+3,6
@@
<property file="config.properties"/>
<property file="config.properties"/>
- <property name="jdk.home.1.8" value="/usr/lib/jvm/java-8-openjdk-amd64" />
<!-- Uncomment the following property if no tests compilation is needed -->
<!--
<property name="skip.tests" value="true"/>
<!-- Uncomment the following property if no tests compilation is needed -->
<!--
<property name="skip.tests" value="true"/>
@@
-176,11
+175,14
@@
<type type="file"/>
</fileset>
</copy>
<type type="file"/>
</fileset>
</copy>
+ </target>
+ <target name="jar" description="Builds a jar file">
+ <delete file="${cakelight.output.dir}/cakelight.jar"/>
<jar destfile="${cakelight.output.dir}/cakelight.jar">
<fileset dir="${cakelight.output.dir}" />
<!-- TODO replace hard links -->
<jar destfile="${cakelight.output.dir}/cakelight.jar">
<fileset dir="${cakelight.output.dir}" />
<!-- TODO replace hard links -->
- <zipfileset includes="**/*.class" src="
${module.cakelight.basedir}/lib/pi4j
/pi4j-core.jar" />
+ <zipfileset includes="**/*.class" src="
/opt/pi4j/lib
/pi4j-core.jar" />
<zipfileset includes="**/*.class" src="/usr/share/java/opencv.jar" />
<manifest>
<attribute name="Main-Class" value="kaka.cakelight.LedController" />
<zipfileset includes="**/*.class" src="/usr/share/java/opencv.jar" />
<manifest>
<attribute name="Main-Class" value="kaka.cakelight.LedController" />
@@
-201,7
+203,7
@@
<target name="clean" depends="clean.module.cakelight" description="cleanup all"/>
<target name="clean" depends="clean.module.cakelight" description="cleanup all"/>
- <target name="build.modules" depends="init, clean, compile.module.cakelight" description="build all modules"/>
+ <target name="build.modules" depends="init, clean, compile.module.cakelight
, jar
" description="build all modules"/>
<target name="all" depends="build.modules" description="build all"/>
</project>
\ No newline at end of file
<target name="all" depends="build.modules" description="build all"/>
</project>
\ No newline at end of file