From 68e9bc60f98ece8557eb6499326644a956d2dcf9 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Wed, 23 Jan 2019 13:02:59 -0800 Subject: [PATCH] mavenized bridge module --- bridge/.classpath | 9 ----- bridge/.cvsignore | 5 --- bridge/.isJava5 | 1 - bridge/.project | 18 ---------- bridge/build.xml | 6 ---- bridge/pom.xml | 25 +++++++++++++ .../org/aspectj/bridge/AbortException.java | 0 .../java}/org/aspectj/bridge/Constants.java | 0 .../bridge/CountingMessageHandler.java | 0 .../java}/org/aspectj/bridge/ICommand.java | 0 .../org/aspectj/bridge/ILifecycleAware.java | 0 .../java}/org/aspectj/bridge/IMessage.java | 0 .../org/aspectj/bridge/IMessageContext.java | 0 .../org/aspectj/bridge/IMessageHandler.java | 0 .../org/aspectj/bridge/IMessageHolder.java | 0 .../org/aspectj/bridge/IProgressListener.java | 0 .../org/aspectj/bridge/ISourceLocation.java | 0 .../java}/org/aspectj/bridge/Message.java | 0 .../org/aspectj/bridge/MessageHandler.java | 0 .../java}/org/aspectj/bridge/MessageUtil.java | 0 .../org/aspectj/bridge/MessageWriter.java | 0 .../org/aspectj/bridge/ReflectionFactory.java | 0 .../org/aspectj/bridge/SourceLocation.java | 0 .../java}/org/aspectj/bridge/Version.java | 2 +- .../org/aspectj/bridge/WeaveMessage.java | 0 .../context/CompilationAndWeavingContext.java | 0 .../bridge/context/ContextFormatter.java | 0 .../aspectj/bridge/context/ContextToken.java | 0 .../context/PinpointingMessageHandler.java | 0 .../bridge/CountingMessageHandlerTest.java | 0 .../java}/org/aspectj/bridge/MessageTest.java | 0 .../java}/org/aspectj/bridge/VersionTest.java | 0 .../CompilationAndWeavingContextTest.java | 0 .../org/aspectj/bridge/BridgeModuleTests.java | 35 ------------------- .../org/aspectj/bridge/BridgeTests.java | 35 ------------------- 35 files changed, 26 insertions(+), 110 deletions(-) delete mode 100644 bridge/.classpath delete mode 100644 bridge/.cvsignore delete mode 100644 bridge/.isJava5 delete mode 100644 bridge/.project delete mode 100644 bridge/build.xml create mode 100644 bridge/pom.xml rename bridge/src/{ => main/java}/org/aspectj/bridge/AbortException.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/Constants.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/CountingMessageHandler.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/ICommand.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/ILifecycleAware.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/IMessage.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/IMessageContext.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/IMessageHandler.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/IMessageHolder.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/IProgressListener.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/ISourceLocation.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/Message.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/MessageHandler.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/MessageUtil.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/MessageWriter.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/ReflectionFactory.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/SourceLocation.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/Version.java (97%) rename bridge/src/{ => main/java}/org/aspectj/bridge/WeaveMessage.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/context/CompilationAndWeavingContext.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/context/ContextFormatter.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/context/ContextToken.java (100%) rename bridge/src/{ => main/java}/org/aspectj/bridge/context/PinpointingMessageHandler.java (100%) rename bridge/{testsrc => src/test/java}/org/aspectj/bridge/CountingMessageHandlerTest.java (100%) rename bridge/{testsrc => src/test/java}/org/aspectj/bridge/MessageTest.java (100%) rename bridge/{testsrc => src/test/java}/org/aspectj/bridge/VersionTest.java (100%) rename bridge/{testsrc => src/test/java}/org/aspectj/bridge/context/CompilationAndWeavingContextTest.java (100%) delete mode 100644 bridge/testsrc/org/aspectj/bridge/BridgeModuleTests.java delete mode 100644 bridge/testsrc/org/aspectj/bridge/BridgeTests.java diff --git a/bridge/.classpath b/bridge/.classpath deleted file mode 100644 index 6544d226b..000000000 --- a/bridge/.classpath +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/bridge/.cvsignore b/bridge/.cvsignore deleted file mode 100644 index 8bdf2ac1e..000000000 --- a/bridge/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -bin -ant.properties -bridge.mf.txt - -bintest diff --git a/bridge/.isJava5 b/bridge/.isJava5 deleted file mode 100644 index 136d06384..000000000 --- a/bridge/.isJava5 +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/bridge/.project b/bridge/.project deleted file mode 100644 index 91c755134..000000000 --- a/bridge/.project +++ /dev/null @@ -1,18 +0,0 @@ - - - bridge - - - util - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - diff --git a/bridge/build.xml b/bridge/build.xml deleted file mode 100644 index 349b0aa8c..000000000 --- a/bridge/build.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/bridge/pom.xml b/bridge/pom.xml new file mode 100644 index 000000000..03ddca049 --- /dev/null +++ b/bridge/pom.xml @@ -0,0 +1,25 @@ + + 4.0.0 + + + org.aspectj + aspectj-parent + 1.9.3.BUILD-SNAPSHOT + .. + + + bridge + jar + bridge + + + + org.aspectj + util + ${project.version} + + + + diff --git a/bridge/src/org/aspectj/bridge/AbortException.java b/bridge/src/main/java/org/aspectj/bridge/AbortException.java similarity index 100% rename from bridge/src/org/aspectj/bridge/AbortException.java rename to bridge/src/main/java/org/aspectj/bridge/AbortException.java diff --git a/bridge/src/org/aspectj/bridge/Constants.java b/bridge/src/main/java/org/aspectj/bridge/Constants.java similarity index 100% rename from bridge/src/org/aspectj/bridge/Constants.java rename to bridge/src/main/java/org/aspectj/bridge/Constants.java diff --git a/bridge/src/org/aspectj/bridge/CountingMessageHandler.java b/bridge/src/main/java/org/aspectj/bridge/CountingMessageHandler.java similarity index 100% rename from bridge/src/org/aspectj/bridge/CountingMessageHandler.java rename to bridge/src/main/java/org/aspectj/bridge/CountingMessageHandler.java diff --git a/bridge/src/org/aspectj/bridge/ICommand.java b/bridge/src/main/java/org/aspectj/bridge/ICommand.java similarity index 100% rename from bridge/src/org/aspectj/bridge/ICommand.java rename to bridge/src/main/java/org/aspectj/bridge/ICommand.java diff --git a/bridge/src/org/aspectj/bridge/ILifecycleAware.java b/bridge/src/main/java/org/aspectj/bridge/ILifecycleAware.java similarity index 100% rename from bridge/src/org/aspectj/bridge/ILifecycleAware.java rename to bridge/src/main/java/org/aspectj/bridge/ILifecycleAware.java diff --git a/bridge/src/org/aspectj/bridge/IMessage.java b/bridge/src/main/java/org/aspectj/bridge/IMessage.java similarity index 100% rename from bridge/src/org/aspectj/bridge/IMessage.java rename to bridge/src/main/java/org/aspectj/bridge/IMessage.java diff --git a/bridge/src/org/aspectj/bridge/IMessageContext.java b/bridge/src/main/java/org/aspectj/bridge/IMessageContext.java similarity index 100% rename from bridge/src/org/aspectj/bridge/IMessageContext.java rename to bridge/src/main/java/org/aspectj/bridge/IMessageContext.java diff --git a/bridge/src/org/aspectj/bridge/IMessageHandler.java b/bridge/src/main/java/org/aspectj/bridge/IMessageHandler.java similarity index 100% rename from bridge/src/org/aspectj/bridge/IMessageHandler.java rename to bridge/src/main/java/org/aspectj/bridge/IMessageHandler.java diff --git a/bridge/src/org/aspectj/bridge/IMessageHolder.java b/bridge/src/main/java/org/aspectj/bridge/IMessageHolder.java similarity index 100% rename from bridge/src/org/aspectj/bridge/IMessageHolder.java rename to bridge/src/main/java/org/aspectj/bridge/IMessageHolder.java diff --git a/bridge/src/org/aspectj/bridge/IProgressListener.java b/bridge/src/main/java/org/aspectj/bridge/IProgressListener.java similarity index 100% rename from bridge/src/org/aspectj/bridge/IProgressListener.java rename to bridge/src/main/java/org/aspectj/bridge/IProgressListener.java diff --git a/bridge/src/org/aspectj/bridge/ISourceLocation.java b/bridge/src/main/java/org/aspectj/bridge/ISourceLocation.java similarity index 100% rename from bridge/src/org/aspectj/bridge/ISourceLocation.java rename to bridge/src/main/java/org/aspectj/bridge/ISourceLocation.java diff --git a/bridge/src/org/aspectj/bridge/Message.java b/bridge/src/main/java/org/aspectj/bridge/Message.java similarity index 100% rename from bridge/src/org/aspectj/bridge/Message.java rename to bridge/src/main/java/org/aspectj/bridge/Message.java diff --git a/bridge/src/org/aspectj/bridge/MessageHandler.java b/bridge/src/main/java/org/aspectj/bridge/MessageHandler.java similarity index 100% rename from bridge/src/org/aspectj/bridge/MessageHandler.java rename to bridge/src/main/java/org/aspectj/bridge/MessageHandler.java diff --git a/bridge/src/org/aspectj/bridge/MessageUtil.java b/bridge/src/main/java/org/aspectj/bridge/MessageUtil.java similarity index 100% rename from bridge/src/org/aspectj/bridge/MessageUtil.java rename to bridge/src/main/java/org/aspectj/bridge/MessageUtil.java diff --git a/bridge/src/org/aspectj/bridge/MessageWriter.java b/bridge/src/main/java/org/aspectj/bridge/MessageWriter.java similarity index 100% rename from bridge/src/org/aspectj/bridge/MessageWriter.java rename to bridge/src/main/java/org/aspectj/bridge/MessageWriter.java diff --git a/bridge/src/org/aspectj/bridge/ReflectionFactory.java b/bridge/src/main/java/org/aspectj/bridge/ReflectionFactory.java similarity index 100% rename from bridge/src/org/aspectj/bridge/ReflectionFactory.java rename to bridge/src/main/java/org/aspectj/bridge/ReflectionFactory.java diff --git a/bridge/src/org/aspectj/bridge/SourceLocation.java b/bridge/src/main/java/org/aspectj/bridge/SourceLocation.java similarity index 100% rename from bridge/src/org/aspectj/bridge/SourceLocation.java rename to bridge/src/main/java/org/aspectj/bridge/SourceLocation.java diff --git a/bridge/src/org/aspectj/bridge/Version.java b/bridge/src/main/java/org/aspectj/bridge/Version.java similarity index 97% rename from bridge/src/org/aspectj/bridge/Version.java rename to bridge/src/main/java/org/aspectj/bridge/Version.java index 835127c75..367efaf73 100644 --- a/bridge/src/org/aspectj/bridge/Version.java +++ b/bridge/src/main/java/org/aspectj/bridge/Version.java @@ -37,7 +37,7 @@ public class Version { * Time text set by build script using SIMPLE_DATE_FORMAT. * (if DEVELOPMENT version, invalid) */ - public static final String time_text = "Friday Nov 18, 2016 at 16:34:52 GMT"; + public static final String time_text = "Tuesday Jan 15, 2019 at 00:53:54 GMT"; /** * time in seconds-since-... format, used by programmatic clients. diff --git a/bridge/src/org/aspectj/bridge/WeaveMessage.java b/bridge/src/main/java/org/aspectj/bridge/WeaveMessage.java similarity index 100% rename from bridge/src/org/aspectj/bridge/WeaveMessage.java rename to bridge/src/main/java/org/aspectj/bridge/WeaveMessage.java diff --git a/bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java b/bridge/src/main/java/org/aspectj/bridge/context/CompilationAndWeavingContext.java similarity index 100% rename from bridge/src/org/aspectj/bridge/context/CompilationAndWeavingContext.java rename to bridge/src/main/java/org/aspectj/bridge/context/CompilationAndWeavingContext.java diff --git a/bridge/src/org/aspectj/bridge/context/ContextFormatter.java b/bridge/src/main/java/org/aspectj/bridge/context/ContextFormatter.java similarity index 100% rename from bridge/src/org/aspectj/bridge/context/ContextFormatter.java rename to bridge/src/main/java/org/aspectj/bridge/context/ContextFormatter.java diff --git a/bridge/src/org/aspectj/bridge/context/ContextToken.java b/bridge/src/main/java/org/aspectj/bridge/context/ContextToken.java similarity index 100% rename from bridge/src/org/aspectj/bridge/context/ContextToken.java rename to bridge/src/main/java/org/aspectj/bridge/context/ContextToken.java diff --git a/bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java b/bridge/src/main/java/org/aspectj/bridge/context/PinpointingMessageHandler.java similarity index 100% rename from bridge/src/org/aspectj/bridge/context/PinpointingMessageHandler.java rename to bridge/src/main/java/org/aspectj/bridge/context/PinpointingMessageHandler.java diff --git a/bridge/testsrc/org/aspectj/bridge/CountingMessageHandlerTest.java b/bridge/src/test/java/org/aspectj/bridge/CountingMessageHandlerTest.java similarity index 100% rename from bridge/testsrc/org/aspectj/bridge/CountingMessageHandlerTest.java rename to bridge/src/test/java/org/aspectj/bridge/CountingMessageHandlerTest.java diff --git a/bridge/testsrc/org/aspectj/bridge/MessageTest.java b/bridge/src/test/java/org/aspectj/bridge/MessageTest.java similarity index 100% rename from bridge/testsrc/org/aspectj/bridge/MessageTest.java rename to bridge/src/test/java/org/aspectj/bridge/MessageTest.java diff --git a/bridge/testsrc/org/aspectj/bridge/VersionTest.java b/bridge/src/test/java/org/aspectj/bridge/VersionTest.java similarity index 100% rename from bridge/testsrc/org/aspectj/bridge/VersionTest.java rename to bridge/src/test/java/org/aspectj/bridge/VersionTest.java diff --git a/bridge/testsrc/org/aspectj/bridge/context/CompilationAndWeavingContextTest.java b/bridge/src/test/java/org/aspectj/bridge/context/CompilationAndWeavingContextTest.java similarity index 100% rename from bridge/testsrc/org/aspectj/bridge/context/CompilationAndWeavingContextTest.java rename to bridge/src/test/java/org/aspectj/bridge/context/CompilationAndWeavingContextTest.java diff --git a/bridge/testsrc/org/aspectj/bridge/BridgeModuleTests.java b/bridge/testsrc/org/aspectj/bridge/BridgeModuleTests.java deleted file mode 100644 index 5811f987d..000000000 --- a/bridge/testsrc/org/aspectj/bridge/BridgeModuleTests.java +++ /dev/null @@ -1,35 +0,0 @@ -package org.aspectj.bridge; -/* ******************************************************************* - * Copyright (c) 1999-2001 Xerox Corporation, - * 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Xerox/PARC initial implementation - * ******************************************************************/ - - -// default package - -import org.aspectj.bridge.context.CompilationAndWeavingContextTest; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -public class BridgeModuleTests extends TestCase { - - public static Test suite() { - TestSuite suite = new TestSuite(BridgeModuleTests.class.getName()); - suite.addTest(org.aspectj.bridge.BridgeTests.suite()); - suite.addTestSuite(CompilationAndWeavingContextTest.class); - return suite; - } - - public BridgeModuleTests(String name) { super(name); } - -} diff --git a/bridge/testsrc/org/aspectj/bridge/BridgeTests.java b/bridge/testsrc/org/aspectj/bridge/BridgeTests.java deleted file mode 100644 index 5d0b1d0f8..000000000 --- a/bridge/testsrc/org/aspectj/bridge/BridgeTests.java +++ /dev/null @@ -1,35 +0,0 @@ -/* ******************************************************************* - * Copyright (c) 1999-2001 Xerox Corporation, - * 2002 Palo Alto Research Center, Incorporated (PARC). - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Xerox/PARC initial implementation - * ******************************************************************/ - - -package org.aspectj.bridge; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -public class BridgeTests extends TestCase { - - public static Test suite() { - TestSuite suite = new TestSuite(BridgeTests.class.getName()); - //$JUnit-BEGIN$ - suite.addTestSuite(CountingMessageHandlerTest.class); - suite.addTestSuite(MessageTest.class); - suite.addTestSuite(VersionTest.class); - //$JUnit-END$ - return suite; - } - - public BridgeTests(String name) { super(name); } - -} -- 2.39.5