antlets/jdepend/src xbuild.xml,1.8,1.9 tasks.properties,1.1,NONE
[email protected] Tue, 09 Mar 2004 01:00:42 -0800
| Newsgroups | gmane.comp.krysalis.metamorphosis.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/metamorphosis/antlets/jdepend/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23863/jdepend/src
Modified Files:
xbuild.xml
Removed Files:
tasks.properties
Log Message:
antlet standardisation
Index: xbuild.xml
===================================================================
RCS file: /cvsroot/metamorphosis/antlets/jdepend/src/xbuild.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** xbuild.xml 4 Mar 2004 13:34:19 -0000 1.8
--- xbuild.xml 9 Mar 2004 09:00:40 -0000 1.9
***************
*** 1,62 ****
<?xml version="1.0"?>
<project default="jdepend-xml" name="jdepend.antlet">
! <description>
! Generates project code dependency metrics.
! </description>
! <import file="usage.xml"/>
! <dirname property="jdepend.antlet.dir" file="${ant.file.jdepend.antlet}"/>
!
! <!-- Classpath for my jars -->
! <path id="jdepend.classpath">
! <fileset dir="${jdepend.antlet.dir}/lib/">
! <include name="*.jar"/>
! </fileset>
! </path>
! <taskdef file="${jdepend.antlet.dir}/tasks.properties" classpathref="jdepend.classpath"/>
!
! <property name="jdepend.antlet.build.dir"
! value="${project.build.dir}/jdepend"/>
! <mkdir dir="${jdepend.antlet.build.dir}"/>
!
! <description>
! Generates project code dependency metrics.
! </description>
<!-- =================================================================== -->
<!-- XML version -->
<!-- =================================================================== -->
! <target name="jdepend" description="Generates metrics report in xml format">
! <jdependtask format="xml" fork="yes" outputfile="${jdepend.antlet.build.dir}/jdepend.xml">
! <sourcespath>
<pathelement location="${project.build.dir}/classes" />
! </sourcespath>
<classpath>
<pathelement location="${project.build.dir}/classes" />
<path refid="${project.name}.classpath" />
- <path refid="jdepend.classpath" />
</classpath>
! </jdependtask>
</target>
<!-- =================================================================== -->
- <!-- Set the xdoc dir -->
- <!-- =================================================================== -->
- <target name="-jdepend.antlet.init">
- <property name="jdepend.antlet.xdocs.dir" value="${build.dir}/documentation/content/xdocs/reports"/>
- </target>
-
- <!-- =================================================================== -->
<!-- XDoc version -->
<!-- =================================================================== -->
! <target name="jdepend.report" depends="jdepend,-jdepend.antlet.init"
description="Generates metrics report in xdoc format">
! <style in="${jdepend.antlet.build.dir}/jdepend.xml"
! out="${jdepend.antlet.xdocs.dir}/jdepend.xml"
! style="${jdepend.antlet.dir}/resources/stylesheets/jdepend2docbook.xsl"/>
</target>
</project>
--- 1,84 ----
<?xml version="1.0"?>
<project default="jdepend-xml" name="jdepend.antlet">
! <description>
! Generates project code dependency metrics.
! </description>
! <!-- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
! <!-- Checks the environment for this antlet -->
! <!-- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
! <property name="jdpend-antlet:jdpend.jar" value="jdepend-2.5.jar"/>
! <property name="jdpend-antlet:repository" value="http://www.ibiblio.org/maven/jdepend/jars/"/>
! <condition property="jdpend-antlet:check-fail" value="true">
! <not>
! <available file="${ant.home}/lib/${jdpend-antlet:jdpend.jar}"/>
! </not>
! </condition>
! <fail if="jdpend-antlet:check-fail">
!
! *******************************************************************************
! *
! * The initialisation of jdpend tasks has failed.
! *
! *******************************************************************************
! *
! * ${jdpend-antlet:jdpend.jar} was NOT found in ${ant.home}/lib.
! *
! * Please download the jar from ${jdpend-antlet:repository}
! *
! *******************************************************************************
! </fail>
! <!-- import usage information targets-->
! <import file="usage.xml"/>
! <!-- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
! <!-- Initialise the antwork -->
! <!-- '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -->
! <target name="-jdepend.init">
! <dirname property="jdepend-antlet:dir" file="${ant.file.jdepend.antlet}"/>
! <property name="jdepend-antlet:xdocs.dir" value="${build.dir}/documentation/content/xdocs/reports"/>
! <property name="jdepend-antlet:build.dir" value="${project.build.dir}/jdepend"/>
!
! <mkdir dir="${jdepend-antlet:build.dir}"/>
! </target>
!
! <!-- =================================================================== -->
! <!-- Clean up for this antlet. -->
! <!-- =================================================================== -->
! <target name="jdepend.clean" description="Clean up for this antlet" depends="-jdepend.init">
! <delete dir="${jdepend-antlet:build.dir}"/>
! </target>
<!-- =================================================================== -->
<!-- XML version -->
<!-- =================================================================== -->
! <target name="jdepend" description="Generates metrics report in xml format"
! depends="-jdepend.init">
! <jdepend format="xml"
! includeruntime="yes"
! fork="yes"
! outputfile="${jdepend-antlet:build.dir}/jdepend.xml">
! <classespath>
<pathelement location="${project.build.dir}/classes" />
! </classespath>
<classpath>
<pathelement location="${project.build.dir}/classes" />
<path refid="${project.name}.classpath" />
</classpath>
! </jdepend>
</target>
<!-- =================================================================== -->
<!-- XDoc version -->
<!-- =================================================================== -->
! <target name="jdepend.report" depends="jdepend"
description="Generates metrics report in xdoc format">
! <style in="${jdepend-antlet:build.dir}/jdepend.xml"
! out="${jdepend-antlet:xdocs.dir}/jdepend.xml"
! style="${jdepend-antlet:dir}/resources/stylesheets/jdepend2docbook.xsl"/>
</target>
+
</project>
--- tasks.properties DELETED ---
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click