Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructured the SBT configuration to play better together with IntelliJ IDEA #3

Closed
wants to merge 1 commit into from

Conversation

werk
Copy link

@werk werk commented Dec 11, 2014

The shared source code directory as been replaced by a shared SBT project. The two projects for JS and JVM is now depending on the shared project, but as 'Provided'. They are still adding the shared source directory to their 'unmanagedSourceDirectories' list. Including this directory, that is outside the projects base directory, will not take effect in IntelliJ and generate a warning. But IntelliJ will still see the right dependencies to the shared code due to the project dependencies.

Tested in Idea 14.0 on Linux. I am not using the gen-idea SBT plugin.

…DE IntelliJ Idea.

The shared source code directory as been replaced by a SBT project. The two projects for JS and JVM is now depending on the shared project, but as 'Provided'. They are still adding the shared source directory to their 'unmanagedSourceDirectories' list. Including this directory, that is outside the projects base directory, will not take effect in IntelliJ and generate a warning. But IntelliJ will still see the right dependencies to the shared code due to the project dependencies.
@sjrd
Copy link
Member

sjrd commented Dec 11, 2014

Did you read this: https://groups.google.com/forum/#!topic/scala-js/Ws8iBtygUXY
And this: scala-js/scala-js#1067
?

How does this affect Eclipse? Project metadata?
The Provided dependency is annoying from the sbt point of view because it puts shared source files twice on the classpath, instead of only once.

@werk werk closed this Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants