Skip to content

Commit

Permalink
Update code-change-guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liferoad authored Nov 4, 2024
1 parent adc7143 commit beba671
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions contributor-docs/code-change-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ To run a Gradle task, use the command `./gradlew -p <PROJECT_PATH> <TASK>` or th
./gradlew :sdks:java:harness:test
```

**It is recommended to run `./gradlew clean` if you run into some strange errors such as `java.lang.NoClassDefFoundError`.**

#### Beam-specific Gradle project configuration

For Apache Beam, one plugin manages everything: `buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin`.
Expand Down Expand Up @@ -626,6 +624,11 @@ Tips for using the Dataflow runner:
## Appendix
### Common Issues
* If you run into some strange errors such as `java.lang.NoClassDefFoundError`, run `./gradlew clean` first
* To run one single Java test with gradle, use `--tests` to filter, for example, `./gradlew :it:google-cloud-platform:WordCountIntegrationTest --tests "org.apache.beam.it.gcp.WordCountIT.testWordCountDataflow"`
### Directories of snapshot builds
* https://repository.apache.org/content/groups/snapshots/org/apache/beam/ Java SDK build (nightly)
Expand Down

0 comments on commit beba671

Please sign in to comment.