Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If you are also using other JVM versions or want the default Java to be a newer one, then you can setup the eclipse.ini for ScalaIDE to specifically always use the Java 8 installation.

Setup Eclipse Projects

...

For Daffodil 3.0.0 and older:

  1. Enable the sbt ecilpse plugin by create the file ~/.sbt/1.0/plugins/plugins.sbt  with the following content

    Code Block
    languagescala
    titleplugins.sbt
    addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4

...

  1. ")


  2. Set the DAFFODIL_HOME environment variable to the directory where you have Daffodil checked out

...

  1. . You can run the following, or put it in configureation file like ~/.bashrc

    Code Block
    export DAFFODIL_HOME="/path/to/daffodil.git"


  2. Run the following sbt command to generate eclipse project files:


  1. Code Block
    sbt updateClassifiers compile eclipse updateEclipseClasspaths

...


For Daffodil 3.1.0 and newer:

  1. Run the following sbt command to generate eclipse project files:

    Code Block
    sbt updateClassifiers compile eclipse


For all Daffodil versiona:

The above This will create an Eclipse .project, .classpath and .settings within each sub-project.

...