[ https://issues.apache.org/jira/browse/DAFFODIL-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Adams resolved DAFFODIL-2990. ---------------------------------- Resolution: Not A Problem Appears that the users classpath wasn't set up properly and the extendedcharsets plugin was not being found. > daffodil CLI: saved parser created with different set of dependencies > --------------------------------------------------------------------- > > Key: DAFFODIL-2990 > URL: https://issues.apache.org/jira/browse/DAFFODIL-2990 > Project: Daffodil > Issue Type: Bug > Components: CLI > Affects Versions: 3.10.0 > Reporter: Mike Beckerle > Assignee: Josh Adams > Priority: Major > > _This bug is detected in a Owl proprietary DFDL schema project, so someone > from Owl will need to support this._ > > Working on a DFDL schema for a format called link16. > It has a dependency on an extendedCharsets plugin. > TDML tests run fine. > Unable to run it from the CLI. > > We delete the target directory and delete the lib_managed directory. > Note that `daffodil --version` says 3.10.0. > The extendedCharsets plugin was compiled using Daffodil 3.10.0 specified in > its build.sbt. The extendedCharsets plugin is then published locally. > > Then: > ``` > sbt test > ``` > Works and all tests pass. This also creates the compiled schema ".bin" files. > > The classpath is setup by: > ``` > export DAFFODIL_CLASSPATH=$(sbt -batch -error "export fullClasspath") > ``` > Then this CLI command gets an error: > ``` > daffodil parse -P target/dfdl-link16-5.0.0-l16Messages-daffodil3100.bin > src/test/resources/com/owlcyberdefense/mil_std_6016f1/data/link16f1_j2_0.corrected.dat > > [error] The saved parser was created with a different set of dependencies > containing a class no longer on the classpath: Charset plugin > com.owlcyberdefense.ExtendedCharsets.BitsCharsetUSASCII8BitUnalignedLSBF$ for > X-DFDL-US-ASCII-8-BIT-UNALIGNED-LSB-FIRST > mbeckerle@orca:~/dataiti/owlsvcs/data/dfdl/formats/link16/Link16Subset$ > ``` > The extendedCharsets hash is 44f0a1cf546f9fbcbd4bf97073bbe3f0adb5878a (main > as of 2025-04-15) > The Link16Subset schema is fc30450281b9a032ee07bd2520d3252de3e67e43 (master > as of 2025-04-15). > -- This message was sent by Atlassian Jira (v8.20.10#820010)