Skip to main content

Re: Proguard problem with Antenna

2 replies [Last post]
Anonymous

Hi,

Make sure you're using latest antenna with latest proguard.

Mike

_____

From: A mailing list for KVM discussion
[mailto:KVM-INTEREST@JAVA.SUN.COM] On Behalf Of Chris B
Sent: Thursday, January 11, 2007 2:36 AM
To: KVM-INTEREST@JAVA.SUN.COM
Subject: Proguard problem with Antenna

I keep getting the following error when trying to build with ant and
obfuscate with Proguard

[wtkobfuscate] Shrinking...
[wtkobfuscate] java.io.IOException: The output jar is empty. Did you
specify the
proper '-keep' options?

the part of the build.xml is

Does anyone know what's wrong with it? I've check the paths are correct
and Proguard works through the toolkit project>package>create obfuscated
package

========================================================================
=== To unsubscribe, send email to listserv@java.sun.com and include in
the body of the message "signoff KVM-INTEREST". For general help, send
email to listserv@java.sun.com and include in the body of the message
"help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Chris B

I am?
----- Original Message -----
From: Zemlyanukha Mikhail
To: Chris B ; KVM-INTEREST@JAVA.SUN.COM
Sent: Thursday, January 11, 2007 10:20 AM
Subject: RE: Proguard problem with Antenna

Hi,

Make sure you're using latest antenna with latest proguard.

Mike

------------------------------------------------------------------------------

From: A mailing list for KVM discussion [mailto:KVM-INTEREST@JAVA.SUN.COM] On Behalf Of Chris B
Sent: Thursday, January 11, 2007 2:36 AM
To: KVM-INTEREST@JAVA.SUN.COM
Subject: Proguard problem with Antenna

I keep getting the following error when trying to build with ant and obfuscate with Proguard

[wtkobfuscate] Shrinking...
[wtkobfuscate] java.io.IOException: The output jar is empty. Did you specify the
proper '-keep' options?

the part of the build.xml is

jadfile="bin/${midlet.name}.jad"/>

Does anyone know what's wrong with it? I've check the paths are correct and Proguard works through the toolkit project>package>create obfuscated package

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

dzehavi
Offline
Joined: 2007-05-09
Points: 0

I had the same symptoms.

The problem at my case was a wrong MIDlet_1_class project property

Was:

It was resolved after changing it to

Hope it helps, Doron.