Renamed core OSGi bundle to "ZXing"; removed "level=" attribute on <jar> tasks since it singlehandly introduces a depence on Ant 1.7 and doesn't buy much. OS X for example does not ship with Ant 1.7 yet.

git-svn-id: https://zxing.googlecode.com/svn/trunk@437 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-06-18 17:40:14 +00:00
parent 4d1229bd65
commit 6effdd4bd0
4 changed files with 6 additions and 6 deletions

View file

@ -48,7 +48,7 @@
</target> </target>
<target name="release" depends="build,clean,javadoc"> <target name="release" depends="build,clean,javadoc">
<zip file="ZXing-${version}.zip" level="9"> <zip file="ZXing-${version}.zip">
<zipfileset dir="." prefix="zxing-${version}"> <zipfileset dir="." prefix="zxing-${version}">
<exclude name="**/.*"/> <!-- exclude hidden files --> <exclude name="**/.*"/> <!-- exclude hidden files -->
<include name="COPYING"/> <include name="COPYING"/>

View file

@ -42,14 +42,14 @@
debug="true" debug="true"
deprecation="true" deprecation="true"
fork="true"/> fork="true"/>
<jar jarfile="core.jar" basedir="build" level="9"> <jar jarfile="core.jar" basedir="build">
<!-- These entries allow core.jar to function as an OSGi bundle, and also specifices <!-- These entries allow core.jar to function as an OSGi bundle, and also specifices
additional attributes for compatibility with BugLabs's BUG platform. additional attributes for compatibility with BugLabs's BUG platform.
Thanks to David Albert for this change. --> Thanks to David Albert for this change. -->
<manifest> <manifest>
<attribute name="Bundle-Name" value="ZXing4Bug"/> <attribute name="Bundle-Name" value="ZXing"/>
<attribute name="Bundle-Vendor" value="ZXing Project"/> <attribute name="Bundle-Vendor" value="ZXing Project"/>
<attribute name="Bundle-SymbolicName" value="ZXing4Bug"/> <attribute name="Bundle-SymbolicName" value="ZXing"/>
<attribute name="Bundle-Version" value="${version}"/> <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="Export-Package" value="com.google.zxing,com.google.zxing.common,com.google.zxing.client.result"/>
<attribute name="Bug-Bundle-Type" value="Application"/> <attribute name="Bug-Bundle-Type" value="Application"/>

View file

@ -78,7 +78,7 @@
fork="true"> fork="true">
<classpath refid="wtk-build-path"/> <classpath refid="wtk-build-path"/>
</javac> </javac>
<jar jarfile="javame.jar" basedir="build" level="9"/> <jar jarfile="javame.jar" basedir="build"/>
</target> </target>
<target name="compile-basic" depends="init"> <target name="compile-basic" depends="init">

View file

@ -42,7 +42,7 @@
<pathelement location="../core/core.jar"/> <pathelement location="../core/core.jar"/>
</classpath> </classpath>
</javac> </javac>
<jar jarfile="javase.jar" basedir="build" level="9"/> <jar jarfile="javase.jar" basedir="build"/>
</target> </target>
<target name="clean"> <target name="clean">