...
You will need the Java SDK (not just the JRE), and Daffodil requires Java 8 (aka 1.8) at least.
The ScalaIDE 4.7 also seems to requite requires Java 8 (not newer), so Java 8 JDK is a hard requirement.
- 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.
- See this page: https://wiki.eclipse.org/Eclipse.ini
Setup Eclipse Projects
...
For Daffodil 3.0.0 and older:
Enable the sbt ecilpse plugin by create the file
~/.sbt/1.0/plugins/plugins.sbt
with the following contentCode Block language scala title plugins.sbt addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4
...
")
Set the DAFFODIL_HOME environment variable to the directory where you have Daffodil checked out
...
. You can run the following, or put it in configureation file like ~/.bashrc
Code Block export DAFFODIL_HOME="/path/to/daffodil.git"
Run the following sbt command to generate eclipse project files:
Code Block sbt updateClassifiers compile eclipse updateEclipseClasspaths
...
For Daffodil 3.1.0 and newer:
Run the following sbt command to generate eclipse project files:
Code Block sbt updateClassifiers compile eclipse
For all Daffodil versions:
The above This will create an Eclipse .project, .classpath and .settings within each sub-project.
...