-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[IDE] cannot import src/main/scala & src/test/scala into eclipse as sour... #4531
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
Conversation
…ource folder When import the whole project into eclipse as maven project, found that the src/main/scala & src/test/scala can not be set as source folder as default behavior, so add a "add-source" goal in scala-maven-plugin to let this work.
|
Can one of the admins verify this patch? |
|
Hm, I wonder why? |
|
I'm not sure why it has this behavior, but the eclipse surely act as that. I've tested in Eclipse 3.8 and 4.3 with scala-plugin and scala-maven-plugin in both linux and windows platform, and got the same results. And after add this add-source goal, the src/main/scala will be imported as source folder which is reasonable. |
|
Can anyone else using Eclipse comment? I know people have been using Spark in Eclipse successfully already. |
|
ok to test |
|
Test build #27396 has started for PR 4531 at commit
|
|
Test build #27396 has finished for PR 4531 at commit
|
|
Test PASSed. |
|
OK. Can't really hurt as the effect should just be to establish |
… eclipse as source folder When import the whole project into eclipse as maven project, found that the src/main/scala & src/test/scala can not be set as source folder as default behavior, so add a "add-source" goal in scala-maven-plugin to let this work. Author: gli <[email protected]> Closes #4531 from ligangty/addsource and squashes the following commits: 4e4db4c [gli] [IDE] cannot import src/main/scala & src/test/scala into eclipse as source folder (cherry picked from commit ed5f4bb) Signed-off-by: Sean Owen <[email protected]>
...ce folder
When import the whole project into eclipse as maven project, found that the
src/main/scala & src/test/scala can not be set as source folder as default
behavior, so add a "add-source" goal in scala-maven-plugin to let this work.