antlets/jdepend/src xbuild.xml,1.1,1.2
[email protected] Tue, 17 Feb 2004 13:44:22 -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-serv27777/jdepend/src
Modified Files:
xbuild.xml
Log Message:
initial working version
Index: xbuild.xml
===================================================================
RCS file: /cvsroot/metamorphosis/antlets/jdepend/src/xbuild.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** xbuild.xml 16 Feb 2004 21:01:40 -0000 1.1
--- xbuild.xml 17 Feb 2004 21:44:13 -0000 1.2
***************
*** 2,9 ****
<project default="jdepend-xml" name="jdepend.antlet">
-
<dirname property="jdepend.antlet.dir" file="${ant.file.jdepend.antlet}"/>
-
- <echo message="JDEPEND: ${jdepend.antlet.dir}"/>
<!-- Classpath for my jars -->
--- 2,6 ----
***************
*** 12,19 ****
<include name="*.jar"/>
</fileset>
! </path>
!
<taskdef file="${jdepend.antlet.dir}/tasks.properties" classpathref="jdepend.classpath"/>
<description>
Generates project code dependency metrics.
--- 9,19 ----
<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.
***************
*** 24,35 ****
<!-- =================================================================== -->
<target name="jdepend" description="Generates metrics report in xml format">
!
! <mkdir dir="${jdepend.antlet.work.dir}"/>
! <echo message="jdepend-xml"/>
!
! <!-- TODO: work dir is not set yet -->
! <jdependtask format="xml" fork="yes" outputfile="${jdepend.antlet.work.dir}/jdepend-report.xml">
<sourcespath>
! <pathelement location="${project.src.dir}" />
</sourcespath>
<classpath>
--- 24,30 ----
<!-- =================================================================== -->
<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>
***************
*** 46,50 ****
<!-- =================================================================== -->
<target name="-jdepend.antlet.init">
! <property name="jdepend.antlet.xdocs.dir" value="${forrest.antlet.generated.xdocs.dir}/jdepend"/>
</target>
--- 41,45 ----
<!-- =================================================================== -->
<target name="-jdepend.antlet.init">
! <property name="jdepend.antlet.xdocs.dir" value="${build.dir}/documentation/content/xdocs/reports"/>
</target>
***************
*** 55,78 ****
description="Generates metrics report in xdoc format">
! <copy todir="${jdepend.antlet.work.dir}">
! <fileset dir="${jdepend.antlet.dir}/resources"/>
! </copy>
!
! <!-- if>
! <available file="${docs.dir}/override/jdepend" type="dir" property="jdepend.override.present"/>
! <then>
! <copy todir="${jdepend.antlet.work.dir}" filtering="off" overwrite="true">
! <fileset dir="${docs.dir}/override/jdepend"/>
! </copy>
! </then>
! </if -->
!
! <style in="${jdepend.antlet.work.dir}/jdepend-report.xml"
! out="${jdepend.antlet.work.dir}/xdocs/index.xml"
! style="${jdepend.antlet.dir}/resources/stylesheets/jdepend2document11.xsl"/>
!
! <copy todir="${jdepend.antlet.xdocs.dir}">
! <fileset dir="${jdepend.antlet.work.dir}/xdocs"/>
! </copy>
</target>
--- 50,56 ----
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>
-------------------------------------------------------
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