Break out properties that user should customize into a build.properties file

git-svn-id: https://zxing.googlecode.com/svn/trunk@29 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2007-11-12 20:22:22 +00:00
parent db56b85644
commit fbb9d110de
2 changed files with 4 additions and 2 deletions

2
javame/build.properties Normal file
View file

@ -0,0 +1,2 @@
WTK-home=/usr/local/WTK2.5.2
JDK1.4-home=/usr/lib/jvm/j2sdk1.4.2_16

View file

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="javame" default="build">
<property name="WTK-home" value="/usr/local/WTK2.5.2"/>
<property name="JDK1.4-home" value="/usr/lib/jvm/j2sdk1.4.2_16"/>
<property file="build.properties"/>
<target name="init">
<tstamp/>
@ -42,6 +41,7 @@
<jar jarfile="ZXingReader.jar" basedir="build-j2me" manifest="src/com/google/zxing/client/j2me/MANIFEST.MF"/>
<!-- get .jar size to include it in the .jad file -->
<exec executable="sh" outputproperty="jar-size">
<arg line="-c &quot;wc -c ZXingReader.jar | cut -d' ' -f1&quot;"/>
</exec>