tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r573977 - in /incubator/tuscany/java/sca: distribution/webapp/src/main/java/org/apache/tuscany/sca/webapp/WarContextListener.java modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java
Date Sun, 09 Sep 2007 10:00:10 GMT
Author: antelder
Date: Sun Sep  9 03:00:09 2007
New Revision: 573977

URL: http://svn.apache.org/viewvc?rev=573977&view=rev
Log:
Get node info dispay working with webapp distro

Modified:
    incubator/tuscany/java/sca/distribution/webapp/src/main/java/org/apache/tuscany/sca/webapp/WarContextListener.java
    incubator/tuscany/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java

Modified: incubator/tuscany/java/sca/distribution/webapp/src/main/java/org/apache/tuscany/sca/webapp/WarContextListener.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/distribution/webapp/src/main/java/org/apache/tuscany/sca/webapp/WarContextListener.java?rev=573977&r1=573976&r2=573977&view=diff
==============================================================================
--- incubator/tuscany/java/sca/distribution/webapp/src/main/java/org/apache/tuscany/sca/webapp/WarContextListener.java
(original)
+++ incubator/tuscany/java/sca/distribution/webapp/src/main/java/org/apache/tuscany/sca/webapp/WarContextListener.java
Sun Sep  9 03:00:09 2007
@@ -128,7 +128,7 @@
         classLoader.addURL(contribution);
         ((ContributionManagerImpl)node.getContributionManager()).addContributionJAR(contribution);
         existingContributions.put(contribution, new Long(new File(contribution.toURI()).lastModified()));
-        logger.log(Level.INFO, "Added contribution", contribution);
+        logger.log(Level.INFO, "Added contribution: " + contribution);
     }
 
     protected URL[] getContributionJarURLs(File repositoryDir) {
@@ -208,11 +208,6 @@
         for (URL url : currentContrabutions) {
             if (!existingContributions.containsKey(url)) {
                 urls.add(url);
-                try {
-                    logger.info("added contribution: " + new File(url.toURI()).getName());
-                } catch (URISyntaxException e) {
-                    throw new RuntimeException(e);
-                }
             }
         }
         return urls;

Modified: incubator/tuscany/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java?rev=573977&r1=573976&r2=573977&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java
(original)
+++ incubator/tuscany/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppServletHost.java
Sun Sep  9 03:00:09 2007
@@ -65,12 +65,6 @@
     public void addServletMapping(String suri, Servlet servlet) throws ServletMappingException
{
         URI pathURI = URI.create(suri);
 
-        // Ignore registrations of the Tuscany default resource servlet, as resources
-        // are already served by the web container
-        if (servlet instanceof DefaultResourceServlet) {
-            return;
-        }
-
         // Make sure that the path starts with a /
         suri = pathURI.getPath();
         if (!suri.startsWith("/")) {



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message