antlets/jdepend/src xbuild.xml,1.6,1.7
[email protected] Thu, 04 Mar 2004 04:51:20 -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-serv30905/jdepend/src
Modified Files:
xbuild.xml
Log Message:
minor changes
Index: xbuild.xml
===================================================================
RCS file: /cvsroot/metamorphosis/antlets/jdepend/src/xbuild.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** xbuild.xml 2 Mar 2004 21:16:37 -0000 1.6
--- xbuild.xml 4 Mar 2004 12:51:18 -0000 1.7
***************
*** 1,4 ****
<?xml version="1.0"?>
! <project default="jdepend.report" name="jdepend.antlet">
<description>
Generates project code dependency metrics.
--- 1,4 ----
<?xml version="1.0"?>
! <project default="jdepend-xml" name="jdepend.antlet">
<description>
Generates project code dependency metrics.
***************
*** 6,43 ****
<import file="usage.xml"/>
! <dirname property="jdepend.antlet.dir" file="${ant.file.jdepend.antlet}"/>
! <property name="jdepend.antlet.build.dir" value="${project.build.dir}/jdepend"/>
! <property name="jdepend.repository" value="http://www.ibiblio.org/maven/jdepend/jars/"/>
! <property name="jdepend.jar" value="jdepend-2.5.jar"/>
!
! <importer name="java-0.1"/>
! <!-- =================================================================== -->
! <!-- Init antlet -->
! <!-- =================================================================== -->
! <target name="-jdepend.init">
! <property name="jdepend.antlet.xdocs.dir" value="${build.dir}/documentation/content/xdocs/reports"/>
!
! <mkdir dir="${jdepend.antlet.build.dir}"/>
! <mkdir dir="${jdepend.antlet.dir}/lib/"/>
! <get
! src="${jdepend.repository}${jdepend.jar}"
! dest="${jdepend.antlet.dir}/lib/${jdepend.jar}"
! verbose="true" usetimestamp="true"/>
! <!-- 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"/>
! </target>
!
<!-- =================================================================== -->
<!-- XML version -->
<!-- =================================================================== -->
! <target name="jdepend.xml" depends="-jdepend.init, compile" description="Generates metrics report in xml format">
<jdependtask format="xml" fork="yes" outputfile="${jdepend.antlet.build.dir}/jdepend.xml">
<sourcespath>
--- 6,32 ----
<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>
***************
*** 54,60 ****
<!-- =================================================================== -->
<!-- XDoc version -->
<!-- =================================================================== -->
! <target name="jdepend.report" depends="jdepend.xml"
description="Generates metrics report in xdoc format">
--- 43,56 ----
<!-- =================================================================== -->
+ <!-- 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">
-------------------------------------------------------
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