wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From el...@apache.org
Subject svn commit: r815720 - in /incubator/wink/trunk/wink-common/src/main: java/org/apache/wink/common/internal/application/ApplicationFileLoader.java resources/org/apache/wink/common/internal/i18n/resource.properties
Date Wed, 16 Sep 2009 10:59:56 GMT
Author: elman
Date: Wed Sep 16 10:59:55 2009
New Revision: 815720

URL: http://svn.apache.org/viewvc?rev=815720&view=rev
Log:
add logging message

Modified:
    incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/application/ApplicationFileLoader.java
    incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties

Modified: incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/application/ApplicationFileLoader.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/application/ApplicationFileLoader.java?rev=815720&r1=815719&r2=815720&view=diff
==============================================================================
--- incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/application/ApplicationFileLoader.java
(original)
+++ incubator/wink/trunk/wink-common/src/main/java/org/apache/wink/common/internal/application/ApplicationFileLoader.java
Wed Sep 16 10:59:55 2009
@@ -122,6 +122,7 @@
                     cls = Class.forName(line);
                     if (ResourceMetadataCollector.isStaticResource(cls) || ProviderMetadataCollector
                         .isProvider(cls)) {
+                        logger.debug(Messages.getMessage("loadingClassToApplication"), line);
                         classes.add(cls);
                     } else {
                         logger.warn(Messages.getMessage("classNotAResourceNorProvider"),
cls);

Modified: incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties?rev=815720&r1=815719&r2=815720&view=diff
==============================================================================
--- incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties
(original)
+++ incubator/wink/trunk/wink-common/src/main/resources/org/apache/wink/common/internal/i18n/resource.properties
Wed Sep 16 10:59:55 2009
@@ -26,7 +26,7 @@
 resourceClassNotValid=The resource class {} is not a valid resource. Ignoring.
 classInstantiationException=Failed to instantiate class {}.
 classIllegalAccess=Illegal access to {}.
-
+loadingClassToApplication=Class {} was added to application.
 loadingApplication=Loading application from {}.
 
 



Mime
View raw message