Versions Compared

Key

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

...


After you run 'sbt test', you'll notice a lib_manage directory managed directory has been created. This directory is created by sbt to hold all the dependencies of the project.

...

Code Block
name := "dfdl-RFormat"

organization := "com.tresys"

version := "0.0.1"

scalaVersion := "2.11.8"

crossPaths := false

testOptions in ThisBuild += Tests.Argument(TestFrameworks.JUnit, "-v")

resolvers in ThisBuild ++= Seq(
  "NCSA Sonatype Releases" at "https://opensource.ncsa.illinois.edu/nexus/content/repositories/releases",
  "NCSA Sonatype Snapshots" at "https://opensource.ncsa.illinois.edu/nexus/content/repositories/snapshots"
)

libraryDependencies in ThisBuild := Seq(
  "junit" % "junit" % "4.11" % "test",
  "com.novocode" % "junit-interface" % "0.10" % "test",
  "edu.illinois.ncsa" %% "daffodil-tdml" % "2.0.0-SNAPSHOTrc3" % "test"
)

Edit the version of daffodil-tdml above to match the version you are using.

Eclipse IDE

If you organize your DFDL schema project using the above conventions, and then run 'sbt compile', the lib_managed directory will be populated. Then if you create a new Eclipse scala project from the directory tree, Eclipse will see the lib_managed directory and construct a classpath containing all those jars.

...