antlets/javasrc/src xbuild.xml,NONE,1.1 tasks.properties,NONE,1.1

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/antlets/javasrc/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9661/javasrc/src

Added Files:
	xbuild.xml tasks.properties 
Log Message:
added javasrc

--- NEW FILE: xbuild.xml ---
<?xml version="1.0"?>
<project default="xjavadocs" name="javasrc.cent">

  <dirname property="javasrc.antlet.dir" file="${ant.file.pmd.antlet}"/>

  <!-- Classpath for my jars -->
  <path id="javasrc.classpath">
    <fileset dir="${javasrc.antlet.dir}/lib">
      <include name="*.jar"/>
    </fileset>
 </path>
 <taskdef file="${javasrc.antlet.dir}/tasks.properties" classpathref="javasrc.classpath"/>

<!-- Cent specific -->
<property name="javasrc.antlet.docs.dir" value="${project.build.dir}/docs/javasrc"/>

  <description>
   Generates cross-linked and colorizes html pages of the java source code.
  </description>
          
  <!-- =================================================================== -->
  <!-- Prepares the source code                                            -->
  <!-- =================================================================== -->
  <target name="-prepare-src">

    <mkdir dir="${project.build.dir}/src/java"/>
    <copy todir="${project.build.dir}/src/java" filtering="off">
      <fileset dir="${project.src.dir}"/>
    </copy>
  </target>


  <!-- =================================================================== -->
  <!-- Creates the API documentation in HTML                                -->
  <!-- =================================================================== -->
  <target name="javasrc" depends="-prepare-src" description="Generate the pages">
             
    <mkdir dir="${javasrc.antlet.build.dir}"/>
    <mkdir dir="${javasrc.antlet.docs.dir}"/>
    
    <java classname="javasrc.app.Pass1" fork="true" dir="." failonerror="true">
    
      <sysproperty key="recurse" value="true"/>
      <sysproperty key="title" value="Java Code Documentation"/>
      <sysproperty key="outdir" path="${javasrc.antlet.docs.dir}"/>
      
      <arg value="${project.build.dir}/src/java"/>
 
      <classpath>
		<path refid="javasrc.classpath"/>
       <pathelement location="${tools.jar}"/>
     </classpath>
    </java>

    <java classname="javasrc.app.Pass2" fork="true" dir="." failonerror="true">
    
      <sysproperty key="recurse" value="true"/>
      <sysproperty key="title" value="Java Code Documentation"/>
      <sysproperty key="outdir" path="${javasrc.antlet.docs.dir}"/>
      
      <arg value="${project.build.dir}/src/java"/>
 
      <classpath>
		<path refid="javasrc.classpath"/>
       <pathelement location="${tools.jar}"/>
     </classpath>
    </java>
    
    <copy file="${javasrc.antlet.dir}/resources/stylesheets/styles.css"
          todir="${javasrc.antlet.build.dir}" filtering="off"/>
        
  </target>
</project>

--- NEW FILE: tasks.properties ---

#JavaSrcTask





-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.