Comments (10)
@jastice Perhaps IntelliJ should read the value of managedClasspath in Compile
rather than managedClasspath in Runtime
. AFAICT, the in Compile
should contain everything needed for the project model of IntelliJ, without introducing dependencies on potentially expensive things only part of in Runtime
.
from sbt-web.
yes I am seeing something like this too
from sbt-web.
Is there an issue filed with Jetbrains about this?
from sbt-web.
@wsargent Not that I am aware of, but is it their fault? Afaik, Intellij now uses SBT to resolve dependencies, so it seems like SBT is triggering the build of Scala.js when it shouldn't be?
from sbt-web.
Is there any progress on this, or should I make an issue at Jetbrains?
from sbt-web.
I made an issue on Intellij's bug tracker to see if its on their end https://youtrack.jetbrains.com/issue/SCL-12594
from sbt-web.
IntelliJ Scala developer here.
The IntelliJ import depends on the managedClasspath
key indirectly to set the classpath in the IntelliJ-side project model. Thus, if that task has a dependency on package, an import will trigger a full compilation. I currently don't see a way around this except not having this dependency in your build.
from sbt-web.
@wsargent So it seems like this is purely an issue with sbt-web or Scala-js, if you do this
managedClasspath in Runtime += (packageBin in Assets).value
You are literally telling SBT (and hence Intellij) that in order to evaluate my classpath you need to package all of my assets (which actually doesn't make any sense, they are seperate things).
I have also made an issue with Scala-js
from sbt-web.
@sjrd IntelliJ actually depends on externalDependencyClasspath
which depends on managedClasspath
to extract the dependencies for all sbt configurations. It's not clear to me we should be excluding specific configurations.
from sbt-web.
I will involve the sbt guys to see whats their comment here
from sbt-web.
Related Issues (20)
- Project status ? HOT 1
- Better fork of sbt-traceur
- Update for sbt 1.0.x HOT 3
- Detect production mode HOT 2
- Different settings when using `sbt run` and `sbt stage`
- How to change output path in JAR? HOT 1
- Memory leak when switching branches, testing and reloading HOT 2
- sbt-web fails under sbt 1.3.0-RC1 HOT 3
- "org.webjars.npm" % "core-js"not included in web-modules HOT 2
- Problems hooking task into asset phase
- defining a sourceGenerator from a subproject
- Migrate repository away from travis-ci.org HOT 1
- "overview of sbt-web" link is broken HOT 1
- Move sbt-web off bintray
- Travis CI dropped HOT 6
- Speeding up the incremental extraction of web jars HOT 3
- issue with downloading sbt-web from maven central HOT 2
- `sbt test` doesn't seem to update new JS files into`target/web/web-modules/test/webjars/lib/web` HOT 1
- Fix tests for Windows
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 sbt-web.