Add annotation processor settings to goal idea

Review Request #2753 - Created Sept. 2, 2015 and submitted

Information
Eric Ayers
pants
zundel/add-annotation-processor-to-idea
2119
e2abeab...
Reviewers
pants-reviews
fkorotkov, gmalmquist, tejal
Add annotation processor settings to goal idea

CI running at:

This is a way to get AutoValue generated code into IntelliJ projects generated with goal idea.

Tested locally with:

./pants idea examples/src/java/org/pantsbuild/example/autovalue:: \
  --idea-annotation-processing-enabled \
  --idea-annotation-processor=com.google.auto.value.processor.AutoValueProcessor

Then ran 'Build' --> 'Rebuild Project' and made sure we could navigate to the generated source and run the example

Also ran the following command to make sure things still worked without annotation processing turned on (as well as they ever did, that is)

./pants idea examples/tests/java/org/pantsbuild/example/hello:: examples/src/java/org/pantsbuild/example/hello::

Issues

  • 0
  • 3
  • 1
  • 4
Description From Last Updated
Fedor Korotkov
Garrett Malmquist
Fedor Korotkov
Eric Ayers
Review request changed

Status: Closed (submitted)

Change Summary:

Thanks Fedor & Garrett. Commit 835ec7c

Loading...