ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6857] New: - jar manifest copies mf files wrong
Date Mon, 04 Mar 2002 18:53:07 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message