tuxji commented on PR #986:
URL: https://github.com/apache/daffodil/pull/986#issuecomment-1464186685

   If sbt's own jars can interfere with Daffodil's classpath while running unit 
tests, I am concerned because I have found several places where we could have 
more problems as well.
   
   I compared each jar in sbt's boot classpath with each jar in Daffodil's lib 
classpath and I found:
   
   - 4 jars with identical versions right now, but which could change later
   
   1. <daffodil.>/com.typesafe.config-1.4.2.jar
      <sbt-1.8.2>/config-1.4.2.jar
   
   2. <daffodil.>/org.scala-lang.modules.scala-xml_2.12-2.1.0.jar
      <sbt-1.8.2>/scala-xml_2.12-2.1.0.jar
   
   3. <daffodil.>/org.scala-lang.scala-library-2.12.17.jar
      <sbt-1.8.2>/scala-library-2.12.17.jar
   
   4. <daffodil.>/org.scala-lang.scala-reflect-2.12.17.jar
      <sbt-1.8.2>/scala-reflect-2.12.17.jar
   
   - 4 jars with different versions right now, which could be causing more 
problems
   
   1. <daffodil.>/org.fusesource.jansi.jansi-2.4.0.jar
      <sbt-1.8.2>/jansi-2.1.0.jar
   
   2. <sbt-1.8.2>/jline-builtins-3.19.0.jar
      <sbt-1.8.2>/jline-reader-3.19.0.jar
      <sbt-1.8.2>/jline-style-3.19.0.jar
      <sbt-1.8.2>/jline-terminal-3.19.0.jar
      <sbt-1.8.2>/jline-terminal-jansi-3.19.0.jar
      <sbt-1.8.2>/jline-terminal-jna-3.19.0.jar
      <daffodil.>/org.jline.jline-3.22.0.jar
   
   Note that our jline jar combines classes from ALL jline jars in one place -
     drwxr-xr-x         0  17-Jan-2023  16:55:04  
META-INF/maven/org.jline/jline-builtins/
     drwxr-xr-x         0  17-Jan-2023  16:55:04  
META-INF/maven/org.jline/jline-reader/
     drwxr-xr-x         0  17-Jan-2023  16:55:04  
META-INF/maven/org.jline/jline-remote-ssh/
     drwxr-xr-x         0  17-Jan-2023  16:55:04  
META-INF/maven/org.jline/jline-remote-telnet/
     drwxr-xr-x         0  17-Jan-2023  16:55:04  
META-INF/maven/org.jline/jline-style/
     drwxr-xr-x         0  17-Jan-2023  16:55:04  
META-INF/maven/org.jline/jline-terminal/
     drwxr-xr-x         0  17-Jan-2023  16:55:04  
META-INF/maven/org.jline/jline-terminal-jansi/
     drwxr-xr-x         0  17-Jan-2023  16:55:04  
META-INF/maven/org.jline/jline-terminal-jna/
   
   3. <daffodil.>/org.scala-lang.modules.scala-parser-combinators_2.12-2.2.0.jar
      <sbt-1.8.2>/scala-parser-combinators_2.12-1.1.2.jar
   
   4. <daffodil.>/org.slf4j.slf4j-api-2.0.6.jar
      <sbt-1.8.2>/slf4j-api-1.7.36.jar
   


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