cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject svn commit: rev 35687 - in cocoon/branches/butterfly: . src/java/org/apache/butterfly/servlet
Date Wed, 04 Aug 2004 15:43:12 GMT
Author: ugo
Date: Wed Aug  4 08:43:11 2004
New Revision: 35687

Modified:
   cocoon/branches/butterfly/build.xml
   cocoon/branches/butterfly/src/java/org/apache/butterfly/servlet/ButterflyServlet.java
Log:
Fixed copying of grooovy scripts.


Modified: cocoon/branches/butterfly/build.xml
==============================================================================
--- cocoon/branches/butterfly/build.xml	(original)
+++ cocoon/branches/butterfly/build.xml	Wed Aug  4 08:43:11 2004
@@ -64,8 +64,8 @@
     <!-- Copy applicationContext file -->
     <copy file="src/java/applicationContext.xml" todir="${webapp.dir}/WEB-INF"/>
     <!-- Copy Groovy scripts -->
-    <copy todir="${classes.dir}">
-      <fileset dir="src/java" includes="*.groovy"/>
+    <copy todir="${webapp.dir}/WEB-INF/classes">
+      <fileset dir="src/java" includes="**/*.groovy"/>
     </copy>
   </target>
 	

Modified: cocoon/branches/butterfly/src/java/org/apache/butterfly/servlet/ButterflyServlet.java
==============================================================================
--- cocoon/branches/butterfly/src/java/org/apache/butterfly/servlet/ButterflyServlet.java
(original)
+++ cocoon/branches/butterfly/src/java/org/apache/butterfly/servlet/ButterflyServlet.java
Wed Aug  4 08:43:11 2004
@@ -114,6 +114,7 @@
         try {
             Class pipelineClass = loader.parseClass(getClass().getResourceAsStream("Pipeline.groovy"));
             // Parse the main sitemap
+            System.err.println(this.servletContext.getResource("sitemap.groovy").getFile());
             FileInputStream fis = new FileInputStream(this.servletContext.getResource("sitemap.groovy").getFile());
             Class sitemapClass = loader.parseClass(fis);
             GroovyObject sitemap = (GroovyObject) sitemapClass.newInstance();

Mime
View raw message