cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1309691 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/configuration/XMLDataChannelDescriptorLoader.java
Date Thu, 05 Apr 2012 08:32:26 GMT
Author: aadamchik
Date: Thu Apr  5 08:32:26 2012
New Revision: 1309691

URL: http://svn.apache.org/viewvc?rev=1309691&view=rev
Log:
logging DataMap loading on startup

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/configuration/XMLDataChannelDescriptorLoader.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/configuration/XMLDataChannelDescriptorLoader.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/configuration/XMLDataChannelDescriptorLoader.java?rev=1309691&r1=1309690&r2=1309691&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/configuration/XMLDataChannelDescriptorLoader.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/configuration/XMLDataChannelDescriptorLoader.java
Thu Apr  5 08:32:26 2012
@@ -225,9 +225,12 @@ public class XMLDataChannelDescriptorLoa
                 String dataMapLocation = nameMapper.configurationLocation(
                         DataMap.class,
                         dataMapName);
+
                 Resource dataMapResource = baseResource
                         .getRelativeResource(dataMapLocation);
 
+                logger.info("Loading XML DataMap resource from " + dataMapResource.getURL());
+
                 DataMap dataMap = dataMapLoader.load(dataMapResource);
                 dataMap.setName(dataMapName);
                 dataMap.setLocation(dataMapLocation);



Mime
View raw message