Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "JSDT/Development"
(New page: =Developing JSDT= The source for JSDT is in the Web Tools project (repository path /cvsroot/webtools). The following plugin projects provide the core JavaScript editing: * sourceediting/...) |
(→Developing JSDT) |
||
Line 1: | Line 1: | ||
=Developing JSDT= | =Developing JSDT= | ||
+ | |||
+ | == JSDT Source == | ||
The source for JSDT is in the Web Tools project (repository path /cvsroot/webtools). | The source for JSDT is in the Web Tools project (repository path /cvsroot/webtools). | ||
Line 24: | Line 26: | ||
* sourceediting/tests/org.eclipse.wst.jsdt.core.tests.model - (test suite is org.eclipse.wst.jsdt.core.tests.model.AllJavaModelTests) | * sourceediting/tests/org.eclipse.wst.jsdt.core.tests.model - (test suite is org.eclipse.wst.jsdt.core.tests.model.AllJavaModelTests) | ||
− | ==== Generating the parser | + | == JSDT packages == |
+ | |||
+ | == Generating the parser == | ||
Follow the instructions at http://www.eclipse.org/jdt/core/howto/generate%20parser/generateParser.html for generating the parser. The parser grammer file is located in cvs at sourceediting/plugins/org.eclipse.wst.jsdt.core/grammer/js.g | Follow the instructions at http://www.eclipse.org/jdt/core/howto/generate%20parser/generateParser.html for generating the parser. The parser grammer file is located in cvs at sourceediting/plugins/org.eclipse.wst.jsdt.core/grammer/js.g |
Revision as of 12:40, 31 October 2008
Developing JSDT
JSDT Source
The source for JSDT is in the Web Tools project (repository path /cvsroot/webtools).
The following plugin projects provide the core JavaScript editing:
- sourceediting/plugins/org.eclipse.wst.jsdt.core
- sourceediting/plugins/org.eclipse.wst.jsdt.manipulation
- sourceediting/plugins/org.eclipse.wst.jsdt.ui
These plugins have no dependencies other than the Eclipse base (they dont depend on any WebTools). Using these plugins, a javascript project can be created.
The feature project for these is:
- sourceediting/features/org.eclipse.wst.jsdt.feature
The following plugin projects provide JSDT integration with WebTools, and provide support for javascript within HTML and JSP:
- sourceediting/plugins/org.eclipse.wst.jsdt.web.core
- sourceediting/plugins/org.eclipse.wst.jsdt.web.support.jsp
- sourceediting/plugins/org.eclipse.wst.jsdt.web.ui
The feature project for these is:
- sourceediting/features/org.eclipse.wst.jsdt.web.feature
The following are the junits for JSDT:
- sourceediting/tests/org.eclipse.wst.jsdt.core.tests.compiler - (test suite is org.eclipse.wst.jsdt.core.tests.compiler.JSDTTestAll)
- sourceediting/tests/org.eclipse.wst.jsdt.core.tests.model - (test suite is org.eclipse.wst.jsdt.core.tests.model.AllJavaModelTests)
JSDT packages
Generating the parser
Follow the instructions at http://www.eclipse.org/jdt/core/howto/generate%20parser/generateParser.html for generating the parser. The parser grammer file is located in cvs at sourceediting/plugins/org.eclipse.wst.jsdt.core/grammer/js.g