ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon build.xml
Date Mon, 14 Jan 2002 09:08:08 GMT
donaldp     02/01/14 01:08:08

  Modified:    proposal/myrmidon build.xml
  Log:
  Move xdoclet further up in build file
  
  Revision  Changes    Path
  1.36      +22 -22    jakarta-ant/proposal/myrmidon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/build.xml,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- build.xml	14 Jan 2002 08:59:06 -0000	1.35
  +++ build.xml	14 Jan 2002 09:08:08 -0000	1.36
  @@ -397,6 +397,28 @@
   
     </target>
   
  +  <target name="xdoclet">
  +    <path id="xdoclet.classpath">
  +      <pathelement location="lib/xdoclet.jar"/>
  +      <pathelement location="lib/log4j-core.jar"/>
  +      <path refid="project.class.path"/>
  +    </path>
  +    <taskdef name="xdoclet"
  +           classname="xdoclet.DocletTask"
  +           classpath="lib/xdoclet.jar"/>
  +    <xdoclet sourcepath="${java.dir}"
  +              destdir="${build.dir}"
  +              classpathref="xdoclet.classpath">
  +      <fileset dir="${java.dir}">
  +        <include name="**/*.java" />
  +      </fileset>
  +      <template templateFile="${manifest.dir}/core-ant-descriptor.template"
  +                destinationfile="core-ant-descriptor.xml"/>
  +      <template templateFile="${manifest.dir}/builtin-ant-roles.template"
  +                destinationfile="builtin-ant-roles.xml"/>
  +    </xdoclet>
  +  </target>
  +
     <!-- Creates the distribution -->
     <target name="dist" depends="jars">
   
  @@ -452,28 +474,6 @@
     <target name="rebuild">
       <antcall target="clean"/>
       <antcall target="main"/>
  -  </target>
  -
  -  <target name="xdoclet">
  -    <path id="xdoclet.classpath">
  -      <pathelement location="lib/xdoclet.jar"/>
  -      <pathelement location="lib/log4j-core.jar"/>
  -      <path refid="project.class.path"/>
  -    </path>
  -    <taskdef name="xdoclet"
  -           classname="xdoclet.DocletTask"
  -           classpath="lib/xdoclet.jar"/>
  -    <xdoclet sourcepath="${java.dir}"
  -              destdir="${build.dir}"
  -              classpathref="xdoclet.classpath">
  -      <fileset dir="${java.dir}">
  -        <include name="**/*.java" />
  -      </fileset>
  -      <template templateFile="${manifest.dir}/core-ant-descriptor.template"
  -                destinationfile="core-ant-descriptor.xml"/>
  -      <template templateFile="${manifest.dir}/builtin-ant-roles.template"
  -                destinationfile="builtin-ant-roles.xml"/>
  -    </xdoclet>
     </target>
   
   </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message