Re: ROMizing

Joe Bowbeer <[email protected]>
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
On 7/25/07, Padilla, Alex D <[email protected]> wrote:
>
> Does anyone know anything about ROMizing?  I think it would benefit me
> greatly on a project I am working on but have no idea where to start with
> it.  I am working in Linux, so if anyone knows the commands in Linux to
> create a ROMized file (?? I guess it creates a file) and run that
> corresponding file on the KVM, that would be great.  Thank you so much.
>

Alex,

The problem you are trying to solve (adding classes from a 3rd party
library to your MIDlet) is commonly solved by combining all the
classes together and then using an obfuscator/compactor such as
proguard to remove unused classes.  The pieces of Ant script I sent
previously show the basic steps.  Linux is not an obstacle here and
NetBeans is not a requirement.

Others have suggested using Antenna to create the package.  Antenna is
Java-based (like Ant and proguard).  Antenna may be simpler for
beginners because it will do everything you need in one step:

http://antenna.sourceforge.net/wtkpackage.php

You'll want to add bouncycastle to the libclasspath.

--
Joe Bowbeer

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.