JSDT project setup from GIT sources [message #963952] |
Tue, 30 October 2012 06:23  |
Eclipse User |
|
|
|
I get the source of JSDT from GIT (Master branch), but the eclipse complains about the errors below. There are a better branch to clone to start contribute? How to setup this project/environment?
Missing bundles:
org.eclipse.wst.jsdt.core.tests.compiler
org.eclipse.wst.jsdt.core.tests.model
org.eclipse.wst.jsdt.ui.tests
Error about extension points:
Referenced element 'enablement' is not defined quickAssistProcessors.exsd /org.eclipse.wst.jsdt.ui/schema line 57
Referenced element 'enablement' is not defined quickFixProcessors.exsd /org.eclipse.wst.jsdt.ui/schema line 63
And a bunch o JavaScript erros like this:
Syntax error on token "var", invalid MemberExpression IE_var.js /org.eclipse.wst.jsdt.support.ie/libraries line 74
Thanks
|
|
|
Re: JSDT project setup from GIT sources [message #964433 is a reply to message #963952] |
Tue, 30 October 2012 14:11   |
Eclipse User |
|
|
|
master is the correct branch for Kepler/3.5/2013.
The test bundles are in the webtools.jsdt.debug.git repository, see http://git.eclipse.org/c/jsdt/webtools.jsdt.tests.git/ . For the extension point messages you're seeing, the 'enablement' element is imported from the extension point schema in org.eclipse.core.expressions (see line 20 of org.eclipse.wst.jsdt.ui/schema/quickAssistProcessors.exsd). You'll either need the Eclipse SDK in/as your target, or at least the sources for the org.eclipse.core.expressions bundle, which would include the schema.
The version of Microsoft Internet Explorer targeted by the org.eclipse.wst.jsdt.support.ie bundle isn't worth spending time on. Those errors have persisted for some time and we're not going to rework the parser to support defining 'var' as a named object rather than/in addition to a keyword.
|
|
|
Re: JSDT project setup from GIT sources [message #1053425 is a reply to message #964433] |
Sun, 05 May 2013 10:53   |
Eclipse User |
|
|
|
I found that I also had to clone and import the jsdt projects from
webtools.sourceediting.tests: http://git.eclipse.org/gitroot/jsdt/webtools.jsdt.tests.git
Nitin Dahyabhai wrote on Tue, 30 October 2012 10:11For the extension point messages you're seeing, the 'enablement' element is imported from the extension point schema in org.eclipse.core.expressions (see line 20 of org.eclipse.wst.jsdt.ui/schema/quickAssistProcessors.exsd). You'll either need the Eclipse SDK in/as your target, or at least the sources for the org.eclipse.core.expressions bundle, which would include the schema.
Since importing as a fragment with sources does not work for org.eclipse.core.expressions:
Is there a simple way to solve that, short of downloading hundreds of megabytes of eclipse subprojects and sorting out the dependencies manually?
Is it possible to clone and import the expressions module with sources from git somewhere?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04128 seconds