Share

ProGuard Java Optimizer and Obfuscator

Tracker: Feature Requests

4 Is it possible to modify contents in META file? - ID: 2894956
Last Update: Comment added ( lafortune )

I want to know modify contents in META file of jar file, is it possible and
how to do if it is possible?


Zhengrong Zang ( mikezang ) - 2009-11-10 01:34

4

Open

None

Eric Lafortune

None

None

Public


Comments ( 3 )

Date: 2009-11-12 23:32
Sender: lafortuneProject Admin

The option "-adaptresourcefilecontents META-INF/MANIFEST.MF" will update
class names in this file. ProGuard will not update any other contents.


Date: 2009-11-11 14:53
Sender: mikezang

Well, I will talk about what I want to do.
In my MIDP developer system, I only can modify jad file, then SDK will
make MANIFEST.MF automatically.
When I run ProGuard, I want to modify MIDlet-Name and MIDlet-1 in
MANIFEST.MF, how can I do?
I checked option -adaptresourcefilecontents, but I am not sure what I can
do, can you give me a sample file?


Date: 2009-11-11 14:36
Sender: lafortuneProject Admin

With the option -adaptresourcefilecontents, you can adapt class names. Did
you have anything else in mind?


Attached Files ( 2 )

Filename Description Download
LWUIT.jad Jad file Download
MANIFEST.MF Download

Changes ( 4 )

Field Old Value Date By
File Added 350449: MANIFEST.MF 2009-11-11 14:48 mikezang
File Added 350446: LWUIT.jad 2009-11-11 14:47 mikezang
priority 5 2009-11-11 14:36 lafortune
assigned_to nobody 2009-11-11 14:36 lafortune