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

   In order to support multiple versions of Scala and Daffodil, the 
DaffodilSaver class is written in Java using reflection to call the Daffodil 
API. This avoids issues with Scala differences and lets us figure out how to 
call different Daffodil API at runtime.
   
   But this is difficult to maintain and it will become even harder if we add 
more complex features that need more of the Daffodil API.
   
   Similar to what VS Code does, we should use sbt-project matrix to create 
different jars that are compatible with different versions of Scala (and thus 
different versions of Daffodil). This should significantly simplify the 
DaffodilSaver code with pretty minimal changes to the rest of the plugin. It 
can also act as another example on how to use sbt-projectmatrix to create tools 
that support multiple versions of Daffodil.


-- 
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