Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Plug-in Development help
Plug-in Development help [message #604834] Sat, 27 February 2010 13:43 Go to next message
crossedangemon is currently offline crossedangemonFriend
Messages: 9
Registered: February 2010
Junior Member
When creating a project programmatically, how can I attach external jars as libraries?
I've tried the setClasspathVariable but it didn't work.

Any help would be appreciated.
Re: Plug-in Development help [message #605548 is a reply to message #604834] Fri, 09 April 2010 06:56 Go to previous message
Rahul  is currently offline Rahul Friend
Messages: 5
Registered: March 2010
Junior Member
hi,
You can use these functions:

public static IPackageFragmentRoot addLibrary(IJavaProject jproject, IPath path) throws JavaModelException {
return addLibrary(jproject, path, null, null);
}

and call that function as addLibrary(jproject,path);
Previous Topic:Plug-in Development help
Next Topic:Handling back and next button in Multiple Page Wizards
Goto Forum:
  


Current Time: Tue Mar 19 09:38:12 GMT 2024

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

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

Back to the top