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

Compare with Current View Page History

Version 1 Next »

'sbt stage' will create a script that you can execute.

Note that this isn't our normal script distributed with the tar/zip (it's
generated using an sbt plugin) so it doesn't use DAFFODIL_CLASSPATH or
JAVA_OPTS or anything to configure it.

Eventually I'd like to get rid of this, but it's really only used for testing right now.

After you run 'sbt stage', the script is generated is daffodil-core/target/start, so you can run things like this:

$ ./daffodil-core/target/start parse -s foo.xsd input.txt

If you want to use the daffodil script that's uses DAFFODIL_CLASSPATH or
JAVA_OPTS, you first run publish-local (you might need to remove
~/.ivy2/local first, i've seen weird issues where it seems to use a
cached version) then cd to the daffodil-pack directory and run 'sbt
pack'. This will create tar and zip files in
daffodil-pack/target/scala-2.9.2/pack, which are what we distribute.,

  • No labels