You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/03/04 19:53:07 UTC

DO NOT REPLY [Bug 6857] New: - jar manifest copies mf files wrong

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6857>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6857

jar manifest copies mf files wrong

           Summary: jar manifest copies mf files wrong
           Product: Ant
           Version: 1.4.1
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: ms@speakeasy.net
                CC: ms@speakeasy.net


I have a manifest file

Manifest-Version: 1.0
MIDlet-Version: 1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Vendor: Sun Microsystems
MIDlet-1: Downhill, /ASDimages/icon.png, com.jamdat.downhill.midp.GameMIDlet
MicroEdition-Profile: MIDP-1.0
MIDlet-Name: Downhill

that when added with <jar manifest=".."> it gets added as

Manifest-Version: 1.0
MIDlet-Name: Downhill
MIDlet-1: Downhill, /ASDimages/icon.png, com.jamdat.downhill.midp.Game
 MIDlet
MIDlet-Version: 1.0
MIDlet-Vendor: Sun Microsystems
Created-By: Ant 1.4.1
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-1.0

One annoying thing I request, since motorola sucks, is that the items be kept 
in the order they appear. I assume you slurp the mf file into a hash and print 
them out later rather then do a file copy, but the j2me device im workign with 
requires the properties to be in order! Yeah, it's poop. Anyway the newline in 
the MIDlet-1 property is just a bug. It cuts off the property at a certain 
length, I tested it withMIDlet-Vendor: Sun 
MicrosystemsSDFasdfasdfasdfasdfadsfasdfasdfasdfasdf
 lkajsdlkfajlskdfjlkadsa

same problem.

fyi:  FLASH/~/j2me/apps/Downhill/bin/tmp  $ant -version
Ant version 1.4.1 compiled on October 11 2001

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>