File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Proguard output file does not include my java code - Help required Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Proguard output file does not include my java code - Help required" Watch "Proguard output file does not include my java code - Help required" New topic
Author

Proguard output file does not include my java code - Help required

Santiago Bravo
Ranch Hand

Joined: Jul 25, 2008
Posts: 226
I have tried to obfuscate my war file however the resulting output file includes a jar file with the name of my project but there are no java classes inside the jar file after its unpackaged.

All my library jars are packaged within the output file that proguard created but no java class files are within the file.

Any ideas as to what i am doing wrong?

Thanks in advance

S.


Santiago
My Path to SCJP Certification My Path to SCWCD Certification
Arek Sokolowski
Greenhorn

Joined: Jan 12, 2011
Posts: 8

Any ideas as to what i am doing wrong?

No.

First, try to reduce your problem: obfuscate single file, then - small jar, and then - war file.
Second, post here more detailed info: how your file looks, what is your obfuscation config, what is your proguard version, etc.
Maybe then someone will be able to help.

But first - look at first point and try to solve your problem by reduction. It works in 99% cases.

Good luck!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Proguard output file does not include my java code - Help required
 
Similar Threads
Problem with the use of external library from a jar archive
Problems aftrer shrinking my java application using proguard...
how to do obfuscation on web applicaion
Running Bouncy Castle
Code Obfustication in java...