Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to programmatically add a javadoc location to build path?
How to programmatically add a javadoc location to build path? [message #480517] Mon, 17 August 2009 13:27 Go to next message
Eclipse User
Originally posted by: hadrian.polewczak.gmail.com

I would like to automatically add a javadoc location to existing jar
library.

Currently my plugin just read a DOM tree from ".classpath" file.
I would like to use dedicated Eclipse method (if it is possible).
Re: How to programmatically add a javadoc location to build path? [message #480999 is a reply to message #480517] Wed, 19 August 2009 10:30 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Hadek wrote:
> I would like to automatically add a javadoc location to existing jar
> library.
>
> Currently my plugin just read a DOM tree from ".classpath" file.
> I would like to use dedicated Eclipse method (if it is possible).
You need to (re-)set the class path of the project. The Javadoc location
is set as extra attribute when creating the new entry using:
org.eclipse.jdt.core.JavaCore.newSourceEntry(IPath, IPath[], IPath[],
IPath, IClasspathAttribute[])

Dani
Previous Topic:Disable CVS menu Option
Next Topic:Galileo Update Site
Goto Forum:
  


Current Time: Fri Oct 24 18:56:30 GMT 2014

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

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