portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kimp...@apache.org
Subject cvs commit: jakarta-jetspeed/build build.xml
Date Mon, 26 Nov 2001 16:22:47 GMT
kimptoc     01/11/26 08:22:47

  Modified:    build    build.xml
  Log:
  added a war-template ant target - useful when integrating with your app that uses jetspeed
  
  Revision  Changes    Path
  1.112     +24 -0     jakarta-jetspeed/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/build/build.xml,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- build.xml	2001/11/26 16:17:26	1.111
  +++ build.xml	2001/11/26 16:22:47	1.112
  @@ -497,6 +497,30 @@
       </target>    
              
       <!-- =================================================================== -->
  +    <!-- Creates the template war file, one without classes and libs         -->
  +    <!-- Useful when merging with your jetspeed application                  -->
  +    <!-- This is how to use it:                                              -->
  +    <!--  - expand this war into your project build area                     -->
  +    <!--  - copy over your custom templates/psml/html/images etc             -->
  +    <!--  - copy over the jetspeed jars and dependancies                     -->
  +    <!--  - copy over your jars                                              -->
  +    <!--  - voila - you have a webapp using jetspeed and your code           -->
  +    <!-- =================================================================== -->
  +    <target name="war-template" depends="jar" description="Creates the war file">
       
  +                
  +        <!-- Create the war file -->
  +        <war warfile="${build.dir}/${project.name}-template.war"
  +            webxml="${webapp.dir}/WEB-INF/web.xml">
  +
  +            <fileset dir="${webapp.dir}"> 
  +                <exclude name="WEB-INF/web.xml"/>
  +            </fileset>
  +
  +        </war>       
  +        
  +    </target>    
  +           
  +    <!-- =================================================================== -->
       <!-- Creates a binary release war file with javadocs API                 -->
       <!-- =================================================================== -->
       <target 
  
  
  

--
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