Problems with Proguard configuration in MTJ on Debian box [message #31224] |
Sun, 14 June 2009 12:49  |
Eclipse User |
|
|
|
Hello everyone, I've tried to set up Eclipse to develop Java ME
applications using MTJ. I use Debian GNU/Linux.
The problem is, I can't configure MTJ to use Proguard as obfuscator. I
have installed Eclipse and WTK to /opt/, Proguard is installed from Debian
repository (its package version is 4.2-1).
When I try to create obfuscated package from MTJ, it complains about wrong
Proguard configuration. I have tried different variants for "Proguard root
directory":
1) /usr/share/java (here proguard.jar itself is situated)
2) /usr/bin/ (here is script for proguard's execution situated).
Well, neither of these variants works. I have found tutorial for Ubuntu,
where proguard is used from tarball, extracted to /usr/local/lib.
BTW, I haven't tried to create manual configuration files for proguard or
to try to use it as preverifier.
So, could you please help me with Proguard configuration? I don't
understand, is it my personal configuration problem (connected to
installation paths), MTJ bug or Debian package bug.
|
|
|
|
|
Re: Problems with Proguard configuration in MTJ on Debian box [message #574181 is a reply to message #31224] |
Mon, 22 June 2009 11:02  |
Eclipse User |
|
|
|
I found the solution: for "/usr/share/java" in "Proguard Root Directory",
MTJ was trying to execute "/usr/share/java/lib/proguard.jar".
So I had to create an additional "lib/" directory and put a symlink there.
The problem is, there are NO tips about that in documentation. Guys, if it
is hard to put an additional line of code to check for Proguard jar-file
in "Proguard Root Directory", add at least a note to documentation, please.
|
|
|
|
Powered by
FUDForum. Page generated in 0.06960 seconds