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

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

    [ https://issues.apache.org/jira/browse/DAFFODIL-2816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17729733#comment-17729733 ] 

Steve Lawrence edited comment on DAFFODIL-2816 at 6/6/23 1:19 PM:
------------------------------------------------------------------

Comment fixed in commit 71cf4277362285fe577b5eea71b35ab05c76a566


was (Author: slawrence):
Commit fixed in commit 71cf4277362285fe577b5eea71b35ab05c76a566

> 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
>          Components: Libraries
>    Affects Versions: 3.4.0
>            Reporter: Josh Adams
>            Assignee: Steve Lawrence
>            Priority: Major
>             Fix For: 3.5.0
>
>
> 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)