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 #576308] Mon, 24 August 2009 07: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 #576404 is a reply to message #576308] Mon, 24 August 2009 08:50 Go to previous 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.
Previous Topic:Bug in MTJ preprocessor documentation
Next Topic:Per configuration resource files sets
Goto Forum:
  


Current Time: Sat Aug 30 16:31:46 EDT 2014

Powered by FUDForum. Page generated in 0.09253 seconds