cmlenz      2002/12/09 12:41:04

  Modified:    framework build.xml
               anttasks build.xml
  Log:
  Added uptodate check for javadoc generation in the anttasks build
  
  Revision  Changes    Path
  1.32      +2 -1      jakarta-cactus/framework/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/framework/build.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- build.xml 29 Nov 2002 08:11:42 -0000      1.31
  +++ build.xml 9 Dec 2002 20:41:03 -0000       1.32
  @@ -490,7 +490,8 @@
               use="true"
               windowtitle="${project.name.text} ${project.version}"
               doctitle="${project.name.text} ${project.version}"
  -            bottom="Copyright © ${year} Apache Software Foundation. All 
Rights Reserved.">
  +            bottom="Copyright © ${year} Apache Software Foundation.
  +                    All Rights Reserved.">
   
               <sourcepath>
                   <pathelement location="${src.java.share.dir}"/>
  
  
  
  1.29      +17 -2     jakarta-cactus/anttasks/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/anttasks/build.xml,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- build.xml 29 Nov 2002 08:11:42 -0000      1.28
  +++ build.xml 9 Dec 2002 20:41:04 -0000       1.29
  @@ -178,7 +178,21 @@
            Generate the documentation (javadoc)
          ========================================================================
       -->
  -    <target name="doc" depends="init" description="Generates the documentation">
  +    <target name="doc.check"
  +        depends="init">
  +
  +      <uptodate property="doc.uptodate"
  +          targetfile="${target.doc.api.dir}/index.html">
  +          <srcfiles dir="${src.java.dir}"
  +              includes="**/*.java, **/*.html"/>
  +      </uptodate>
  +
  +    </target>
  +
  +    <target name="doc"
  +        depends="doc.check"
  +        unless="doc.uptodate"
  +        description="Generates the API documentation">
   
           <mkdir dir="${target.doc.api.dir}"/>
   
  @@ -192,7 +206,8 @@
               use="true"
               windowtitle="${project.name.text} ${project.version}"
               doctitle="${project.name.text} ${project.version}"
  -            bottom="Copyright &amp;copy; ${year} Apache Software Foundation. All 
Rights Reserved.">
  +            bottom="Copyright &amp;copy; ${year} Apache Software Foundation.
  +                    All Rights Reserved.">
   
           </javadoc>
   
  
  
  

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

Reply via email to