Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » Per configuration resource files sets
Per configuration resource files sets [message #481792] Mon, 24 August 2009 11:02 Go to next message
David Lucena is currently offline David Lucena
Messages: 74
Registered: August 2009
Member
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 12:50 Go to previous messageGo to next message
David Marques is currently offline David Marques
Messages: 80
Registered: July 2009
Member
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 12:56 Go to previous message
David Lucena is currently offline David Lucena
Messages: 74
Registered: August 2009
Member
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 12:56 Go to previous message
David Lucena is currently offline David Lucena
Messages: 74
Registered: August 2009
Member
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: Fri Oct 24 15:02:25 GMT 2014

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

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