|plugin.properties mechanism not working? [message #559718]
||Fri, 17 September 2010 12:51
| Nicolai Czempin
Registered: July 2009
I want to display text from an external file (possibly internationalized) in the about box of an RCP application.|
Apparently (as intensive Googling has led me to believe) one can achieve this by adding a (or changing the) property "aboutText" with a value that has a prefix '%' that will be dereferenced from the plugin.properties file, like this:
aboutText=This is HelloWorld\n\
1. I used the "new Plug-In Project" to generate the RCP Mail Application.
2. I changed the value of the "aboutText" property to "%aboutText".
3. I added a file plugin.properties as above.
4. When I run the product and open the About Box, the text "%aboutText" is shown instead of the expected dereferenced text from the plugin.properties file.
I tried this with a vanilla 3.5.1 Eclipse IDE as well as a more featured Yoxos-based 3.6 installation, with the same results.
I also tried it with a separate "something.product" file, which didn't help.
Is my expectation about the behaviour wrong?
Or can someone confirm that they see this behaviour, and that this may perhaps be a bug in Eclipse (RCP/PDE/...?)?
Or does going through the above steps work for you?
Thanks for reading this far,
Powered by FUDForum
. Page generated in 0.01919 seconds