Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Project's classpath available to plugin
Project's classpath available to plugin [message #605889] Sun, 30 May 2010 12:29 Go to next message
Filip Kis is currently offline Filip KisFriend
Messages: 31
Registered: April 2010
Member
Hi there!

I have a following situation. I'm working on a plugin with deals with special kind of java projects. During the execution of the plugin I need to run some third party jars that I have available in my plugin. This all works fine, however the third party jars expect some resources on the classpath that the user will have in his project. I don't want to add them to my plugin, because they have to be project specific.

So is there any way to add some resources from users project to my plug-ins classpath (and then remove them after the execution of course).

Filip
--
www.makumba.org - webapps in the fast lane
Re: Project's classpath available to plugin [message #605891 is a reply to message #605889] Mon, 31 May 2010 12:36 Go to previous message
Martin Skorsky is currently offline Martin SkorskyFriend
Messages: 112
Registered: July 2009
Senior Member
You can use
jproject.setRawClasspath(newRawClasspath, new NullProgressMonitor())
where jproject is some IJavaProject and newRawClasspath is a IClasspathEntry[].

HTH

Martin
Previous Topic:How to zip an update site?
Next Topic:Linux ant unzip issue
Goto Forum:
  


Current Time: Fri Apr 26 11:20:46 GMT 2024

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

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

Back to the top