Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Using JDT outside the eclipse platform
Using JDT outside the eclipse platform [message #198164] Thu, 10 March 2005 01:07 Go to next message
Eclipse UserFriend
Originally posted by: ori_calvo.hotmail.com

Hello All,

I am trying to write a simple application which analyzes a Java source code
file. I know that the eclipse platform already implements this kind of
functionality (for example the Package Explorer viewer). In the JDT Core
classes there is package called org.eclipse.jdt.core.dom which seems to be
the right thing for me (is it?).

1) Does any of the binaries provided by the JDT Core plugins can be used
outside of the eclipse platform (used by a simple java application which is
not an eclipse plugin) ?

2) If the above is possible than where can I find any documentation about
how to re-use the JDT source code in order to implement a java source code
simple analyzer?

Thanks, Ori
Re: Using JDT outside the eclipse platform [message #198172 is a reply to message #198164] Thu, 10 March 2005 03:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: olivier_thomannNOSPAM.ca.ibm.com

Ori Calvo a écrit :
> 1) Does any of the binaries provided by the JDT Core plugins can be used
> outside of the eclipse platform (used by a simple java application which is
> not an eclipse plugin) ?
No, this doesn't work. You can however use JDT inside a RCP application.
The JDT/Core plugin needs to be initialized to access preferences.
A headless eclipse workbench could also be a solution.
--
Olivier
Re: Using JDT outside the eclipse platform [message #198314 is a reply to message #198172] Thu, 10 March 2005 20:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Olivier Thomann" <olivier_thomannNOSPAM@ca.ibm.com> wrote in message
news:d0odqa$el8$1@www.eclipse.org...
> Ori Calvo a
Re: Using JDT outside the eclipse platform [message #198361 is a reply to message #198314] Fri, 11 March 2005 01:49 Go to previous message
Eclipse UserFriend
Originally posted by: olivier_thomannNOSPAM.ca.ibm.com

Walter Harley a écrit :
> But, I think the batch compiler
> ( http://dev.eclipse.org/viewcvs/index.cgi/jdt-core-home/howto /batch%20compile/batchCompile.html?rev=1.6)
> works with just jdtcore.jar, not the rest of Eclipse. No?
The batch compiler, yes. But if you want to use the DOM/AST this is
different. It requires the JDT/Core plugin to be initialized.
--
Olivier
Previous Topic:How should I use classpath variables?
Next Topic:Using ASTParser
Goto Forum:
  


Current Time: Thu Nov 07 06:02:20 GMT 2024

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

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

Back to the top