File tree Expand file tree Collapse file tree 6 files changed +67
-10
lines changed
macosx/template.app/Contents Expand file tree Collapse file tree 6 files changed +67
-10
lines changed Original file line number Diff line number Diff line change 3
3
<classpathentry excluding =" processing/app/tools/format/|processing/app/tools/format/src/|processing/app/Trace.java|processing/app/RunnerClassLoader.java" kind =" src" path =" app/src" />
4
4
<classpathentry kind =" src" path =" app/test" />
5
5
<classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER" />
6
- <classpathentry combineaccessrules =" false" kind =" src" path =" /processing-core" />
7
6
<classpathentry kind =" lib" path =" app/lib/antlr.jar" />
8
7
<classpathentry kind =" lib" path =" app/lib/apple.jar" />
9
8
<classpathentry kind =" lib" path =" app/lib/ecj.jar" />
21
20
<classpathentry kind =" lib" path =" app/lib/jmdns-3.4.1.jar" />
22
21
<classpathentry kind =" lib" path =" app/lib/jsch-0.1.50.jar" />
23
22
<classpathentry kind =" lib" path =" app/lib/jssc-2.8.0.jar" />
23
+ <classpathentry combineaccessrules =" false" kind =" src" path =" /arduino-core" />
24
24
<classpathentry kind =" output" path =" app/bin" />
25
25
</classpath >
Original file line number Diff line number Diff line change 1
1
app /bin /
2
2
app /pde.jar
3
3
build /macosx /work /
4
- core /bin /
5
- core /core.jar
4
+ arduino- core /bin /
5
+ arduino- core /arduino- core.jar
6
6
hardware /arduino /bootloaders /caterina_LUFA /Descriptors.o
7
7
hardware /arduino /bootloaders /caterina_LUFA /Descriptors.lst
8
8
hardware /arduino /bootloaders /caterina_LUFA /Caterina.sym
Original file line number Diff line number Diff line change 6
6
<include name =" *.jar" />
7
7
</fileset >
8
8
<pathelement path =" ${ env.JAVA_HOME } /lib/tools.jar" />
9
- <pathelement path =" ../core/core.jar" />
9
+ <pathelement path =" ../arduino- core/arduino- core.jar" />
10
10
</path >
11
11
12
12
<path id =" class.path.test" >
24
24
</target >
25
25
26
26
<target name =" compile" description =" Compile sources" >
27
+ <condition property =" core-built" >
28
+ <available file =" ../arduino-core/arduino-core.jar" />
29
+ </condition >
30
+ <fail unless =" core-built" message =" Please build the Arduino-core library first and make sure it sits in ../arduino-core/arduino-core.jar" />
31
+
27
32
<mkdir dir =" bin" />
28
33
29
34
<!-- ant seems to nuke ${java.home} for some reason, pointing at the JRE
75
80
includeAntRuntime =" false"
76
81
debug =" true"
77
82
classpathref =" class.path" />
78
- <copy todir =" bin" overwrite =" true" verbose =" true" >
79
- <fileset dir =" src" includes =" **/*.properties" />
80
- </copy >
81
83
</target >
82
84
83
85
<target name =" test" depends =" compile" description =" Runs the test" >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <project name =" Arduino IDE Core" default =" build" >
3
+
4
+ <path id =" class.path" >
5
+ <fileset dir =" lib" >
6
+ <include name =" *.jar" />
7
+ </fileset >
8
+ <pathelement path =" ${ env.JAVA_HOME } /lib/tools.jar" />
9
+ </path >
10
+
11
+ <target name =" clean" description =" Clean out the build directories" >
12
+ <delete dir =" bin" />
13
+ <delete file =" arduino-core.jar" />
14
+ </target >
15
+
16
+ <target name =" compile" description =" Compile" >
17
+ <!--
18
+ <taskdef name="methods"
19
+ classname="PAppletMethods"
20
+ classpath="methods/methods.jar" />
21
+ <methods dir="${basedir}/src/processing/core" />
22
+ -->
23
+ <mkdir dir =" bin" />
24
+
25
+ <!-- ant seems to nuke ${java.home} for some reason, pointing at the JRE
26
+ subfolder instead of the actual JDK found at JAVA_HOME.
27
+ To avoid this, we grab the actual JAVA_HOME environment variable
28
+ and use that to specify the location of tools.jar. -->
29
+
30
+ <!-- if someone is better with ant please help clean this up -->
31
+ <property environment =" env" />
32
+ <property name =" java_home" value =" ${ env.JAVA_HOME } " />
33
+
34
+ <javac source =" 1.6"
35
+ target =" 1.6"
36
+ encoding =" UTF-8"
37
+ includeAntRuntime =" false"
38
+ srcdir =" src"
39
+ classpathref =" class.path"
40
+ destdir =" bin" >
41
+ </javac >
42
+
43
+ <copy todir =" bin" overwrite =" true" verbose =" true" >
44
+ <fileset dir =" src" includes =" **/*.properties" />
45
+ </copy >
46
+ </target >
47
+
48
+ <target name =" build" depends =" compile" description =" Build core library" >
49
+ <jar basedir =" bin" destfile =" arduino-core.jar" />
50
+ </target >
51
+
52
+ </project >
Original file line number Diff line number Diff line change 39
39
40
40
<!-- Libraries required for running arduino -->
41
41
<fileset dir =" .." id =" runtime.jars" >
42
+ <include name =" arduino-core/arduino-core.jar" />
42
43
<include name =" app/pde.jar" />
43
44
<include name =" app/lib/commons-codec-1.7.jar" />
44
45
<include name =" app/lib/commons-exec-1.1.jar" />
83
84
<!-- - - - - - - - - - - - - - - - - - -->
84
85
85
86
<target name =" subprojects-clean" >
87
+ <subant buildpath =" ../arduino-core" target =" clean" />
86
88
<subant buildpath =" ../app" target =" clean" />
87
89
</target >
88
90
89
91
<target name =" subprojects-build" >
92
+ <subant buildpath =" ../arduino-core" target =" build" />
90
93
<subant buildpath =" ../app" target =" build" />
91
94
</target >
92
95
160
163
<echo message =" Latest revision detected in shared/revision.txt is: ${ revision } " />
161
164
162
165
<!-- figure out the revision number in base.java -->
163
- <loadfile srcfile =" ../app /src/processing/app/Base .java"
166
+ <loadfile srcfile =" ../arduino-core /src/processing/app/BaseNoGui .java"
164
167
property =" revision.base" >
165
168
<filterchain >
166
169
<tokenfilter >
170
173
</tokenfilter >
171
174
</filterchain >
172
175
</loadfile >
173
- <echo message =" Revision in Base .java is: ${ revision.base } " />
176
+ <echo message =" Revision in BaseNoGui .java is: ${ revision.base } " />
174
177
</target >
175
178
176
179
<!-- - - - - - - - -->
Original file line number Diff line number Diff line change 76
76
<!-- In 0149, removed /System/Library/Java from the CLASSPATH because
77
77
it can cause problems if users have installed weird files there.
78
78
http://dev.processing.org/bugs/show_bug.cgi?id=1045 -->
79
- <string >$JAVAROOT/pde.jar:$JAVAROOT/antlr.jar:$JAVAROOT/apple.jar:$JAVAROOT/ecj.jar:$JAVAROOT/registry.jar:$JAVAROOT/quaqua.jar:$JAVAROOT/jssc-2.8.0.jar:$JAVAROOT/commons-codec-1.7.jar:$JAVAROOT/commons-exec-1.1.jar:$JAVAROOT/commons-httpclient-3.1.jar:$JAVAROOT/commons-logging-1.0.4.jar:$JAVAROOT/jmdns-3.4.1.jar:$JAVAROOT/jsch-0.1.50.jar:$JAVAROOT/jna.jar </string >
79
+ <string >$JAVAROOT/pde.jar:$JAVAROOT/arduino-core.jar:$JAVAROOT/ antlr.jar:$JAVAROOT/apple.jar:$JAVAROOT/ecj.jar:$JAVAROOT/registry.jar:$JAVAROOT/quaqua.jar:$JAVAROOT/jssc-2.8.0.jar:$JAVAROOT/commons-codec-1.7.jar:$JAVAROOT/commons-exec-1.1.jar:$JAVAROOT/commons-httpclient-3.1.jar:$JAVAROOT/commons-logging-1.0.4.jar:$JAVAROOT/jmdns-3.4.1.jar:$JAVAROOT/jsch-0.1.50.jar:$JAVAROOT/jna.jar </string >
80
80
81
81
<key >JVMArchs </key >
82
82
<array >
You can’t perform that action at this time.
0 commit comments