You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

 

This page is a script (of sorts) for how to do all the various eclipse settings needed, and do them "the hard way", by hand, from a clean eclipse install.

Eclipse XML Settings

The following is the script for creating the XML settings

(Please improve this)

  1. Window-Preferences-Validation
    1. turn off XML Schema Validation
    2. turn off DTD Validation
  2. Window-Preferences-Validation click box to the right of XML Validator. Click on top includes, then Add Rule -> FileExension. Add extensions tdml and dfdl.xsd as XML validation extensions
  3. Window Preferences search for content type
    1. (details TBD) Add content type XML for extension TDML, and for dfdl.xsd
  4. Window-Preferences-XML-Editor
    1. uncheck "format comments"

Issue: Folder Structure Must Match Package Structure

Scala as a language does not require file names to match class names, nor file directory paths to match package names.

However, the Eclipse IDE support for scala as of Scala IDE 3.0.0 (2014-04-04), allows class names to differ from file names, but is very dependent on directory structure matching the package structure. Without this unit tests will not be found, and so cannot be conveniently run from the IDE.  (Error: No tests found for Junit...    If you get this error, assume package and folder structure are not matching.)

 

  • No labels