Skip to content

Commit b73f9dd

Browse files
committed
deal with .class signing conflicts and use JDT .jar files for compilation
1 parent e53c4ad commit b73f9dd

9 files changed

Lines changed: 33 additions & 11 deletions

File tree

build/build.xml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
<property name="jdk.update" value="72" />
3939
<property name="jdk.build" value="14" />
4040
-->
41-
<!-- Switching to 8 because updates end April 2015 -->
41+
<!-- Switching to 8 because updates for 7 end April 2015 -->
4242
<property name="jdk.version" value="8" />
43-
<property name="jdk.update" value="25" />
44-
<property name="jdk.build" value="17" />
43+
<property name="jdk.update" value="31" />
44+
<property name="jdk.build" value="13" />
4545
<property name="jdk.stuff" value="${jdk.version}u${jdk.update}" />
4646
<property name="jdk.esoteric" value="1.${jdk.version}.0_${jdk.update}" />
4747

@@ -54,10 +54,23 @@
5454
value="jre-${jdk.stuff}-${platform}-x64.tar.gz">
5555
<equals arg1="${sun.arch.data.model}" arg2="64" />
5656
</condition>
57+
58+
<!-- for the new one that uses the special getter -->
59+
<condition property="jre.download"
60+
value="${jdk.stuff}-${platform}-i586.tar.gz">
61+
<equals arg1="${sun.arch.data.model}" arg2="32" />
62+
</condition>
63+
<condition property="jre.download"
64+
value="${jdk.stuff}-${platform}-x64.tar.gz">
65+
<equals arg1="${sun.arch.data.model}" arg2="64" />
66+
</condition>
67+
5768
<!-- JDK location for Mac OS X -->
69+
<!--
5870
<condition property="jdk.file" value="jdk-${jdk.stuff}-macosx-x64.dmg">
5971
<equals arg1="${platform}" arg2="macosx" />
6072
</condition>
73+
-->
6174

6275
<fileset dir="windows/work/java" id="jre-optional-windows">
6376
<include name="lib/ext/dnsns.jar" />
@@ -183,7 +196,7 @@
183196
<available file="${jdk.path.macosx}" property="macosx_jdk_found" />
184197

185198
<fail if="macosx" unless="macosx_jdk_found"
186-
message="JDK ${jdk.stuff} required.${line.separator}To build on OS X, you must install Oracle's JDK ${jdk.stuff} from${line.separator}http://www.oracle.com/technetwork/java/javase/downloads${line.separator}or http://download.processing.org/java/${jdk.file}${line.separator}Note that only ${jdk.stuff} (not a later or earlier version) will work. ${line.separator}And it must be the JDK, not the JRE. And do not try to defy me again." />
199+
message="JDK ${jdk.stuff} required.${line.separator}To build on OS X, you must install Oracle's JDK ${jdk.stuff} from${line.separator}http://www.oracle.com/technetwork/java/javase/downloads${line.separator}Note that only ${jdk.stuff} (not a later or earlier version) will work. ${line.separator}And it must be the JDK, not the JRE. And do not try to defy me again." />
187200
<!--
188201
<fail if="linux" unless="java_tools_found"
189202
message="The JAVA_HOME variable must be set to the location of a full JDK. For instance, on Ubuntu Linux, this might be /usr/lib/jvm/java-6-sun." />

build/shared/tools/MovieMaker/build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
classpath="../../../../app/bin"
1818
nowarn="true"
1919
compiler="org.eclipse.jdt.core.JDTCompilerAdapter">
20-
<compilerclasspath path="../../../../java/mode/ecj.jar" />
20+
<compilerclasspath path="../../../../java/mode/org.eclipse.jdt.core.jar;
21+
../../../../java/mode/jdtCompilerAdapter.jar" />
2122
</javac>
2223
</target>
2324

core/todo.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
s0233 (3.0a6)
1+
0233 (3.0a6)
22
X remove Applet as base class
33
X how to name the retina pixel stuff
44
X hint(ENABLE_RETINA_PIXELS) or hint(ENABLE_HIDPI_PIXELS)
55
X hint(ENABLE_2X_PIXELS)?
66
X hidpi is Apple's name as well
77
X mostly getting away from this
88

9+
_ textAlign(RIGHT) including spaces at the end of each line
10+
_ https://github.com/processing/processing/issues/3028
11+
912
earlier
1013
X size(640,360 , P3D) doesn't work properly
1114
X https://github.com/processing/processing/issues/2924

java/libraries/dxf/build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
classpath="../../../core/library/core.jar"
2222
nowarn="true"
2323
compiler="org.eclipse.jdt.core.JDTCompilerAdapter">
24-
<compilerclasspath path="../../mode/ecj.jar" />
24+
<compilerclasspath path="../../mode/org.eclipse.jdt.core.jar;
25+
../../mode/jdtCompilerAdapter.jar" />
2526
</javac>
2627
</target>
2728

java/libraries/glw/build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
classpath="../../../core/library/core.jar; ../../../core/library/jogl-all.jar; ../../../core/library/gluegen-rt.jar"
2222
nowarn="true"
2323
compiler="org.eclipse.jdt.core.JDTCompilerAdapter">
24-
<compilerclasspath path="../../mode/ecj.jar" />
24+
<compilerclasspath path="mode/org.eclipse.jdt.core.jar;
25+
mode/jdtCompilerAdapter.jar" />
2526
</javac>
2627
</target>
2728

java/libraries/net/build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
classpath="../../../core/library/core.jar"
2222
nowarn="true"
2323
compiler="org.eclipse.jdt.core.JDTCompilerAdapter">
24-
<compilerclasspath path="../../mode/ecj.jar" />
24+
<compilerclasspath path="../../mode/org.eclipse.jdt.core.jar;
25+
../../mode/jdtCompilerAdapter.jar" />
2526
</javac>
2627
</target>
2728

java/libraries/pdf/build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
classpath="../../../core/library/core.jar; library/itext.jar"
2222
nowarn="true"
2323
compiler="org.eclipse.jdt.core.JDTCompilerAdapter">
24-
<compilerclasspath path="../../mode/ecj.jar" />
24+
<compilerclasspath path="../../mode/org.eclipse.jdt.core.jar;
25+
../../mode/jdtCompilerAdapter.jar" />
2526
</javac>
2627
</target>
2728

java/libraries/serial/build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
classpath="../../../core/library/core.jar; library/jssc.jar"
2222
nowarn="true"
2323
compiler="org.eclipse.jdt.core.JDTCompilerAdapter">
24-
<compilerclasspath path="../../mode/ecj.jar" />
24+
<compilerclasspath path="../../mode/org.eclipse.jdt.core.jar;
25+
../../mode/jdtCompilerAdapter.jar" />
2526
</javac>
2627
</target>
2728

java/mode/ecj.jar

-2.19 MB
Binary file not shown.

0 commit comments

Comments
 (0)