Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » Problems with Proguard configuration in MTJ on Debian box
Problems with Proguard configuration in MTJ on Debian box [message #31224] Sun, 14 June 2009 16:49 Go to next message
Konstantin Kucher is currently offline Konstantin KucherFriend
Messages: 4
Registered: July 2009
Junior Member
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 #31429 is a reply to message #31224] Mon, 22 June 2009 15:02 Go to previous messageGo to next message
Konstantin Kucher is currently offline Konstantin KucherFriend
Messages: 4
Registered: July 2009
Junior Member
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.
Re: Problems with Proguard configuration in MTJ on Debian box [message #31943 is a reply to message #31429] Wed, 08 July 2009 17:07 Go to previous message
Gustavo de Paula is currently offline Gustavo de PaulaFriend
Messages: 118
Registered: July 2009
Senior Member
thanks for raising this issue.

we plan to improve the documentation on galileo SR1 release

:)
gep
Re: Problems with Proguard configuration in MTJ on Debian box [message #574181 is a reply to message #31224] Mon, 22 June 2009 15:02 Go to previous message
Konstantin Kucher is currently offline Konstantin KucherFriend
Messages: 4
Registered: July 2009
Junior Member
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.
Re: Problems with Proguard configuration in MTJ on Debian box [message #574538 is a reply to message #31429] Wed, 08 July 2009 17:07 Go to previous message
Gustavo de Paula is currently offline Gustavo de PaulaFriend
Messages: 118
Registered: July 2009
Senior Member
thanks for raising this issue.

we plan to improve the documentation on galileo SR1 release

:)
gep
Previous Topic:Webinar Slides
Next Topic:SE and Samsung SDKs in Pulsar View
Goto Forum:
  


Current Time: Sat Apr 20 00:32:26 GMT 2024

Powered by FUDForum. Page generated in 0.03490 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top