maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r707639 - /maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/LoadMojo.java
Date Fri, 24 Oct 2008 14:08:28 GMT
Author: bentmann
Date: Fri Oct 24 07:08:27 2008
New Revision: 707639

URL: http://svn.apache.org/viewvc?rev=707639&view=rev
Log:
o Extended logging

Modified:
    maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/LoadMojo.java

Modified: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/LoadMojo.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/LoadMojo.java?rev=707639&r1=707638&r2=707639&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/LoadMojo.java
(original)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-class-loader/maven-it-plugin-class-loader/src/main/java/org/apache/maven/plugin/coreit/LoadMojo.java
Fri Oct 24 07:08:27 2008
@@ -143,6 +143,7 @@
                 try
                 {
                     Class type = classLoader.loadClass( name );
+                    getLog().info( "[MAVEN-CORE-IT-LOG]   Loaded class from " + type.getClassLoader()
);
                     try
                     {
                         type = childClassLoader.loadClass( name );
@@ -179,6 +180,7 @@
                 catch ( ClassNotFoundException e )
                 {
                     // ignore, will be reported by means of missing keys in the properties
file
+                    getLog().info( "[MAVEN-CORE-IT-LOG]   Class not available" );
                 }
             }
         }
@@ -193,6 +195,7 @@
 
                 // test ClassLoader.getResource()
                 URL url = classLoader.getResource( path );
+                getLog().info( "[MAVEN-CORE-IT-LOG]   Loaded resource from " + url );
                 if ( url != null && !url.equals( childClassLoader.getResource( path
) ) )
                 {
                     getLog().error( "[MAVEN-CORE-IT-LOG] Detected class loader defect while
getting " + path );



Mime
View raw message