Giter VIP home page Giter VIP logo

Comments (9)

unkarjedy avatar unkarjedy commented on June 23, 2024

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.

unkarjedy avatar unkarjedy commented on June 23, 2024

Related links:

from scala3.

bishabosha avatar bishabosha commented on June 23, 2024

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.

unkarjedy avatar unkarjedy commented on June 23, 2024

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

bishabosha avatar bishabosha commented on June 23, 2024

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.

bishabosha avatar bishabosha commented on June 23, 2024

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.

bishabosha avatar bishabosha commented on June 23, 2024

@unkarjedy what do you think of the change in #20631 which would add files which provide the classpath?

from scala3.

unkarjedy avatar unkarjedy commented on June 23, 2024

@bishabosha Looks good. Do you already have some nightly/rc build to try it our on our side?

from scala3.

bishabosha avatar bishabosha commented on June 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.