You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Josh Adams (Jira)" <ji...@apache.org> on 2023/06/01 16:30:00 UTC

[jira] [Created] (DAFFODIL-2816) Saved parser version checks against application version, not Daffodil version

Josh Adams created DAFFODIL-2816:
------------------------------------

             Summary: Saved parser version checks against application version, not Daffodil version
                 Key: DAFFODIL-2816
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2816
             Project: Daffodil
          Issue Type: Bug
            Reporter: Josh Adams


I wrote a small test program to handle large number of files that calls the Daffodil Scala API.  It loads a saved-parser to handle the processing.  When the program is packaged into a jar file and run with "java -jar" Daffodil attempts to check the version in the saved parser file against the version of the program calling Daffodil, which in my case is 0.0.1 and then obviously fails the check.

We need some way to check against the version of Daffodil that the program is linked against instead of the version of the program itself.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)