Improve the setup for importing in Eclipse #3176
Labels
enhancement
Feature request (that does not concern language semantics, see "language")
internal
Not visible to users of Scala.js (only by devs in this repo)
wontfix
We decided not to fix this issue/not implement that feature request.
https://github.com/scala-js/scala-js/blob/master/DEVELOPING.md#eclipse
sbt runs fine, but eclipse produces error on project import:
that is due to same project name (used by sbt eclipse plugin) being shared by:
https://github.com/scala-js/scala-js/blob/0.6.x/project/Build.scala#L555
both
js
https://github.com/scala-js/scala-js/blob/0.6.x/project/Build.scala#L587
and
jvm
https://github.com/scala-js/scala-js/blob/0.6.x/project/Build.scala#L573
the solution is to use unique
name := "Scala.js XXX"
stanza for all projectssame problem also happens with IR:
https://github.com/scala-js/scala-js/blob/0.6.x/project/Build.scala#L474
https://github.com/scala-js/scala-js/blob/0.6.x/project/Build.scala#L482
https://github.com/scala-js/scala-js/blob/0.6.x/project/Build.scala#L491
can you please use
name := "Scala.js XXX"
pattern everywhere?in eclipse work spaces with few thousands projects that would make life easier:
The text was updated successfully, but these errors were encountered: