Add support for core.jar as OSGi bundle, component in BugLabs's BUG platform

git-svn-id: https://zxing.googlecode.com/svn/trunk@435 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-06-16 18:25:56 +00:00
parent 83e8ca4eca
commit c29b094932

View file

@ -42,7 +42,19 @@
debug="true"
deprecation="true"
fork="true"/>
<jar jarfile="core.jar" basedir="build" level="9"/>
<jar jarfile="core.jar" basedir="build" level="9">
<!-- 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="ZXing4Bug"/>
<attribute name="Bundle-Vendor" value="ZXing Project"/>
<attribute name="Bundle-SymbolicName" value="ZXing4Bug"/>
<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-optimized" depends="build">