| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -92,9 +92,12 @@ | |||
| 92 | 92 | encoding="UTF-8" | |
| 93 | 93 | includeAntRuntime="false" | |
| 94 | 94 | classpath="../core/library/core.jar; lib/ant.jar; lib/ant-launcher.jar; lib/antlr.jar; lib/apple.jar; lib/jdt-core.jar; lib/jna.jar; lib/org-netbeans-swing-outline.jar;lib/com.ibm.icu_4.4.2.v20110823.jar;lib/jdi.jar;lib/jdimodel.jar;lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar" | |
| 95 | - debug="on"> | ||
| 95 | + debug="on" | ||
| 96 | + nowarn="true" | ||
| 97 | + compiler="org.eclipse.jdt.core.JDTCompilerAdapter"> | ||
| 96 | 98 | <src path="src" /> | |
| 97 | 99 | <src path="generated" /> | |
| 100 | + <compilerclasspath path="../java/mode/ecj.jar" /> | ||
| 98 | 101 | </javac> | |
| 99 | 102 | </target> | |
| 100 | 103 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | <?xml version="1.0"?> | |
| 2 | 2 | <project name="Processing" default="build"> | |
| 3 | - | ||
| 3 | + | ||
| 4 | 4 | <!-- Sets properties for macosx/windows/linux depending on current system --> | |
| 5 | 5 | <condition property="platform" value="macosx"> | |
| 6 | 6 | <os family="mac" /> | |
@@ -36,22 +36,26 @@ | |||
| 36 | 36 | ||
| 37 | 37 | <!-- Make sure that we have a legitimate JDK... This was promoted | |
| 38 | 38 | from app/build.xml because we now need this on OS X as well. --> | |
| 39 | + <!-- | ||
| 39 | 40 | <property name="java_home" value="${env.JAVA_HOME}" /> | |
| 40 | 41 | <available file="${env.JAVA_HOME}/lib/tools.jar" | |
| 41 | 42 | property="java_tools_found" /> | |
| 42 | 43 | ||
| 43 | 44 | <fail if="windows" unless="java_tools_found" | |
| 44 | 45 | message="The JAVA_HOME variable must be set to the location of a full JDK. For instance, on Windows, this might be c:\jdk1.6.0_19." /> | |
| 46 | + --> | ||
| 45 | 47 | ||
| 46 | 48 | <!-- OS X gets a second chance that covers JDK 6, | |
| 47 | 49 | a necessity for building on OS X 10.6. --> | |
| 50 | + <!-- | ||
| 48 | 51 | <available file="/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar" property="java_tools_found" /> | |
| 49 | 52 | ||
| 50 | 53 | <fail if="macosx" unless="java_tools_found" | |
| 51 | 54 | message="To build on OS X, you must install both Apple's Java 6 and Oracle's JDK 7 (not just the plugin). Then add this line: ${line.separator}export JAVA_HOME=`/usr/libexec/java_home`${line.separator}to ~/.profile and open a new Terminal window." /> | |
| 52 | 55 | ||
| 53 | 56 | <fail if="linux" unless="java_tools_found" | |
| 54 | 57 | 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." /> | |
| 58 | + --> | ||
| 55 | 59 | ||
| 56 | 60 | <!-- Figure out the platform-specific output directory for all this work. --> | |
| 57 | 61 | <condition property="target.path" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,7 +24,11 @@ | |||
| 24 | 24 | destdir="bin" | |
| 25 | 25 | encoding="UTF-8" | |
| 26 | 26 | includeAntRuntime="false" | |
| 27 | - classpath="../../../../app/bin" /> | ||
| 27 | + classpath="../../../../app/bin" | ||
| 28 | + nowarn="true" | ||
| 29 | + compiler="org.eclipse.jdt.core.JDTCompilerAdapter"> | ||
| 30 | + <compilerclasspath path="../../../../java/mode/ecj.jar" /> | ||
| 31 | + </javac> | ||
| 28 | 32 | </target> | |
| 29 | 33 | ||
| 30 | 34 | <target name="build" depends="compile" description="Build Movie Maker Tool"> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,7 +19,11 @@ | |||
| 19 | 19 | includeAntRuntime="false" | |
| 20 | 20 | debug="true" | |
| 21 | 21 | srcdir="src" destdir="bin" | |
| 22 | - classpath="library/jogl-all.jar; library/gluegen-rt.jar" /> | ||
| 22 | + classpath="library/jogl-all.jar; library/gluegen-rt.jar" | ||
| 23 | + nowarn="true" | ||
| 24 | + compiler="org.eclipse.jdt.core.JDTCompilerAdapter"> | ||
| 25 | + <compilerclasspath path="../java/mode/ecj.jar" /> | ||
| 26 | + </javac> | ||
| 23 | 27 | ||
| 24 | 28 | <!-- Copy the jnilib to the bin folder so it's included. --> | |
| 25 | 29 | <copy todir="bin/japplemenubar" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,11 @@ | |||
| 7 | 7 | <javac target="1.5" | |
| 8 | 8 | srcdir="src" destdir="bin" | |
| 9 | 9 | debug="true" | |
| 10 | - includeantruntime="true" /> | ||
| 10 | + includeantruntime="true" | ||
| 11 | + nowarn="true" | ||
| 12 | + compiler="org.eclipse.jdt.core.JDTCompilerAdapter"> | ||
| 13 | + <compilerclasspath path="../../java/mode/ecj.jar" /> | ||
| 14 | + </javac> | ||
| 11 | 15 | </target> | |
| 12 | 16 | ||
| 13 | 17 | <target name="task-lib" depends="compile"> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -48,7 +48,10 @@ | |||
| 48 | 48 | encoding="UTF-8" | |
| 49 | 49 | includeAntRuntime="false" | |
| 50 | 50 | classpath="../core/library/core.jar; ${env.JAVA_HOME}/lib/tools.jar; ../app/lib/ant.jar; ../app/lib/ant-launcher.jar; ../app/lib/antlr.jar; ../app/lib/apple.jar; ../app/lib/jdt-core.jar; ../app/lib/jna.jar; ../app/lib/org-netbeans-swing-outline.jar; ../app/pde.jar; mode/CompilationChecker.jar; mode/com.ibm.icu_4.4.2.v20110823.jar; mode/jdi.jar; mode/jdimodel.jar; mode/org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar; mode/org.eclipse.core.jobs_3.5.300.v20120622-204750.jar; mode/org.eclipse.core.resources_3.8.1.v20120802-154922.jar; mode/org.eclipse.core.runtime_3.8.0.v20120521-2346.jar; mode/org.eclipse.equinox.common_3.6.100.v20120522-1841.jar; mode/org.eclipse.equinox.preferences_3.5.0.v20120522-1841.jar; mode/org.eclipse.jdt.core_3.8.2.v20120814-155456.jar; mode/org.eclipse.jdt.debug_3.7.101.v20120725-115645.jar; mode/org.eclipse.osgi_3.8.1.v20120830-144521.jar; mode/org.eclipse.text_3.5.200.v20120523-1310.jar" | |
| 51 | - debug="on"> | ||
| 51 | + debug="on" | ||
| 52 | + nowarn="true" | ||
| 53 | + compiler="org.eclipse.jdt.core.JDTCompilerAdapter"> | ||
| 54 | + <compilerclasspath path="../java/mode/ecj.jar" /> | ||
| 52 | 55 | <src path="src" /> | |
| 53 | 56 | </javac> | |
| 54 | 57 | </target> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,11 @@ | |||
| 18 | 18 | srcdir="src" destdir="bin" | |
| 19 | 19 | encoding="UTF-8" | |
| 20 | 20 | includeAntRuntime="false" | |
| 21 | - classpath="../../../core/library/core.jar" /> | ||
| 21 | + classpath="../../../core/library/core.jar" | ||
| 22 | + nowarn="true" | ||
| 23 | + compiler="org.eclipse.jdt.core.JDTCompilerAdapter"> | ||
| 24 | + <compilerclasspath path="../../mode/ecj.jar" /> | ||
| 25 | + </javac> | ||
| 22 | 26 | </target> | |
| 23 | 27 | ||
| 24 | 28 | <target name="build" depends="compile" description="Build DXF library"> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,11 @@ | |||
| 18 | 18 | srcdir="src" destdir="bin" | |
| 19 | 19 | encoding="UTF-8" | |
| 20 | 20 | includeAntRuntime="false" | |
| 21 | - classpath="../../../core/library/core.jar; library/lwjgl.jar; library/lwjgl_util.jar" /> | ||
| 21 | + classpath="../../../core/library/core.jar; library/lwjgl.jar; library/lwjgl_util.jar" | ||
| 22 | + nowarn="true" | ||
| 23 | + compiler="org.eclipse.jdt.core.JDTCompilerAdapter"> | ||
| 24 | + <compilerclasspath path="../../mode/ecj.jar" /> | ||
| 25 | + </javac> | ||
| 22 | 26 | </target> | |
| 23 | 27 | ||
| 24 | 28 | <target name="build" depends="compile" description="Build OpenGL LWJGL library"> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,11 @@ | |||
| 18 | 18 | srcdir="src" destdir="bin" | |
| 19 | 19 | encoding="UTF-8" | |
| 20 | 20 | includeAntRuntime="false" | |
| 21 | - classpath="../../../core/library/core.jar" /> | ||
| 21 | + classpath="../../../core/library/core.jar" | ||
| 22 | + nowarn="true" | ||
| 23 | + compiler="org.eclipse.jdt.core.JDTCompilerAdapter"> | ||
| 24 | + <compilerclasspath path="../../mode/ecj.jar" /> | ||
| 25 | + </javac> | ||
| 22 | 26 | </target> | |
| 23 | 27 | ||
| 24 | 28 | <target name="build" depends="compile" description="Build net library"> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,11 @@ | |||
| 18 | 18 | srcdir="src" destdir="bin" | |
| 19 | 19 | encoding="UTF-8" | |
| 20 | 20 | includeAntRuntime="false" | |
| 21 | - classpath="../../../core/library/core.jar; library/itext.jar" /> | ||
| 21 | + classpath="../../../core/library/core.jar; library/itext.jar" | ||
| 22 | + nowarn="true" | ||
| 23 | + compiler="org.eclipse.jdt.core.JDTCompilerAdapter"> | ||
| 24 | + <compilerclasspath path="../../mode/ecj.jar" /> | ||
| 25 | + </javac> | ||
| 22 | 26 | </target> | |
| 23 | 27 | ||
| 24 | 28 | <target name="build" depends="compile" description="Build PDF library"> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments