Comments (9)
Note that the information about scalac/scaladoc classpath is already known to the code which does the binary distribution packaging. It's already present in
bin/common
,bin/common.bat
,bin/scaladoc
,bin/scaladoc.bat
I also notice that the classpath used in those scripts has one suspicious extra jar scala3-staging_3*.jar
It's not a transitive dependency of scala3-compiler_3
, also it's not reported by SBT (show scalaInstance
).
What is that jar? Is it indeed required for scalac classpath?
from scala3.
Related links:
- https://youtrack.jetbrains.com/issue/SCL-22510/Cant-configure-locally-installed-Scala-SDK-for-3.3.3-and-3.4.x-versions
- https://youtrack.jetbrains.com/issue/SCL-17273/An-ability-to-create-Scala-3-SDKs-automatically
from scala3.
we were proposing to heavily change the lib directory currently in #20351 (e.g. removing it or perhaps converting the contents to alias links) - so would be good to know if its actually used by other tooling - it seems it is - it would be good to work together on this
from scala3.
@bishabosha
Could you please point to the particular place in the discussion mentioning "potential removing of lib folder"?
or perhaps converting the contents to alias links
Alias links to where?
it would be good to work together on this
Is there anything else we can provide from our side?
from scala3.
Is there anything else we can provide from our side?
I updated the PR description of #20351. otherwise you can download the zip from 3.5.0-RC1 release
from scala3.
I also notice that the classpath used in those scripts has one suspicious extra jar scala3-staging_3*.jar
It's not a transitive dependency of scala3-compiler_3, also it's not reported by SBT (show scalaInstance).What is that jar? Is it indeed required for scalac classpath?
there is also a scala3-tasty-inspector_3
jar to go alongside scala3-staging_3
- these are not normally on the classpath for scala/scalac, but are added to the classpath if the user passes the -with-compiler
argument to the launcher. (Typically the user would need to add explicit libraryDependencies to use them in sbt/mill)
from scala3.
@unkarjedy what do you think of the change in #20631 which would add files which provide the classpath?
from scala3.
@bishabosha Looks good. Do you already have some nightly/rc build to try it our on our side?
from scala3.
Do you already have some nightly/rc build to try it our on our side?
@unkarjedy no but you can build it yourself with sbt dist/packArchive
. I hope that this will be coming in 3.5.0-RC3
but that is a long time
from scala3.
Related Issues (20)
- Seq from unsafe wrapped array fails to deconstruct in head and tail with pattern matching HOT 3
- No type-mismatch error in fewer-braces code when using context function
- Match type reduction including function types HOT 1
- Incorrect warning about ambiguous implicit
- Nightly Dotty workflow of 2024-06-15 failed HOT 1
- Nested overloaded inline methods crash the compiler when imported from exported object HOT 2
- Nightly Dotty workflow of 2024-06-16 failed HOT 1
- Nightly Dotty workflow of 2024-06-17 failed HOT 1
- private inline method leads to type path loss
- @native method treated as abstract in subclass
- Nightly Dotty workflow of 2024-06-18 failed HOT 1
- Issue with macros and in-memory (virtual) source files HOT 10
- incorrect `Suspicious top-level unqualified call` warning message HOT 1
- 3.5.0-RC2 Release procedure
- Implement incremental compilation phases for `-Ybest-effort`
- Explicit type specification in `match` worsens type checks HOT 1
- Modularity + TASTy serialization issue when compiling modified standard library
- SIP 46 - avoid duplication of jars in binary distribution
- Compiling standard library with `-experimental` causes AssertionError
- Incorrect "the type test for A cannot be checked at runtime because it's a local class" warning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scala3.