Skip to content

Commit

Permalink
Regenerate directories of GWT sources from scratch each time.
Browse files Browse the repository at this point in the history
Without this change, the GWT compiler may run with sources from a previous build.

Compare cl/711422476 for Guava.

RELNOTES=n/a
PiperOrigin-RevId: 713305805
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Jan 8, 2025
1 parent 3919c28 commit 0f4989f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@
<goals><goal>run</goal></goals>
<configuration>
<target name="copy-gwt-resources">
<delete dir="${project.build.directory}/gwt-sources" quiet="true" />

<copy toDir="${project.build.directory}/gwt-sources">
<fileset dir="${project.basedir}/src/main/java">
<include name="**/super/**/*.java"/>
Expand Down

0 comments on commit 0f4989f

Please sign in to comment.