Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Q: Can JDT API be used headless?
Q: Can JDT API be used headless? [message #5600] Fri, 25 April 2003 17:37 Go to next message
Frank Sauer is currently offline Frank SauerFriend
Messages: 27
Registered: July 2009
Junior Member
I'm using the JDT API heavily in my metrics plugin, but now
would like to calculate the metrics as part of an automated
nightly build - from ant. Can the JDT API be used this way?

How does one find/access the workspace programmatically
in this scenario, if at all possible?

Regards,

Frank Sauer
Re: Q: Can JDT API be used headless? [message #5629 is a reply to message #5600] Fri, 25 April 2003 19:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jed_anderson.us.ibm.com

Frank,

I have written a tool that uses the JDT core headless, so I know that is
possible.

If you use just org.eclipse.jdt.core and org.eclipse.core.resources, you
can run headless and still access the workspace through normal means
(i.e. ResourcesPlugin.getWorkspace()).

jkca

Frank Sauer wrote:
> I'm using the JDT API heavily in my metrics plugin, but now
> would like to calculate the metrics as part of an automated
> nightly build - from ant. Can the JDT API be used this way?
>
> How does one find/access the workspace programmatically
> in this scenario, if at all possible?
>
> Regards,
>
> Frank Sauer
Re: Q: Can JDT API be used headless? [message #54384 is a reply to message #5600] Wed, 11 June 2003 11:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dbexternal.comcast.net

Frank Sauer wrote:

> I'm using the JDT API heavily in my metrics plugin, but now
> would like to calculate the metrics as part of an automated
> nightly build - from ant. Can the JDT API be used this way?

> How does one find/access the workspace programmatically
> in this scenario, if at all possible?

> Regards,

> Frank Sauer


Frank - I'm also trying to run the JDT core headless, have you had any
luck?

Thanks, Dennis
Re: Q: Can JDT API be used headless? [message #54408 is a reply to message #5629] Wed, 11 June 2003 11:13 Go to previous message
Eclipse UserFriend
Originally posted by: dbexternal.comcast.net

Jed:

Any chance you would be will to provide a snippet of code detailing how
you accomplished running the JDT core headless?

Thanks, Dennis

Jed Anderson wrote:

> Frank,

> I have written a tool that uses the JDT core headless, so I know that is
> possible.

> If you use just org.eclipse.jdt.core and org.eclipse.core.resources, you
> can run headless and still access the workspace through normal means
> (i.e. ResourcesPlugin.getWorkspace()).

> jkca

> Frank Sauer wrote:
> > I'm using the JDT API heavily in my metrics plugin, but now
> > would like to calculate the metrics as part of an automated
> > nightly build - from ant. Can the JDT API be used this way?
> >
> > How does one find/access the workspace programmatically
> > in this scenario, if at all possible?
> >
> > Regards,
> >
> > Frank Sauer
Previous Topic:Threads and Monitors
Next Topic:NullPointerException at JavaCore.getOptions(JavaCore.java:1248)
Goto Forum:
  


Current Time: Sat Dec 21 13:54:33 GMT 2024

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

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

Back to the top