Open Bathtor opened 7 years ago
Possibly affected by fix to #352 (in https://github.com/sbt/sbteclipse/pull/355/files) since that's also about eclipseOutput
defaults?
I just tried with sbteclipse 5.2.4 (which I think includes that commit) and the issue still persists.
There appears to be an issue with shared sources in ScalaJS crossProject builds with Eclipse.
Consider a standard setup of
If I import into eclipse like this, Eclipse finds the shared folders, but it sets their output folders to the source folder. See (from .classpath in the JS project):
When I set
eclipseOutput
manually to some other folder, it generates the correct output, as seen below.I don't know how sbt-eclipse decides what output path to default to when
eclipseOutput
isNone
, but at least in this case it's not the right thing. This might, of course, be an issue on the ScalaJS plugin side, I don't know.Edit: Sorry forgot to write versions: