Re: Managing resources with SwiXML

Frederic Gedin <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
Frank Meissner a écrit :

> Frederic Gedin wrote:
>
>> Hi
>>
>> I wonder if there is a way to manage resources using swixml. I mean 
>> defining a color or a font in some bundle file and refer to the 
>> bundle definition in the xml file. This would avoid to write tons of 
>> foreground="204,204,204" in the xml file which is also difficult to 
>> maintain if I want to change the color or the font.
>
>
> Hello Frederic,
>
> if you use ant to build your system, you may do this through an 
> replacetoken. Otherwise you can only use the standard colors defined 
> in java.awt.Color.
>

That's a way of doing it. However, I do not feel very comfortable with 
it as I use eclipse for developing and testing the user interface and 
maven for the final build. Having such a solution working for both 
eclipse and maven does not seem to be so easy.
Regards

Frederic
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.