antlets/jdepend/src xbuild.xml,1.3,1.4

[email protected] Wed, 25 Feb 2004 14:09:50 -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-serv14395/jdepend/src

Modified Files:
	xbuild.xml 
Log Message:
use get to retrieve jars from internet

Index: xbuild.xml
===================================================================
RCS file: /cvsroot/metamorphosis/antlets/jdepend/src/xbuild.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** xbuild.xml	23 Feb 2004 12:11:59 -0000	1.3
--- xbuild.xml	25 Feb 2004 22:09:47 -0000	1.4
***************
*** 1,29 ****
  <?xml version="1.0"?>
! <project default="jdepend-xml" name="jdepend.antlet">
  
!   <dirname property="jdepend.antlet.dir" file="${ant.file.jdepend.antlet}"/>
  
!     <echo message="${jdepend.antlet.dir}/lib/"/>
!   
!  <!-- 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>
--- 1,39 ----
  <?xml version="1.0"?>
! <project default="jdepend.report" name="jdepend.antlet">
!   <description>
!     Generates project code dependency metrics.
!   </description>
  
!   <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"/>
  
!   <!-- =================================================================== -->
!   <!-- 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" description="Generates metrics report in xml format">
      <jdependtask format="xml" fork="yes" outputfile="${jdepend.antlet.build.dir}/jdepend.xml">
          <sourcespath>
***************
*** 40,53 ****
    
    <!-- =================================================================== -->
-   <!-- 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">
  
--- 50,56 ----
    
    <!-- =================================================================== -->
    <!-- XDoc version                                                        -->
    <!-- =================================================================== -->
!   <target name="jdepend.report" depends="jdepend.xml" 
            description="Generates metrics report in xdoc format">
  



-------------------------------------------------------
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