|How add a resource to a plugin's classpath dynamically [message #990526]
||Wed, 12 December 2012 17:03
| Bhanu Pratap
Registered: April 2010
I have a scenario, where a I need to add a file to my plugins' classpath dynamically. Here are more details:
I have a plugin which when installed allows user to right click on an .xmi file and generate another file in the same directory as .xmi file. Now my plugin has to load this generated file using PDE's default resource manager(which loads resources from its classpath).
So, I have to update this classpath with the directory in which user generates this file.
I have already looked through a lot of documentation but couldn't find any feasible solution to this problem.
Could you please help me to resolve this problem.
Thanks in advance.
Powered by FUDForum
. Page generated in 0.08377 seconds