Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » Using ProGuard as preverifier with MicroEmu?
Using ProGuard as preverifier with MicroEmu? [message #26464] Mon, 16 February 2009 17:01 Go to next message
François Kooman is currently offline François Kooman
Messages: 4
Registered: July 2009
Junior Member
Hi,

I'm trying to use ProGuard as a preverifier while using MicroEmulator (a
supported SDK) but I have no idea how to configure this in MTJ. I know how
to get it to work from the command line
( http://fkooman.wordpress.com/2009/02/16/creating-deployable- midlets-with-free-software/)
but it would be cool to have this all automated in Eclipse.

Some documentation talks about a built in preverifier in MTJ (or
EclipseME), but this seems to be gone in MTJ (0.9.1)?

Thanks for the great project!
Re: Using ProGuard as preverifier with MicroEmu? [message #26499 is a reply to message #26464] Tue, 17 February 2009 14:13 Go to previous messageGo to next message
Gustavo de Paula is currently offline Gustavo de Paula
Messages: 118
Registered: July 2009
Senior Member
hi,

with microemu, the best option to preverify is to download and configure
an external preverifier. so if you are using macos, for instance, you can
download mpowerpalyer sdk that already come with a preverifier compiled to
macos. you can setup the preverifier on windows->preferences->java
me->preverifier

if you want to use proguard, there is a patch in one bug that actually
does that
https://bugs.eclipse.org/bugs/show_bug.cgi?id=234139

but it is not yet integrated into mtj. you would need to setup the
development environment and apply the patch (i'm not sure if this will
work).

the easiest way is definitly the external preverifier

:)
gep
Re: Using ProGuard as preverifier with MicroEmu? [message #26715 is a reply to message #26499] Wed, 18 February 2009 09:42 Go to previous messageGo to next message
François Kooman is currently offline François Kooman
Messages: 4
Registered: July 2009
Junior Member
I'm using Fedora 10 on a x86_64 machine, so it's all a bit tricky and I
would prefer to have a complete free software solution (which is the case
if I use ProGuard + MicroEmu + MTJ). It's good to know that work is
underway to have ProGuard supported as preverifier, I can wait for that or
play with the patch time permitting. For now my CLI scripts work well
enough...

Thanks for your reply :)
Re: Using ProGuard as preverifier with MicroEmu? [message #26796 is a reply to message #26715] Wed, 18 February 2009 12:33 Go to previous message
Gustavo de Paula is currently offline Gustavo de Paula
Messages: 118
Registered: July 2009
Senior Member
on linux, there two possible options as far as know. you can use wtk
preverifier (that is the same as phoneme. it is a gpl solution).

or motorola also has a linux version of its sdk. so if you download
andinstall it you can also use the preverifier that they provide.

i'm glad to know that you would like to see the proguard preverification.
we will see if we can have this integrated on mtj 1.0

François Kooman wrote:

> I'm using Fedora 10 on a x86_64 machine, so it's all a bit tricky and I
> would prefer to have a complete free software solution (which is the case
> if I use ProGuard + MicroEmu + MTJ). It's good to know that work is
> underway to have ProGuard supported as preverifier, I can wait for that or
> play with the patch time permitting. For now my CLI scripts work well
> enough...

> Thanks for your reply :)
Re: Using ProGuard as preverifier with MicroEmu? [message #571132 is a reply to message #26464] Tue, 17 February 2009 14:13 Go to previous message
Gustavo de Paula is currently offline Gustavo de Paula
Messages: 118
Registered: July 2009
Senior Member
hi,

with microemu, the best option to preverify is to download and configure
an external preverifier. so if you are using macos, for instance, you can
download mpowerpalyer sdk that already come with a preverifier compiled to
macos. you can setup the preverifier on windows->preferences->java
me->preverifier

if you want to use proguard, there is a patch in one bug that actually
does that
https://bugs.eclipse.org/bugs/show_bug.cgi?id=234139

but it is not yet integrated into mtj. you would need to setup the
development environment and apply the patch (i'm not sure if this will
work).

the easiest way is definitly the external preverifier

:)
gep
Re: Using ProGuard as preverifier with MicroEmu? [message #571210 is a reply to message #26499] Wed, 18 February 2009 09:42 Go to previous message
François Kooman is currently offline François Kooman
Messages: 4
Registered: July 2009
Junior Member
I'm using Fedora 10 on a x86_64 machine, so it's all a bit tricky and I
would prefer to have a complete free software solution (which is the case
if I use ProGuard + MicroEmu + MTJ). It's good to know that work is
underway to have ProGuard supported as preverifier, I can wait for that or
play with the patch time permitting. For now my CLI scripts work well
enough...

Thanks for your reply :)
Re: Using ProGuard as preverifier with MicroEmu? [message #571266 is a reply to message #26715] Wed, 18 February 2009 12:33 Go to previous message
Gustavo de Paula is currently offline Gustavo de Paula
Messages: 118
Registered: July 2009
Senior Member
on linux, there two possible options as far as know. you can use wtk
preverifier (that is the same as phoneme. it is a gpl solution).

or motorola also has a linux version of its sdk. so if you download
andinstall it you can also use the preverifier that they provide.

i'm glad to know that you would like to see the proguard preverification.
we will see if we can have this integrated on mtj 1.0

François Kooman wrote:

> I'm using Fedora 10 on a x86_64 machine, so it's all a bit tricky and I
> would prefer to have a complete free software solution (which is the case
> if I use ProGuard + MicroEmu + MTJ). It's good to know that work is
> underway to have ProGuard supported as preverifier, I can wait for that or
> play with the patch time permitting. For now my CLI scripts work well
> enough...

> Thanks for your reply :)
Previous Topic:Invalid jar problem
Next Topic:Invalid jar problem
Goto Forum:
  


Current Time: Fri Jul 25 11:57:18 EDT 2014

Powered by FUDForum. Page generated in 0.02169 seconds