Put back the buildwithoutj2me target.

git-svn-id: https://zxing.googlecode.com/svn/trunk@119 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
dswitkin 2007-12-17 18:59:03 +00:00
parent 17f54acbdf
commit 87c2c1acaa
2 changed files with 7 additions and 1 deletions

View file

@ -25,6 +25,11 @@
<ant dir="javame" target="build"/>
<ant dir="javase" target="build"/>
</target>
<target name="buildwithoutj2me">
<ant dir="core" target="build"/>
<ant dir="javase" target="build"/>
</target>
<target name="clean">
<ant dir="core" target="clean"/>

View file

@ -62,7 +62,8 @@ public final class CommandLineRunner {
return false;
}
try {
String result = new MultiFormatReader().decode(new BufferedImageMonochromeBitmapSource(image)).getText();
BufferedImageMonochromeBitmapSource source = new BufferedImageMonochromeBitmapSource(image);
String result = new MultiFormatReader().decode(source).getText();
System.out.println(uri.toString() + ": " + result);
return true;
} catch (ReaderException e) {