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 11app /bin /
22app /pde.jar
33build /macosx /work /
4- core /bin /
5- core /core.jar
4+ arduino- core /bin /
5+ arduino- core /arduino- core.jar
66hardware /arduino /bootloaders /caterina_LUFA /Descriptors.o
77hardware /arduino /bootloaders /caterina_LUFA /Descriptors.lst
88hardware /arduino /bootloaders /caterina_LUFA /Caterina.sym
Original file line number Diff line number Diff line change 66 <include name =" *.jar" />
77 </fileset >
88 <pathelement path =" ${ env.JAVA_HOME } /lib/tools.jar" />
9- <pathelement path =" ../core/core.jar" />
9+ <pathelement path =" ../arduino- core/arduino- core.jar" />
1010 </path >
1111
1212 <path id =" class.path.test" >
2525
2626 <target name =" compile" description =" Compile sources" >
2727 <condition property =" core-built" >
28- <available file =" ../core/core.jar" />
28+ <available file =" ../arduino- core/arduino- core.jar" />
2929 </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" />
3131
3232 <mkdir dir =" bin" />
3333
8989 includeAntRuntime =" false"
9090 debug =" true"
9191 classpathref =" class.path" />
92- <copy todir =" bin" overwrite =" true" verbose =" true" >
93- <fileset dir =" src" includes =" **/*.properties" />
94- </copy >
9592 </target >
9693
9794 <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 4242
4343 <!-- Libraries required for running arduino -->
4444 <fileset dir =" .." id =" runtime.jars" >
45- <include name =" core/core.jar" />
45+ <include name =" arduino- core/arduino- core.jar" />
4646 <include name =" app/pde.jar" />
4747 <include name =" app/lib/commons-codec-1.7.jar" />
4848 <include name =" app/lib/commons-exec-1.1.jar" />
8787 <!-- - - - - - - - - - - - - - - - - - -->
8888
8989 <target name =" subprojects-clean" >
90- <subant buildpath =" ../core" target =" clean" />
90+ <subant buildpath =" ../arduino- core" target =" clean" />
9191 <subant buildpath =" ../app" target =" clean" />
9292 </target >
9393
9494 <target name =" subprojects-build" >
95- <subant buildpath =" ../core" target =" build" />
95+ <subant buildpath =" ../arduino- core" target =" build" />
9696 <subant buildpath =" ../app" target =" build" />
9797 </target >
9898
You can’t perform that action at this time.
0 commit comments