From 38a19ea6a0b864447883328fe1103fd991a308f0 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Fri, 25 Jan 2019 15:49:50 -0800 Subject: [PATCH] mavenizing loadtime - wip --- loadtime/.classpath | 18 ----- loadtime/.cvsignore | 1 - loadtime/.isJava5 | 1 - loadtime/.project | 17 ----- loadtime/build.xml | 6 -- loadtime/pom.xml | 75 +++++++++++++++++++ .../java}/org/aspectj/weaver/loadtime/Aj.java | 0 .../loadtime/ClassLoaderWeavingAdaptor.java | 0 .../weaver/loadtime/ClassPreProcessor.java | 0 .../loadtime/ConcreteAspectCodeGen.java | 0 .../loadtime/DefaultMessageHandler.java | 0 .../loadtime/DefaultWeavingContext.java | 0 .../aspectj/weaver/loadtime/JRockitAgent.java | 0 .../org/aspectj/weaver/loadtime/Options.java | 0 .../loadtime/WeavingURLClassLoader.java | 0 .../org/aspectj/bea/jvm/ClassLibraryImpl.java | 0 .../java}/org/aspectj/bea/jvm/JVMImpl.java | 0 .../aspectj/loadtime/LoadtimeModuleTests.java | 0 .../org/aspectj/weaver/loadtime/AjTest.java | 0 .../ClassLoaderWeavingAdaptorTest.java | 0 .../weaver/loadtime/JRockitAgentTest.java | 0 .../weaver/loadtime/WeavingContextTest.java | 0 .../loadtime/WeavingURLClassLoaderTest.java | 0 .../loadtime/test/DocumentParserTest.java | 0 .../aspectj/weaver/loadtime/test/simple.xml | 0 .../weaver/loadtime/test/simpleWithDtd.xml | 0 .../test/java}/testdata/Apples.java | 0 ...ageService$$EnhancerByCGLIB$$6dd4e683.java | 0 .../test/java}/testdata/MySqlStatement.java | 0 .../test/java}/testdata/Oranges.java | 0 .../test/java}/testdata/sub/Apples.java | 0 .../test/java}/testdata/sub/Oranges.java | 0 32 files changed, 75 insertions(+), 43 deletions(-) delete mode 100644 loadtime/.classpath delete mode 100644 loadtime/.cvsignore delete mode 100644 loadtime/.isJava5 delete mode 100644 loadtime/.project delete mode 100644 loadtime/build.xml create mode 100644 loadtime/pom.xml rename loadtime/src/{ => main/java}/org/aspectj/weaver/loadtime/Aj.java (100%) rename loadtime/src/{ => main/java}/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java (100%) rename loadtime/src/{ => main/java}/org/aspectj/weaver/loadtime/ClassPreProcessor.java (100%) rename loadtime/src/{ => main/java}/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java (100%) rename loadtime/src/{ => main/java}/org/aspectj/weaver/loadtime/DefaultMessageHandler.java (100%) rename loadtime/src/{ => main/java}/org/aspectj/weaver/loadtime/DefaultWeavingContext.java (100%) rename loadtime/src/{ => main/java}/org/aspectj/weaver/loadtime/JRockitAgent.java (100%) rename loadtime/src/{ => main/java}/org/aspectj/weaver/loadtime/Options.java (100%) rename loadtime/src/{ => main/java}/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/bea/jvm/ClassLibraryImpl.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/bea/jvm/JVMImpl.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/loadtime/LoadtimeModuleTests.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/weaver/loadtime/AjTest.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptorTest.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/weaver/loadtime/JRockitAgentTest.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/weaver/loadtime/WeavingContextTest.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/weaver/loadtime/test/DocumentParserTest.java (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/weaver/loadtime/test/simple.xml (100%) rename loadtime/{testsrc => src/test/java}/org/aspectj/weaver/loadtime/test/simpleWithDtd.xml (100%) rename loadtime/{testsrc => src/test/java}/testdata/Apples.java (100%) rename loadtime/{testsrc => src/test/java}/testdata/MessageService$$EnhancerByCGLIB$$6dd4e683.java (100%) rename loadtime/{testsrc => src/test/java}/testdata/MySqlStatement.java (100%) rename loadtime/{testsrc => src/test/java}/testdata/Oranges.java (100%) rename loadtime/{testsrc => src/test/java}/testdata/sub/Apples.java (100%) rename loadtime/{testsrc => src/test/java}/testdata/sub/Oranges.java (100%) diff --git a/loadtime/.classpath b/loadtime/.classpath deleted file mode 100644 index 2d821b9df..000000000 --- a/loadtime/.classpath +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/loadtime/.cvsignore b/loadtime/.cvsignore deleted file mode 100644 index ba077a403..000000000 --- a/loadtime/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -bin diff --git a/loadtime/.isJava5 b/loadtime/.isJava5 deleted file mode 100644 index 136d06384..000000000 --- a/loadtime/.isJava5 +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/loadtime/.project b/loadtime/.project deleted file mode 100644 index 4d85d1286..000000000 --- a/loadtime/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - loadtime - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - diff --git a/loadtime/build.xml b/loadtime/build.xml deleted file mode 100644 index 5d64fdfce..000000000 --- a/loadtime/build.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/loadtime/pom.xml b/loadtime/pom.xml new file mode 100644 index 000000000..2d2a608e7 --- /dev/null +++ b/loadtime/pom.xml @@ -0,0 +1,75 @@ + + 4.0.0 + + + org.aspectj + aspectj-parent + 1.9.3.BUILD-SNAPSHOT + .. + + + loadtime + jar + loadtime + + + + org.aspectj + asm + ${project.version} + + + org.aspectj + bridge + ${project.version} + + + org.aspectj + util + ${project.version} + + + org.aspectj + weaver + ${project.version} + + + org.aspectj + org.aspectj.matcher + ${project.version} + + + org.aspectj + testing-util + ${project.version} + + + org.aspectj + bcel-builder + ${project.version} + + + xml-apis + xml-apis + 1.0 + system + ${project.basedir}/../lib/ant/lib/xml-apis.jar + + + xercesImpl + xercesImpl + 1.0 + system + ${project.basedir}/../lib/ant/lib/xercesImpl.jar + + + jrockit + jrockit + 1.0 + system + ${project.basedir}/../lib/ext/jrockit/jrockit.jar + + + diff --git a/loadtime/src/org/aspectj/weaver/loadtime/Aj.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/Aj.java similarity index 100% rename from loadtime/src/org/aspectj/weaver/loadtime/Aj.java rename to loadtime/src/main/java/org/aspectj/weaver/loadtime/Aj.java diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java similarity index 100% rename from loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java rename to loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassPreProcessor.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassPreProcessor.java similarity index 100% rename from loadtime/src/org/aspectj/weaver/loadtime/ClassPreProcessor.java rename to loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassPreProcessor.java diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java similarity index 100% rename from loadtime/src/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java rename to loadtime/src/main/java/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java diff --git a/loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/DefaultMessageHandler.java similarity index 100% rename from loadtime/src/org/aspectj/weaver/loadtime/DefaultMessageHandler.java rename to loadtime/src/main/java/org/aspectj/weaver/loadtime/DefaultMessageHandler.java diff --git a/loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/DefaultWeavingContext.java similarity index 100% rename from loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java rename to loadtime/src/main/java/org/aspectj/weaver/loadtime/DefaultWeavingContext.java diff --git a/loadtime/src/org/aspectj/weaver/loadtime/JRockitAgent.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/JRockitAgent.java similarity index 100% rename from loadtime/src/org/aspectj/weaver/loadtime/JRockitAgent.java rename to loadtime/src/main/java/org/aspectj/weaver/loadtime/JRockitAgent.java diff --git a/loadtime/src/org/aspectj/weaver/loadtime/Options.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/Options.java similarity index 100% rename from loadtime/src/org/aspectj/weaver/loadtime/Options.java rename to loadtime/src/main/java/org/aspectj/weaver/loadtime/Options.java diff --git a/loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java similarity index 100% rename from loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java rename to loadtime/src/main/java/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java diff --git a/loadtime/testsrc/org/aspectj/bea/jvm/ClassLibraryImpl.java b/loadtime/src/test/java/org/aspectj/bea/jvm/ClassLibraryImpl.java similarity index 100% rename from loadtime/testsrc/org/aspectj/bea/jvm/ClassLibraryImpl.java rename to loadtime/src/test/java/org/aspectj/bea/jvm/ClassLibraryImpl.java diff --git a/loadtime/testsrc/org/aspectj/bea/jvm/JVMImpl.java b/loadtime/src/test/java/org/aspectj/bea/jvm/JVMImpl.java similarity index 100% rename from loadtime/testsrc/org/aspectj/bea/jvm/JVMImpl.java rename to loadtime/src/test/java/org/aspectj/bea/jvm/JVMImpl.java diff --git a/loadtime/testsrc/org/aspectj/loadtime/LoadtimeModuleTests.java b/loadtime/src/test/java/org/aspectj/loadtime/LoadtimeModuleTests.java similarity index 100% rename from loadtime/testsrc/org/aspectj/loadtime/LoadtimeModuleTests.java rename to loadtime/src/test/java/org/aspectj/loadtime/LoadtimeModuleTests.java diff --git a/loadtime/testsrc/org/aspectj/weaver/loadtime/AjTest.java b/loadtime/src/test/java/org/aspectj/weaver/loadtime/AjTest.java similarity index 100% rename from loadtime/testsrc/org/aspectj/weaver/loadtime/AjTest.java rename to loadtime/src/test/java/org/aspectj/weaver/loadtime/AjTest.java diff --git a/loadtime/testsrc/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptorTest.java b/loadtime/src/test/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptorTest.java similarity index 100% rename from loadtime/testsrc/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptorTest.java rename to loadtime/src/test/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptorTest.java diff --git a/loadtime/testsrc/org/aspectj/weaver/loadtime/JRockitAgentTest.java b/loadtime/src/test/java/org/aspectj/weaver/loadtime/JRockitAgentTest.java similarity index 100% rename from loadtime/testsrc/org/aspectj/weaver/loadtime/JRockitAgentTest.java rename to loadtime/src/test/java/org/aspectj/weaver/loadtime/JRockitAgentTest.java diff --git a/loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingContextTest.java b/loadtime/src/test/java/org/aspectj/weaver/loadtime/WeavingContextTest.java similarity index 100% rename from loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingContextTest.java rename to loadtime/src/test/java/org/aspectj/weaver/loadtime/WeavingContextTest.java diff --git a/loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java b/loadtime/src/test/java/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java similarity index 100% rename from loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java rename to loadtime/src/test/java/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java diff --git a/loadtime/testsrc/org/aspectj/weaver/loadtime/test/DocumentParserTest.java b/loadtime/src/test/java/org/aspectj/weaver/loadtime/test/DocumentParserTest.java similarity index 100% rename from loadtime/testsrc/org/aspectj/weaver/loadtime/test/DocumentParserTest.java rename to loadtime/src/test/java/org/aspectj/weaver/loadtime/test/DocumentParserTest.java diff --git a/loadtime/testsrc/org/aspectj/weaver/loadtime/test/simple.xml b/loadtime/src/test/java/org/aspectj/weaver/loadtime/test/simple.xml similarity index 100% rename from loadtime/testsrc/org/aspectj/weaver/loadtime/test/simple.xml rename to loadtime/src/test/java/org/aspectj/weaver/loadtime/test/simple.xml diff --git a/loadtime/testsrc/org/aspectj/weaver/loadtime/test/simpleWithDtd.xml b/loadtime/src/test/java/org/aspectj/weaver/loadtime/test/simpleWithDtd.xml similarity index 100% rename from loadtime/testsrc/org/aspectj/weaver/loadtime/test/simpleWithDtd.xml rename to loadtime/src/test/java/org/aspectj/weaver/loadtime/test/simpleWithDtd.xml diff --git a/loadtime/testsrc/testdata/Apples.java b/loadtime/src/test/java/testdata/Apples.java similarity index 100% rename from loadtime/testsrc/testdata/Apples.java rename to loadtime/src/test/java/testdata/Apples.java diff --git a/loadtime/testsrc/testdata/MessageService$$EnhancerByCGLIB$$6dd4e683.java b/loadtime/src/test/java/testdata/MessageService$$EnhancerByCGLIB$$6dd4e683.java similarity index 100% rename from loadtime/testsrc/testdata/MessageService$$EnhancerByCGLIB$$6dd4e683.java rename to loadtime/src/test/java/testdata/MessageService$$EnhancerByCGLIB$$6dd4e683.java diff --git a/loadtime/testsrc/testdata/MySqlStatement.java b/loadtime/src/test/java/testdata/MySqlStatement.java similarity index 100% rename from loadtime/testsrc/testdata/MySqlStatement.java rename to loadtime/src/test/java/testdata/MySqlStatement.java diff --git a/loadtime/testsrc/testdata/Oranges.java b/loadtime/src/test/java/testdata/Oranges.java similarity index 100% rename from loadtime/testsrc/testdata/Oranges.java rename to loadtime/src/test/java/testdata/Oranges.java diff --git a/loadtime/testsrc/testdata/sub/Apples.java b/loadtime/src/test/java/testdata/sub/Apples.java similarity index 100% rename from loadtime/testsrc/testdata/sub/Apples.java rename to loadtime/src/test/java/testdata/sub/Apples.java diff --git a/loadtime/testsrc/testdata/sub/Oranges.java b/loadtime/src/test/java/testdata/sub/Oranges.java similarity index 100% rename from loadtime/testsrc/testdata/sub/Oranges.java rename to loadtime/src/test/java/testdata/sub/Oranges.java -- 2.39.5