Roiocam commented on issue #1040:
URL: 
https://github.com/apache/incubator-pekko/issues/1040#issuecomment-1910865846

   Try to check the result via the reason for the problem.
   
   After some digging, found the reason why CompileJDK9 is broken when using it 
with OSGi: 
https://github.com/sbt/sbt-osgi/pull/64/files#diff-1cb4aa05c813d70c1f075d72300bb104f2d4f5f192264b426e982bd335b693e0L47-R47
   
   I use [`sbt 
inspect`](https://www.scala-sbt.org/1.x/docs/Howto-Inspect-the-Build.html) to 
dig out why:
   
   -  use` inspect tree  actor-typed / package` on `sbt-osgi-0.9.4`, 
CompileJDK9 contains in the dependency
   -  use` inspect tree  actor-typed` on `sbt-osgi-0.9.11`, CompileJDK9 wan't 
contains in the dependency
   
   I have tried using `fullClasspathAsJars` and `unmanagedSourceDirectories` to 
replace `fullClassPath`, but neither one can fix this.
   
   Not sure why, but `sbt inspect tree  actor-typed/package` won't work, if it 
has a way to make it work, we can use something like this for the CI check.
   
   ```
   sbt inspect tree actor-typed/package | grep -q CompileJdk9 || exit 1
   ```
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to