Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Specify path for plugin.properties file
Specify path for plugin.properties file [message #1852967] Mon, 13 June 2022 11:06 Go to next message
AMir Taghizadegan is currently offline AMir TaghizadeganFriend
Messages: 32
Registered: May 2022
Member
Hi everyone,
Currently when generate the model the plugin.properties is just placed in the .edit folder, but it should be in the resources folder, where it is actually loaded.
Can someone help me to change that?
Re: Specify path for plugin.properties file [message #1852973 is a reply to message #1852967] Mon, 13 June 2022 14:46 Go to previous messageGo to next message
Glenn Plouhinec is currently offline Glenn PlouhinecFriend
Messages: 22
Registered: April 2020
Junior Member
Hi AMir,

The generated .edit resource is a Plug-In Project, it contains a build.properties resource file that you can modify if you want to change the location of plugin.properties.
If you want to use NLS Strings in your application, you can also take a look at the org.eclipse.osgi.util.NLS class and its initialization with NLS.initializeMessages(String, Class<?>), which may allow you to have another location for your NLS Strings.

Regards,
Glenn


Glenn Plouhinec - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Specify path for plugin.properties file [message #1852991 is a reply to message #1852973] Tue, 14 June 2022 08:31 Go to previous message
AMir Taghizadegan is currently offline AMir TaghizadeganFriend
Messages: 32
Registered: May 2022
Member
Hi Glenn,
thank you for the reply. I just solved it by removing the resource folder in Build path

[Updated on: Tue, 14 June 2022 08:32]

Report message to a moderator

Previous Topic:display supertype in the selection popup
Next Topic: EMF Model Creation Wizard fail
Goto Forum:
  


Current Time: Sun Oct 06 22:59:52 GMT 2024

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

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

Back to the top