stevedlawrence opened a new issue, #24:
URL: https://github.com/apache/daffodil-sbt/issues/24

   To reproduce:
   
   ```
   sbt publishLocal
   cd src/sbt-test/sbt-daffodil/saved-parsers-01
   sbt -Dplugin.version=1.0.0-SNAPSHOT \
     'set daffodilPackageBinVersions := Seq("3.7.0")' \
     'packageDaffodilBin' \
     'set daffodilPackageBinVersions := Seq("3.6.0")' \
     'packageDaffodilBin'
   ```
   
   You should see the following log
   
   ```
   [info] compiling daffodil parser to 
.../saved-parsers-01/target/test-0.1-daffodil370.bin ...
   [info] compiling daffodil parser to 
.../saved-parsers-01/target/test-0.1-two-daffodil370.bin ...
   ```
   
   But after chaning the daffoilPackageBinVersions and running 
packageDaffodilBin again, you should see this but you do not:
   
   ```
   [info] compiling daffodil parser to 
.../saved-parsers-01/target/test-0.1-daffodil360.bin ...
   [info] compiling daffodil parser to 
.../saved-parsers-01/target/test-0.1-two-daffodil360.bin ...
   ```
   
   The `packageDaffodilBin` command uses a custom cache, so it is likely that 
he cache needs to be invalidated if `daffodilPackageBinVersions` changes. 
Probably need to do the same if `daffodilPackageBinInfos` changes.
   
   The workaround is to run `sbt clean`, which deletes existing bin files and 
invalidates the cache.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to