forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Using forrest as an webapp
Date Thu, 21 Nov 2002 03:13:15 GMT
On Wed, Nov 20, 2002 at 08:58:53PM +0100, Markus Vaterlaus wrote:
...
> As I'm using 1.3.1 I looked at this closely. So in my webapp build 
> under 
> /Users/mv/dwnld/forrestcvs/xml-forrest/build/webapp/WEB-INF/lib/endorsed 

Oops, I messed up the copy command.. there should be no 'endorsed'
subdirectory, the XML jars should be directly in WEB-INF/lib/

Sorry about that ;P  I'm fixing it in CVS and the fix will be in 0.2.1.
For anyone wanting to fix their local install by hand, here's the patch
to apply to forrest.build.xml:

Index: forrest.build.xml
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/forrest.build.xml,v
retrieving revision 1.23
diff -u -r1.23 forrest.build.xml
--- forrest.build.xml   15 Nov 2002 07:35:38 -0000  1.23
+++ forrest.build.xml   21 Nov 2002 03:04:31 -0000
@@ -614,11 +614,10 @@
     <!-- Copy XML jars if not running JDK 1.4 (where they're built-in) -->
     <available property="jdk1.4+" classname="java.lang.CharSequence"/>
     <copy todir="${project.webapp}/WEB-INF/lib">
-      <fileset dir="${forrest.home}/lib">
-        <include name="endorsed/*jar" unless="jdk1.4+"/>
+      <fileset dir="${forrest.home}/lib/endorsed">
+        <include name="*jar" unless="jdk1.4+"/>
       </fileset>
     </copy>
-
     <echo>
 ---------------------------------
 Webapp generated in ${project.webapp}



--Jeff

> 
> Markus
> 

Mime
View raw message