Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to use 'ASTParser' on RCP
How to use 'ASTParser' on RCP [message #760052] Thu, 01 December 2011 05:58 Go to next message
p07025 is currently offline p07025Friend
Messages: 1
Registered: December 2011
Junior Member

I want to use 'ASTParser' on RCP.
but I happen problem on JavaCore.
I saw a success post which write using headless eclipse.
I try it, but failed.

Please give me some suggestion!

public class Application implements IApplication {

	/* (non-Javadoc)
	 * @see
	public Object start(IApplicationContext context) throws Exception {
		return IApplication.EXIT_OK;

	/* (non-Javadoc)
	 * @see
	public void stop() {
		// nothing to do

	at org.eclipse.jdt.core.JavaCore.getOptions(
	at org.eclipse.jdt.core.dom.ASTParser.initializeDefaults(
	at org.eclipse.jdt.core.dom.ASTParser.<init>(
	at org.eclipse.jdt.core.dom.ASTParser.newParser(
	at org.hello.Application.start(

Re: How to use 'ASTParser' on RCP [message #761441 is a reply to message #760052] Tue, 06 December 2011 13:33 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You might want to post in the JDT newsgroup, they might understand what you have to do to run with the AST headless.


Previous Topic:I need input on serving web content to the local network from a jetty server inside an RCP.
Next Topic:Undo/Redo not working properly with multiple documents
Goto Forum:

Current Time: Fri Apr 20 04:33:16 GMT 2018

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

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