stefano     02/03/07 05:00:26

  Modified:    .        build.xml
  Log:
  playing with the Sun XML doclet, just download it from http://www.sun.com/xml/ and 
place the jar into the /lib/optional dir... unfortunately, we can't redistribute it, 
but I'm trying to get it open sourced...
  
  Revision  Changes    Path
  1.178     +20 -0     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.177
  retrieving revision 1.178
  diff -u -r1.177 -r1.178
  --- build.xml 6 Mar 2002 16:55:59 -0000       1.177
  +++ build.xml 7 Mar 2002 13:00:26 -0000       1.178
  @@ -212,6 +212,7 @@
       <property name="build.docs.loglevel" value="INFO"/>
       <property name="build.war"      value="${build.dir}/webapp"/>
       <property name="build.javadocs" value="${build.dir}/javadocs"/>
  +    <property name="build.xjavadocs" value="${build.dir}/xjavadocs"/>
       <property name="build.context" value="${build.dir}/documentation"/>
       <property name="build.scratchpad" value="${build.dir}/scratchpad"/>
       <property name="build.scratchpad.src" value="${build.scratchpad}/src"/>
  @@ -1340,6 +1341,25 @@
       </javadoc>
     </target>
   
  +  <!-- =================================================================== -->
  +  <!-- Creates the API documentation (using the Sun XML doclet)            -->
  +  <!-- =================================================================== -->
  +  <target name="xjavadocs" depends="prepare-src-main, javadocs_check, javadocs_done"
  +      unless="javadocs.notrequired"
  +      description="* Generates the API documentation (using the Sun XML doclet)">
  +    <mkdir dir="${build.xjavadocs}"/>
  +    <javadoc packagenames="${packages}"
  +             sourcepath="${build.src}"
  +             destdir="${build.xjavadocs}"
  +             author="true"
  +             version="true"
  +             use="false"
  +             doclet="com.sun.xml.XmlDoclet"
  +             docletpathref="classpath">
  +      <classpath refid="classpath"/>
  +    </javadoc>
  +  </target>
  +  
     <!-- =================================================================== -->
     <!-- Creates the source distribution                                     -->
     <!-- =================================================================== -->
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to