activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r418686 - in /incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool: AbstractJmsClientSystem.java spi/ClassLoaderSPIConnectionFactory.java
Date Mon, 03 Jul 2006 05:42:35 GMT
Author: aco
Date: Sun Jul  2 22:42:35 2006
New Revision: 418686

URL: http://svn.apache.org/viewvc?rev=418686&view=rev
Log:
Add some info when loading properties and extDir files.

Modified:
    incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/AbstractJmsClientSystem.java
    incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/spi/ClassLoaderSPIConnectionFactory.java

Modified: incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/AbstractJmsClientSystem.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/AbstractJmsClientSystem.java?rev=418686&r1=418685&r2=418686&view=diff
==============================================================================
--- incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/AbstractJmsClientSystem.java
(original)
+++ incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/AbstractJmsClientSystem.java
Sun Jul  2 22:42:35 2006
@@ -237,7 +237,7 @@
         if (args == null || args.length == 0) {
             return props; // Empty properties
         }
-        
+
         for (int i=0; i<args.length; i++) {
             String arg = args[i];
             if (arg.startsWith("-D") || arg.startsWith("-d")) {
@@ -259,6 +259,7 @@
         Properties fileProps = new Properties();
         try {
             if (configFile != null) {
+                log.info("Loading properties file: " + configFile.getAbsolutePath());
                 fileProps.load(new FileInputStream(configFile));
             }
         } catch (IOException e) {

Modified: incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/spi/ClassLoaderSPIConnectionFactory.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/spi/ClassLoaderSPIConnectionFactory.java?rev=418686&r1=418685&r2=418686&view=diff
==============================================================================
--- incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/spi/ClassLoaderSPIConnectionFactory.java
(original)
+++ incubator/activemq/trunk/tooling/maven-activemq-perf-plugin/src/main/java/org/apache/activemq/tool/spi/ClassLoaderSPIConnectionFactory.java
Sun Jul  2 22:42:35 2006
@@ -51,14 +51,14 @@
                 String dir = tokens.nextToken();
                 try {
                     File f = new File(dir);
-                    dir = f.getAbsolutePath();
+                    log.info("Adding extension dir: " + f.getAbsolutePath());
                     urls.add(f.toURL());
 
                     File[] files = f.listFiles();
                     if( files!=null ) {
                         for (int j = 0; j < files.length; j++) {
                             if( files[j].getName().endsWith(".zip") || files[j].getName().endsWith(".jar")
) {
-                                dir = files[j].getAbsolutePath();
+                                log.info("Adding extension dir: " + files[j].getAbsolutePath());
                                 urls.add(files[j].toURL());
                             }
                         }



Mime
View raw message