Use version when creating manfiest/.jad files

git-svn-id: https://zxing.googlecode.com/svn/trunk@82 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2007-11-28 17:29:10 +00:00
parent aea9fa22f9
commit 958edca745
3 changed files with 4 additions and 2 deletions

View file

@ -7,6 +7,6 @@ MIDlet-Jar-URL: @APP_NAME@.jar
MIDlet-Name: @APP_NAME@
MIDlet-Permissions: javax.microedition.media.control.VideoControl.getSnapshot
MIDlet-Vendor: ZXing Project
MIDlet-Version: 0.1.1
MIDlet-Version: @VERSION@
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0

View file

@ -111,6 +111,7 @@
<copy file="src/com/google/zxing/client/j2me/MANIFEST.MF.template" tofile="src/com/google/zxing/client/j2me/MANIFEST.MF" overwrite="true">
<filterset>
<filter token="APP_NAME" value="${jar-name}"/>
<filter token="VERSION" value="${version}"/>
</filterset>
</copy>
@ -123,6 +124,7 @@
<filterset>
<filter token="JAR_SIZE" value="${jar-size}"/>
<filter token="APP_NAME" value="${jar-name}"/>
<filter token="VERSION" value="${version}"/>
</filterset>
</copy>

View file

@ -6,6 +6,6 @@ MIDlet-Info-URL: code.google.com/p/zxing
MIDlet-Name: @APP_NAME@
MIDlet-Permissions: javax.microedition.media.control.VideoControl.getSnapshot
MIDlet-Vendor: ZXing Project
MIDlet-Version: 0.1.1
MIDlet-Version: @VERSION@
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0