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

sbteclipse does not create <classpathentry kind="src" ...> for "it" and "e2e" test directories #324

Open
ceilican opened this issue Nov 17, 2016 · 2 comments

Comments

@ceilican
Copy link

I have created special folders and sbt tasks for integration tests and end-to-end tests, following these instructions: https://orrsella.com/2014/09/24/integration-and-end-to-end-test-configurations-in-sbt-for-scala-java-projects/ .

I expected sbteclipse to automatically add

  <classpathentry kind="src" path="src/it/scala"/>
  <classpathentry kind="src" path="src/e2e/scala"/>

to .classpath. But it didn't. I had to add this information manually.

@scottcarey
Copy link

Yeah, I have had issues with that too. We have src/it directories that have to be manually added to 'java buld path' every time the projects are generated.

@DavidGregory084
Copy link

From the docs:

configurations

This setting of type Set[Configuration] lets you control the configurations to take into account. It defaults to Set(Compile, Test).

I think you will need to add IntegrationTest and whatever your e2e configuration is called to this key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants