leosimons    2003/05/30 15:48:37

  Modified:    .        maven-common.xml
  Log:
  basic doc generation support
  
  Revision  Changes    Path
  1.2       +45 -0     avalon-excalibur/maven-common.xml
  
  Index: maven-common.xml
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/maven-common.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven-common.xml  30 May 2003 22:13:11 -0000      1.1
  +++ maven-common.xml  30 May 2003 22:48:36 -0000      1.2
  @@ -29,4 +29,49 @@
               ----------------------------------------------------------------
           </echo>
       </goal>
  +
  +    <!-- ==========================================================
  +          Doc Generation
  +         ==========================================================
  +
  +         For now, I've just copy-pasted the relevant snippets from
  +         the ant build that call forrest. We need a forrest plugin.
  +
  +         ========================================================== -->
  +
  +    <postGoal name="xdoc">
  +        <attainGoal name="forrest:generate"/>
  +    </postGoal>
  +
  +    <property file="${user.home}/build.properties"/>
  +    <property file="${basedir}/../ant.properties"/>
  +    <property file="${basedir}/ant.properties"/>
  +    <property file="${user.home}/.ant.properties"/>
  +    <property file="${basedir}/../libraries.properties"/>
  +    <property file="${basedir}/../default.properties"/>
  +    <property file="${basedir}/default.properties"/>
  +
  +    <goal name="forrest:docs" description="Transforms forrest docs">
  +
  +        <mkdir dir="${docs.dir}"/>
  +
  +        <ant antfile="${basedir}/../forrestbuild.xml"/>
  +
  +        <copy todir="${maven.build.dir}/docs/">
  +          <fileset dir="${build.docs}">
  +            <include name="**"/>
  +          </fileset>
  +        </copy>
  +
  +   </goal>
  +
  +    <!-- ==========================================================
  +          Cleanup of ant artifacts
  +         ========================================================== -->
  +
  +    <postGoal name="clean">
  +        <delete dir="${build.dir}"/>
  +        <delete dir="${dist.dir}"/>
  +    </postGoal>
  +
   </project>
  
  
  

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

Reply via email to