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

Python 3.6.2 Automatic target name deduction behaves differently #186

Closed
NiklasRosenstein opened this Issue Sep 2, 2017 · 0 comments

Comments

Projects
1 participant
@NiklasRosenstein
Collaborator

NiklasRosenstein commented Sep 2, 2017

jar = java.jar(
  inputs = java.compile(src_dir = project_dir),
  output = 'myapp',
  entry_point = 'Main'
)

In Python 3.4 and 3.5 this would give the java.compile() target an automatically generated target name, while the java.jar() would get the name "jar". In Python 3.6.2, both of them will get the name "jar" and thus the build script fails.

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