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

Exclude test classes in artifacts #101

Open
izeye opened this Issue Apr 4, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@izeye

izeye commented Apr 4, 2018

jython-standalone-2.7.1.jar includes test classes like ScriptEngineTest. It looks caused by build misconfiguration.

@jeff5

This comment has been minimized.

Member

jeff5 commented Apr 6, 2018

Valid point.

It's useful to have tests in the same Java package as the things they test, but then they end up in the build directory and JAR. We could either:

  1. (clean and) not compile those tests when making a distributable, or
  2. try to exclude them by name when making the JAR.

Correlates with http://bugs.jython.org/issue2665

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment