Skip to main content

How to stop compilation of java files from phoneME build completely?

1 reply [Last post]
tusharj9
Offline
Joined: 2005-09-22

Hi,

How to stop building all java files when we are doing phoneME build ? And instead of building and compiling they should be using pre-built classes either from classes.zip (non romized) or romized .

Main reason for this need is because I don't want to use J2SDK for ARM build in scratchbox.

This is in continuation to resolve my issues with scratchbox posted earlier at
http://forums.java.net/jive/thread.jspa?messageID=264317

As per my understanding this can be done by modifying make files, but which files precisely ?

Regards,
Tushar

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
danila
Offline
Joined: 2006-09-25

Hi tushar,

you need to modify the rule for the target $(CLDC_ZIP) in cldc/build/share/jvm.make
and all rules for the target $(MIDP_CLASSES_ZIP) in midp/build/common/makefiles/*.

Yet, I think this way you might have more chances to get some strange build failures
or incomplete builds.
I would suggest to get J2SDK running properly in scratchbox.

Danila