-
Notifications
You must be signed in to change notification settings - Fork 1
ConfiguringEclipse
Renaud Guillard edited this page Jun 3, 2013
·
7 revisions
Eclipse (of course...) with the following plugins
- Eclipse XML editors and tools (XML / XSLT edition)
- XSD - XML schema definition (XSD edition)
- PyDev (for the Python parser)
- C/C++ Development tools (for the C parser)
- PDT PHP development tools (for the PHP parser)
The eclipse project bundled with ns-xml is located in script/eclipse. To create symbolic links to sources inside this folder, run
#!bash
./tools/sh/eclipse/configure.sh
Add
[ui]
ignore.eclipse = resources/hg/ignores/eclipse
in your .hg/hgrc file to ignore these symbolic links
- Open Eclipse Preferences
- In
XML > XML Catalog > XML Catalog Entriss, clickAdd... - In the new dialog, click
Workspace - Browse
ns-xml/xsd ...and select one of the XSD schema (ex:program/2.0/program.xsd), validate - Repeat the operation for each schema
Eclipse can now use the XSD to auto-complete and auto-validate XML files that use a ns-xml schemas.