Hi All,

        In the build.xml, the property "include.webapp.libs" is never set
        anywhere, causing the webapp to be created without the required jars
        being copied to WEB-INF/lib. :-(

        Is this intended behaviour ?
        
        If it's not intended, in the attached patch I've removed the 'if'
        clause from the 'prepare-webapp-libs' task altogether so that the libs
        are correctly copied across (makes testing things with the webapp
        easier).

        Cheers,

        Marcus

        PS. Initially I tried to make this conditional with 'available', but
        'available' can only test for files, classes, and jvm resources.
        Anyone know of a better way ?

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : [EMAIL PROTECTED]
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:           After Hours    : +49 69 49086750
Index: build.xml
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/build.xml,v
retrieving revision 1.21
diff -u -r1.21 build.xml
--- build.xml   2001/06/28 10:07:16     1.21
+++ build.xml   2001/07/02 18:06:40
@@ -419,7 +419,7 @@
   <!-- =================================================================== -->
   <!-- Prepares the libraries for the war package                          -->
   <!-- =================================================================== -->
-  <target name="prepare-webapp-libs" depends="package" if="include.webapp.libs">
+  <target name="prepare-webapp-libs" depends="package">
     <copy todir="${build.war}/WEB-INF/lib">
       <fileset dir="${lib.dir}">
         <include name="*.jar"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to