Jump to: navigation, search

JSDT/Development

< JSDT
Revision as of 11:38, 31 October 2008 by Berkland.us.ibm.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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/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)

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