+ <jar jarfile="core.jar" basedir="build">
+ <!-- These entries allow core.jar to function as an OSGi bundle, and also specifices
+ additional attributes for compatibility with BugLabs's BUG platform.
+ Thanks to David Albert for this change. -->
+ <manifest>
+ <attribute name="Bundle-Name" value="ZXing"/>
+ <attribute name="Bundle-Vendor" value="ZXing Project"/>
+ <attribute name="Bundle-SymbolicName" value="ZXing"/>
+ <attribute name="Bundle-Version" value="${version}"/>
+ <attribute name="Export-Package" value="com.google.zxing,com.google.zxing.common,com.google.zxing.client.result"/>
+ <attribute name="Bug-Bundle-Type" value="Application"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="build" depends="clean">
+ <antcall target="compile">
+ <param name="generate-debug" value="true"/>
+ </antcall>
+ </target>
+
+ <target name="build-no-debug" depends="clean">
+ <antcall target="compile">
+ <param name="generate-debug" value="false"/>
+ </antcall>