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

Compare with Current View Page History

« Previous Version 2 Current »

The daffodil/daffodil-extra directory is an empty module intended to contain links to other git/svn repos where there are other projects that fit into the regular daffodil sub-module structure, but which for whatever reason, aren't part of its source tree.

There are several DFDL schemas now maintained at github: https://github.com/DFDLSchemas.

Each has its own git repository.

You clone that repository e.g., for NACHA (which runs on Daffodil) take these steps:

  • cd ~/...../daffodil
  • cd .. # parent directory where you have daffodil git-cloned.
  • mkdir DFDLSchemas
  • cd DFDLSchemas
  • git clone https://github.com/DFDLSchemas/NACHA.git
  • git checkout for-daffodil-1.2.0 # or whatever the current daffodil-port branch is
  • cd ../daffodil/daffodil-extra
  • ln -s ../../DFDLSchemas/NACHA/2013 # The exact right symlink to create varies. See list below

Then these sorts of things will work:

  • sbt NACHA/test
  • sbt NACHA/publish-local # makes a jar of the schema and puts it into .ivy2 cache.

Each of these repositories has an eclipse project in it that you can import.

The symlinks to be setup are these (vCard, NACHA, and HL7 are a little different from just pointing at the repo root)

  • EDIFACT -> ../../DFDLSchemas/EDIFACT
  • HL7 -> ../../DFDLSchemas/HL7-v2.7
  • IBM4690-TLOG -> ../../DFDLSchemas/IBM4690-TLOG
  • ISO8583 -> ../../DFDLSchemas/ISO8583
  • NACHA -> ../../DFDLSchemas/NACHA/2013
  • vCard -> ../../DFDLSchemas/vCard/2.1
  • No labels