cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r385530 - /cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml
Date Mon, 13 Mar 2006 12:16:49 GMT
Author: bruno
Date: Mon Mar 13 04:16:47 2006
New Revision: 385530

URL: http://svn.apache.org/viewcvs?rev=385530&view=rev
Log:
Make sure template-instructions.xml is included in the jar

Modified:
    cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml

Modified: cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml?rev=385530&r1=385529&r2=385530&view=diff
==============================================================================
--- cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml (original)
+++ cocoon/trunk/cocoon-template/cocoon-template-impl/pom.xml Mon Mar 13 04:16:47 2006
@@ -37,4 +37,22 @@
       <version>2.2.0-SNAPSHOT</version>
     </dependency>
   </dependencies>
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+      </resource>
+      <!-- Note: the file template-instructions.xml is not in the default resources directory
as
+                 the sources of the template block are shared with Cocoon 2.1. Once this
is no
+                 longer the case, this file can be moved into the resources dir again and
this
+                 special configuration can be removed. -->
+      <resource>
+        <targetPath>org/apache/cocoon/template</targetPath>
+        <directory>src/main/java/org/apache/cocoon/template</directory>
+        <includes>
+          <include>template-instructions.xml</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
 </project>



Mime
View raw message