From: srowen Date: Thu, 29 Nov 2007 19:44:05 +0000 (+0000) Subject: Add proguard optimizer support. Switch to compile against WTK class files and target... X-Git-Url: http://git.rot13.org/?p=zxing.git;a=commitdiff_plain;h=08460ec9b5ab558aca68155ba0cfd903de3fe4cf Add proguard optimizer support. Switch to compile against WTK class files and target version 1.2 class file output, to possibly fix compatibility issues. git-svn-id: http://zxing.googlecode.com/svn/trunk@84 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- diff --git a/build.properties b/build.properties index c037d7d6..9c86d0f1 100644 --- a/build.properties +++ b/build.properties @@ -8,23 +8,8 @@ version=0.1.2 WTK-home=/usr/local/WTK2.5.2 #WTK-home=C:\\WTK2.5.2 -# Set this to a location where the platform classes included with Java version 1.4 (not later) -# have been installed. If you installed a full JDK, this is typically at 'jre/lib/rt.jar' -# under the JDK installation directory. If you just installed a JRE, it is typically at -# 'lib/rt.jar' under the JRE installation directory. -# -# Windows users: typically Java will be installed in a subdirectory of C:\Program Files\Java -# -# Linux users: installation directory varies, but is typically under /usr/local or /usr/lib -# -# Mac users, the Java 1.4 classes are at: -# /System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/classes.jar -JDK1.4-classes=/usr/lib/jvm/j2sdk1.4.2_16/jre/lib/rt.jar -#JDK1.4-classes=C:\\Program Files\\Java\\j2re1.4.2_16\\lib\\rt.jar -#JDK1.4-classes=/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/classes.jar - # Set this to the location where you have installed RIM's BlackBerry JDE in order to # create the 'rim' client. There is no Mac or Linux version, but, these platforms can still # build by obtaining a copy of net_rim_api.jar and rapc.jar from a Windows installation, # and simply pointing to the directory containing them both here: -BB-JDK-home=. \ No newline at end of file +BB-JDK-home=. diff --git a/core/build.xml b/core/build.xml index 9cac6f41..0f60ca3e 100644 --- a/core/build.xml +++ b/core/build.xml @@ -20,24 +20,25 @@ + + + + + + + + - - - - - - - - + @@ -74,7 +75,7 @@ - + diff --git a/javame/build.xml b/javame/build.xml index d181f3dc..2292e412 100644 --- a/javame/build.xml +++ b/javame/build.xml @@ -30,20 +30,29 @@ + + + + + + + + + - + - + - + - + @@ -53,9 +62,9 @@ - @@ -111,12 +119,26 @@ - + + + + + + + + + + + + + + +