jankrause / idocit

Automatically exported from code.google.com/p/idocit
0 stars 0 forks source link

Resource files are not always found in a jar #94

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The resource files:

 * addressees.properties
 * roles.properties
 * thematicgrids.xml

in the Core Project are located in different directories dependent on how the 
bundle was built:

 # run Eclipse from Eclipse
 # package it with Maven
 # package it with the Eclipse Plugin Export Wizard

Therefore the resource files are not always found, what results in exceptions.

As the resource files are needed the "Restore Defaults" in the preference 
pages, the files must be always accessable.

Original issue reported on code.google.com by dirk.mei...@gmail.com on 11 Apr 2012 at 11:33

GoogleCodeExporter commented 8 years ago

Original comment by dirk.mei...@gmail.com on 11 Apr 2012 at 11:33

GoogleCodeExporter commented 8 years ago
First step is done in Revision r581. The Core project directories were 
restructured to fit to Maven. Furthermore, the resource files are searched in 
the root directory of the plugin and in 'src/main/resources/'.

Original comment by dirk.mei...@gmail.com on 11 Apr 2012 at 12:48