Paul Webster Messages: 6850 Registered: July 2009 Location: Ottawa
Kautul Mehta wrote:
> Let's say that I have a project foo of type 'Web project' in my workspace.
> Now, it has dependencies defined on other projects and so on. So, at runtime
> when this web project is deployed, it will have a classloader of it's own
> which will define what all this web project can access. My plugin needs the
> design time equivalent of this classloader to find classes/resources that
> this web project can access. So, my question is how do I get a handle to a
> project's classloader/classpath. There is a way of doing this for java
> projects through IJavaProject.getResolvedClasspath(), but what about other
> types of projects.
That is probably per-feature dependent. The WTP people can probably
help answer that.