Skip to content

Commit

Permalink
Mark RFJE to no longer be included in GWT artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Jul 17, 2024
1 parent d18c71a commit be9a219
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions requestfactory/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<jvmarg value="-ea"/>
<arg value="@{target}"/>
<arg file="${gwt.build.lib}/requestfactory-@{target}.jar"/>
<arg value="used-to-build-gwt" />
</java>
</sequential>
</macrodef>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@

/**
* Used to extract RequestFactory client jars from {@code gwt-user.jar}.
*
* @deprecated Will not be deleted from source, but will no longer be included in GWT artifacts, as
* this is only intended for use as a build tool.
*/
@Deprecated
public class RequestFactoryJarExtractor {
/*
* The FooProcessor types are ASM visitors that traverse the bytecode, calling
Expand Down Expand Up @@ -843,6 +847,12 @@ public static void main(String[] args) throws IOException {
}
System.exit(1);
}
if (args.length != 3 || !"used-to-build-gwt".equals(args[2])) {
// Test for magic sentinel, warn if not present
System.err.println("RequestFactoryJarExtractor is deprecated for removal from build " +
"artifacts, if you have a use case that requires it please discuss at " +
"https://github.com/gwtproject/gwt/issues/9923.");
}
String target = args[0];
List<Class<?>> seeds = SEEDS.get(target);
if (seeds == null) {
Expand Down

0 comments on commit be9a219

Please sign in to comment.