Skip to content
Browse files

Issue #248 update build.xml target to have proper manifest for jar, a…

…nd update to version 1.6 in compile target.
  • Loading branch information...
1 parent b9634b1 commit c5bb5355161c928680c27b834ac9b30577eaff08 @ricklon ricklon committed
Showing with 22 additions and 3 deletions.
  1. +22 −3 app/build.xml
View
25 app/build.xml
@@ -37,6 +37,7 @@
<echo message="override ${env.JAVA_HOME}/lib/tools.jar" />
<fail />
-->
+<!--
<javac target="1.5"
srcdir="src"
destdir="bin"
@@ -46,8 +47,26 @@
debug="true"
classpath="../core/core.jar; ${env.JAVA_HOME}/lib/tools.jar; lib/ant.jar; lib/ant-launcher.jar; lib/apple.jar; lib/ecj.jar; lib/jna.jar; lib/RXTXcomm.jar; lib/log4j-1.2.16.jar; lib/log4j.properties" />
</target>
-
- <target name="build" depends="compile" description="Build PDE">
- <jar basedir="bin" destfile="pde.jar" />
+ -->
+ <javac target="1.6"
+ source="1.6"
+ srcdir="src"
+ destdir="bin"
+ excludes="**/tools/format/**"
+ encoding="UTF-8"
+ includeAntRuntime="false"
+ debug="true"
+ classpath="../core/core.jar; ${env.JAVA_HOME}/lib/tools.jar; lib/ant.jar; lib/ant-launcher.jar; lib/apple.jar; lib/ecj.jar; lib/jna.jar; lib/RXTXcomm.jar; lib/log4j-1.2.16.jar; lib/log4j.properties" />
+ </target>
+
+<target name="build" depends="compile" description="Build PDE">
+ <jar basedir="bin" destfile="pde.jar" >
+ <manifest>
+ <attribute name="Built-By" value="Rick Anderson"/>
+ <attribute name="Main-Class" value="processing.app.Base"/>
+ <attribute name="Class-Path" value="RXTXcomm.jar core.jar ecj.jar jna.jar log4j-1.2.16.jar pde.jar"/>
+ </manifest>
+ </jar>
</target>
+
</project>

0 comments on commit c5bb535

Please sign in to comment.
Something went wrong with that request. Please try again.