1
0
-1

I am attempting to parse a NITF file using the Java API for daffodil-2.0.0-rc2. The example code in the daffodil source code uses JDOMInfosetOutputter as an argument to the DataProcessor.parse() method. My code does not compile as the JDOMInfosetOutputter class does not exist. This was confirmed upon examination of the daffodil-japi.jar file.

I then built the daffodil-japi from source code. Not being familiar with scala and folder layout I assume the resultant JAR file (daffodil-japi_2.11.2.0.0.0-SNAPSHOT.jar) is located in daffodil-japi/target/scala-2.11? Using this JAR file in my application overcame the compilation errors. However, running the application resulted in a NoClassDefFoundError:  /edu/illinois/ncsa/daffodil/infoset/InfosetOutputter. Surely the class path should be /edu/Illinois/ncsa/daffodil/japi/infoset/InfosetOutputter?

It also suggests the binary distribution of RC2 is not consistent with the codebase?

I'm confused???


    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      InfosetOutputter and all associated classes were added since rc2. You will need to use the complete 2.0.0 snapshot release to get this functionality. There are multiple jars, and you must have all of them. We are very close to having an rc3, but it is not quite done.



        CommentAdd your comment...