Skip to content

Commit

Permalink
With the old class removed, expose gwtincompatiblestripper
Browse files Browse the repository at this point in the history
Also increment version, since this is a breaking change.
  • Loading branch information
niloc132 committed Jul 7, 2020
1 parent 549743f commit d22bd48
Show file tree
Hide file tree
Showing 41 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion maven/ast-annotations-internal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>ast-annotations-internal</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/ast-annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>ast-annotations</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/ast-processors-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>ast-processors-common</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/ast-visitors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>ast-visitors</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/ast/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>ast</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>bootstrap</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>common</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.core.contenttype</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/org.eclipse.core.jobs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.core.jobs</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.core.resources</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.core.runtime</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.equinox.common</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.equinox.preferences</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.jdt.compiler.apt</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/org.eclipse.jdt.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.jdt.core</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/org.eclipse.osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.osgi</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/org.eclipse.text/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>org.eclipse</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.text</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/org.eclipse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>external-dependencies</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/external/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<groupId>com.vertispan.j2cl.external</groupId>
<artifactId>external-dependencies</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven/frontend-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>frontend-common</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/frontend-javac/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>frontend-javac</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/frontend-jdt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>frontend-jdt</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/frontend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>frontend</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>generator</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/gwt-incompatible-stripper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>gwt-incompatible-stripper</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/gwt-internal-annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>gwt-internal-annotations</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/javac-bootstrap-classpath/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>javac-bootstrap-classpath</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/jre/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>jre</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/junit/annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>junit-annotations</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven/junit/async/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>junit-async</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven/junit/closure-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>closure-test</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven/junit/emul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>junit-emul</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven/junit/gwttestcase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>gwttestcase-emul</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven/junit/processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>junit-processor</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven/junit/processor/unshaded-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>junit-processor-unshaded</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion maven/libraryinfo-proto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>libraryinfo-proto</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/libraryinfo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>libraryinfo</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/minifier/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>minifier</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion maven/transpiler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-parent</artifactId>
<version>0.7-SNAPSHOT</version>
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>transpiler</artifactId>
<packaging>pom</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
* A helper to comment out source code elements annotated with @GwtIncompatible so that they are
* ignored by tools taking that source as input such as the java compile or the j2cl transpile.
*/
final class GwtIncompatibleStripper {
public final class GwtIncompatibleStripper {

static Problems strip(List<String> files, String outputPath) {
try {
Expand All @@ -68,7 +68,7 @@ static Problems strip(List<String> files, String outputPath) {
}

/** Preprocess all provided files and put them to provided output path. */
private static void preprocessFiles(List<FileInfo> fileInfos, Path output, Problems problems) {
public static void preprocessFiles(List<FileInfo> fileInfos, Path output, Problems problems) {
for (FileInfo fileInfo : fileInfos) {
String processedFileContent;
try {
Expand Down

0 comments on commit d22bd48

Please # to comment.