You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemind.apache.org by hl...@apache.org on 2005/03/01 22:02:06 UTC

cvs commit: jakarta-hivemind/hivebuild project.xml forrestdoc.xml

hlship      2005/03/01 13:02:06

  Modified:    hivebuild project.xml forrestdoc.xml
  Log:
  Add support for running Forrest "live".
  
  Revision  Changes    Path
  1.12      +12 -3     jakarta-hivemind/hivebuild/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/hivebuild/project.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- project.xml	5 Jan 2005 22:23:12 -0000	1.11
  +++ project.xml	1 Mar 2005 21:02:06 -0000	1.12
  @@ -75,8 +75,17 @@
       <!-- This should only be used after running the full site target to generate reports. It is used when
            "tweaking" the .xdoc files. -->
            
  -		<reinvoke-ant target="copy-documentation-to-composite"/>
   		<antcall target="run-forrest"/>
  -	</target>  
  -      
  +	</target> 
  +  
  +  <target name="live-site" depends="copy-documentation-to-composite"
  +    description="Copys documentation to the composite and runs Forrest interactively.">
  +    
  +		<antcall target="live-forrest"/>
  +  </target>
  +
  +  <target name="copy-documentation-to-composite" description="Copies project and module documentation to the composite.">
  +    <antcall target="forrestdoc.copy-documentation-to-composite"/>
  + 		<reinvoke-ant target="copy-documentation-to-composite"/>
  +  </target>
   </project>
  \ No newline at end of file
  
  
  
  1.7       +13 -1     jakarta-hivemind/hivebuild/forrestdoc.xml
  
  Index: forrestdoc.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/hivebuild/forrestdoc.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- forrestdoc.xml	5 Jan 2005 22:23:12 -0000	1.6
  +++ forrestdoc.xml	1 Mar 2005 21:02:06 -0000	1.7
  @@ -28,11 +28,23 @@
         
         <property environment="env"/>
         
  -      <!-- The extension is a problem; this will work for Unix and Cygwin but not pure Windows. -->
  +      <!-- The extension is a problem; this will work for Windows and Cygwin but not pure Windows  -->
         
         <exec dir="${basedir}" executable="${env.FORREST_HOME}/bin/forrest.bat"/>
    
   		</target>
  +    
  +    <target name="live-forrest" description="Runs Forrest interactively.">
  +      <announce message="Invoking Forrest.  Open a browser to http://localhost:8888 ..."/>
  +      
  +      <property environment="env"/>
  +      
  +      <!-- The extension is a problem; this will work for Windows and Cygwin but not pure Windows  -->
  +      
  +      <exec dir="${basedir}" executable="${env.FORREST_HOME}/bin/forrest.bat">
  +        <arg line="run"/>
  +      </exec>
  +    </target>
   		
   		<macrodef name="add-report-to-menu">
   			<attribute name="element" default="report" description="Element name to use inside site.xml, useful when creating a link to the report."/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org