Skip to main content



      Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » Per configuration resource files sets
Per configuration resource files sets [message #481792] Mon, 24 August 2009 07:02 Go to next message
Eclipse UserFriend
I am not sure if this is a MTJ doubt or eclipse, but here I left it.

Having preprocessor is good, and having different configurations with different preprocessing symbols is better. But it would be incredibly yet better to having different resources set by device configuration.

I mean, inmagine I have a project, but there are two device families, one with 240x320 resolution, and other 176x208.

I could have my resources organized this way

res/240x320
res/176x208

And when the time of building the packages arrives, each configudation have a different source for resources.

Is that possible?

Could somebody tell me how can I do it?

Thank you.

David Lucena.
Re: Per configuration resource files sets [message #481823 is a reply to message #481792] Mon, 24 August 2009 08:50 Go to previous messageGo to next message
Eclipse UserFriend
Hello Again David,

MTJ definitely supports that. Please take a look at our documentation at
( http://help.eclipse.org/galileo/topic/org.eclipse.mtj.doc.us er/html/reference/editors/build_configuration/build-page.htm l).

Best Regards,

David Marques

David Lucena wrote:

> I am not sure if this is a MTJ doubt or eclipse, but here I left it.

> Having preprocessor is good, and having different configurations with
different preprocessing symbols is better. But it would be incredibly yet
better to having different resources set by device configuration.

> I mean, inmagine I have a project, but there are two device families, one
with 240x320 resolution, and other 176x208.

> I could have my resources organized this way

> res/240x320
> res/176x208

> And when the time of building the packages arrives, each configudation have
a different source for resources.

> Is that possible?

> Could somebody tell me how can I do it?

> Thank you.

> David Lucena.
Re: Per configuration resource files sets [message #481826 is a reply to message #481823] Mon, 24 August 2009 08:56 Go to previous message
Eclipse UserFriend
OMG, you are right. I din't noticed the combo box of the runtime configuration!!! Embarrassed What stupid I was!

That is very cool. Now MTJ and I are going to be friends. Very Happy

Sorry all.
Re: Per configuration resource files sets [message #576432 is a reply to message #481823] Mon, 24 August 2009 08:56 Go to previous message
Eclipse UserFriend
OMG, you are right. I din't noticed the combo box of the runtime configuration!!! :blush: What stupid I was!

That is very cool. Now MTJ and I are going to be friends. :d

Sorry all.
Previous Topic:Per configuration resource files sets
Next Topic:Preprocess BlackBerry Code
Goto Forum:
  


Current Time: Mon Apr 14 17:20:17 EDT 2025

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

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

Back to the top