From c8607ba782f90ef847488f0fc5bdc365c1e83317 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Sat, 2 Apr 2022 06:12:50 +0200 Subject: [PATCH] [#3143] Review and update jopatai's work on the maven/ecj agent jar * Update copyright headers * Update code style (tabs, not spaces, spaces around + operator - that's about it) * Use `x.class.getResourceAsStream`, not `x.getClass().` - minor mostly irrelevant nit. * Rename and re-locate the jar itself. * 'ecj' as an alias for this command seems a bit too cavalier' removed it. * The source is in its own 'root' src dir, it doesn't really fit in the eclipse agent sources - it's more a maven agent. * Fixed a bug where a filehandle wasn't safe closed. Mostly irrelevant (JVM would quite afterwards anyway). * Slight rewording of the ecj docs. --- buildScripts/compile.ant.xml | 13 ++- buildScripts/create-eclipse-project.ant.xml | 3 +- buildScripts/create-intellij-project.ant.xml | 3 +- buildScripts/maven.ant.xml | 3 +- .../eclipse/agent/MavenEcjBootstrapApp.java | 35 +++---- .../lombok/launch/AgentBootstrap.java | 92 ------------------- .../lombok/launch/MavenEcjBootstrapAgent.java | 83 +++++++++++++++++ website/templates/setup/ecj.html | 4 +- 8 files changed, 115 insertions(+), 121 deletions(-) delete mode 100644 src/eclipseAgent/lombok/launch/AgentBootstrap.java create mode 100644 src/mavenEcjBootstrapAgent/lombok/launch/MavenEcjBootstrapAgent.java diff --git a/buildScripts/compile.ant.xml b/buildScripts/compile.ant.xml index c32ae446dd..e4283c294d 100644 --- a/buildScripts/compile.ant.xml +++ b/buildScripts/compile.ant.xml @@ -1,5 +1,5 @@