File tree Expand file tree Collapse file tree 4 files changed +60
-11
lines changed Expand file tree Collapse file tree 4 files changed +60
-11
lines changed 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" >
25
25
26
26
<target name =" compile" description =" Compile sources" >
27
27
<condition property =" core-built" >
28
- <available file =" ../core/core.jar" />
28
+ <available file =" ../arduino- core/arduino- core.jar" />
29
29
</condition >
30
- <fail unless =" core-built" message =" Please build the core library first and make sure it sits in ../core/core.jar" />
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
31
32
32
<mkdir dir =" bin" />
33
33
89
89
includeAntRuntime =" false"
90
90
debug =" true"
91
91
classpathref =" class.path" />
92
- <copy todir =" bin" overwrite =" true" verbose =" true" >
93
- <fileset dir =" src" includes =" **/*.properties" />
94
- </copy >
95
92
</target >
96
93
97
94
<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 =" arudino-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 42
42
43
43
<!-- Libraries required for running arduino -->
44
44
<fileset dir =" .." id =" runtime.jars" >
45
- <include name =" core/core.jar" />
45
+ <include name =" arduino- core/arduino- core.jar" />
46
46
<include name =" app/pde.jar" />
47
47
<include name =" app/lib/commons-codec-1.7.jar" />
48
48
<include name =" app/lib/commons-exec-1.1.jar" />
87
87
<!-- - - - - - - - - - - - - - - - - - -->
88
88
89
89
<target name =" subprojects-clean" >
90
- <subant buildpath =" ../core" target =" clean" />
90
+ <subant buildpath =" ../arduino- core" target =" clean" />
91
91
<subant buildpath =" ../app" target =" clean" />
92
92
</target >
93
93
94
94
<target name =" subprojects-build" >
95
- <subant buildpath =" ../core" target =" build" />
95
+ <subant buildpath =" ../arduino- core" target =" build" />
96
96
<subant buildpath =" ../app" target =" build" />
97
97
</target >
98
98
You can’t perform that action at this time.
0 commit comments