rubys       2003/04/01 08:54:51

  Modified:    .        build.xml
  Log:
  Reduce time required to build scripts by doing xrefs separately
  
  Revision  Changes    Path
  1.19      +9 -5      jakarta-gump/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/build.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- build.xml 18 Feb 2003 16:59:49 -0000      1.18
  +++ build.xml 1 Apr 2003 16:54:51 -0000       1.19
  @@ -111,10 +111,14 @@
              style="stylesheet/build.xsl"/>
     </target>
   
  -  <!-- Extract the info necessary to produce the xref script -->
  +  <!-- Produce the xref script -->
     <target name="xref" depends="gen">
       <style in="work/merge.xml" out="work/xref.def"
              style="stylesheet/xref.xsl"/>
  +    <style basedir="work" destdir="work" includes="xref.def" extension=".site"
  +           style="${webstyle}"/>
  +    <style basedir="work" destdir="work" includes="xref.site"
  +           extension=".${extension}" style="stylesheet/${target}.xsl"/>
     </target>
   
     <!-- Extract the info necessary to produce the publish script -->
  @@ -147,16 +151,16 @@
     </target>
   
     <!-- Add in the website information -->
  -  <target name="website" depends="build,update,publish,xref,deliver,naglist,move">
  +  <target name="website" depends="build,update,publish,deliver,naglist,move">
       <style basedir="work" destdir="work" includes="*.def" extension=".site"
  -           style="${webstyle}"/>
  +           excludes="xref.*" style="${webstyle}"/>
     </target>
   
     <!-- Generate the scripts -->
     <target name="scripts" depends="website"
       description="Generate the update and build scripts">
   
  -    <style basedir="work" destdir="work" includes="*.site"
  +    <style basedir="work" destdir="work" includes="*.site" excludes="xref.*" 
              extension=".${extension}" style="stylesheet/${target}.xsl"/>
     </target>
   
  @@ -206,7 +210,7 @@
     </target>
   
     <!-- Do everything -->
  -  <target name="all" depends="scripts,javadocs,pubdocs,site,check"
  +  <target name="all" depends="scripts,xref,javadocs,pubdocs,site,check"
       description="Generate scripts, docs, sites, and check local packages"/>
   
     <!-- Remove all outputs and intermediate results -->
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to