]> source.dussan.org Git - aspectj.git/commitdiff
fix for 120543 - from Matthew - includes datestamp in weaver info message on LTW...
authoraclement <aclement>
Tue, 13 Dec 2005 14:03:53 +0000 (14:03 +0000)
committeraclement <aclement>
Tue, 13 Dec 2005 14:03:53 +0000 (14:03 +0000)
tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java

index 3610790c0d7eb51665a51cb8a6eba22d057b438c..94f16616ada0a8b4b77b61bad9208fea1ca564b4 100644 (file)
                 <line text="Main.test2"/>
             </stdout>
                <stderr>
+                               <line text="info AspectJ Weaver Version"/>
                                <line text="info register classloader org.aspectj.weaver.loadtime.WeavingURLClassLoader"/>
                                <line text="info no configuration found. Disabling weaver for class loader org.aspectj.weaver.loadtime.WeavingURLClassLoader"/>
             </stderr>
index 6b62365e8f18177817541cf1fc1582ab256c2c5e..e47022a9a709627006cda9c272d01d849c32e644 100644 (file)
@@ -35,6 +35,7 @@ import org.aspectj.bridge.IMessageHandler;
 import org.aspectj.bridge.Message;
 import org.aspectj.bridge.MessageUtil;
 import org.aspectj.bridge.MessageWriter;
+import org.aspectj.bridge.Version;
 import org.aspectj.bridge.IMessage.Kind;
 import org.aspectj.util.FileUtil;
 import org.aspectj.util.LangUtil;
@@ -163,6 +164,7 @@ public class WeavingAdaptor {
                messageHandler = new WeavingAdaptorMessageHandler(new PrintWriter(System.err));
                if (verbose) messageHandler.dontIgnore(IMessage.INFO);
                if (Boolean.getBoolean(SHOW_WEAVE_INFO_PROPERTY)) messageHandler.dontIgnore(IMessage.WEAVEINFO);
+               info("AspectJ Weaver Version " + Version.text + " built on " + Version.time_text);  //$NON-NLS-1$
        }
        
        /**