portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/build build.xml
Date Tue, 20 Nov 2001 04:52:32 GMT
taylor      01/11/19 20:52:32

  Modified:    build    build.xml
  Log:
  - added deploy task that simply 'hot deploys' the class files to the webapp directory of
your webserver.
    this is useful during development. This task will not copy the 'webapp' files such as
psml, templates.
  
  Revision  Changes    Path
  1.107     +16 -0     jakarta-jetspeed/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/build/build.xml,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -u -r1.106 -r1.107
  --- build.xml	2001/11/02 04:05:39	1.106
  +++ build.xml	2001/11/20 04:52:32	1.107
  @@ -460,6 +460,22 @@
               </fileset>
           </copy>       
       </target>    
  +
  +    <!-- =================================================================== -->
  +    <!-- Installs JetSpeed on a local server                                  -->
  +    <!-- =================================================================== -->
  +    <target name="deploy"  depends="compile" description="Hot deploys Jetspeed on a
local server">        
  +        <copy todir="${install.war}/jetspeed/WEB-INF/classes">
  +            <fileset dir="${build.dest.dir}">
  +                <!-- Do not include test files in the runtime jar -->
  +                 <exclude name="**/Test*.*"/>
  +                 <exclude name="**/test*.*"/>
  +
  +                <!-- Also exclude the test cactus.properties file -->
  +                <exclude name="cactus.properties"/>
  +            </fileset>
  +        </copy>       
  +    </target>    
              
       <!-- =================================================================== -->
       <!-- Creates a binary release war file with javadocs API                 -->
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message