aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Kropf <josh@slashdev.ca>2011-05-25 20:41:45 (GMT)
committerJosh Kropf <josh@slashdev.ca>2011-05-25 20:41:45 (GMT)
commit972ed761010525f5caf036c31b369a1850c04297 (patch)
tree75ff1502c90bca90dbb333b0d2f6d5bf25696a84
parent5b75f5f5db2233f5d9df7875571cd66f4daa47dc (diff)
downloadlog4bb-972ed761010525f5caf036c31b369a1850c04297.zip
log4bb-972ed761010525f5caf036c31b369a1850c04297.tar.gz
log4bb-972ed761010525f5caf036c31b369a1850c04297.tar.bz2
minor build script tweaks
-rw-r--r--build.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/build.xml b/build.xml
index ecb495f..cb893fa 100644
--- a/build.xml
+++ b/build.xml
@@ -26,17 +26,16 @@
<target name="sign" depends="build">
<sigtool jdehome="${sigtool.jde}" password="${sigtool.password}">
- <fileset dir="build" includes="*.cod" />
+ <fileset dir="${build.dir}" includes="*.cod" />
</sigtool>
<!-- delete that damn pesky log file -->
<delete file="LogFile.txt" />
</target>
<target name="load-device" depends="sign">
- <exec executable="${jde.home}/bin/JavaLoader.exe">
- <arg value="-usb" />
+ <exec executable="bjavaloader">
<arg value="load" />
- <arg file="build/*.cod" />
+ <arg file="${build.dir}/${project.output}.cod" />
</exec>
</target>
@@ -49,14 +48,14 @@
<target name="export" if="export.dir" depends="build">
<mkdir dir="${export.dir}" />
<copy todir="${export.dir}">
- <fileset dir="build" includes="*.cod" />
+ <fileset dir="${build.dir}" includes="*.cod" />
</copy>
</target>
<target name="export-all" if="export.dir" depends="build">
<mkdir dir="${export.dir}" />
<copy todir="${export.dir}">
- <fileset dir="build" includes="*.cod,*.csl,*.cso,*.debug,*.jar" />
+ <fileset dir="${build.dir}" includes="*.cod,*.csl,*.cso,*.debug,*.jar" />
</copy>
</target>
</project> \ No newline at end of file