Plugin Class Loader question

This article http://www.jetbrains.com/idea/plugins/plugin_structure.html

says that

[quote]The 'classes' folder and all jars located in the 'lib' folder are automatically added to the classpath.[/quote]

how to add my properties file visible to plugin classloader?

I write a simple plugin for documentum.


it uses jar dfc.jar with bundle with dfc.properties file.

Invoking of dfc methods doesn't work without dfc.properies


I put dfc.jar and dfc.properties file in plugin library folder.


Compile, run IDEA sandbox, invoke dfc method and get error


ERROR com.documentum.fc.common.impl.preferences.PreferencesManager  - [DFC_PREFERENCE_LOAD_FAILED] Failed to load persistent preferences from null
java.io.FileNotFoundException: dfc.properties


I try differents method of including dfc.properties in classpath.

I can avoid it by putting dfc.properties in idea start bat classpath


but question exists - how to make my dfc.properties file  visible by  plugin ClassLoader


1 comment
Comment actions Permalink

Is the Issue fixed now ?

Even I am facing the same issue

0

Please sign in to leave a comment.