ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Barnebee <...@barnebee.com>
Subject Jdepend problem
Date Tue, 15 Jul 2003 19:43:23 GMT
ok..

 I've read the warning, but I've still got an issue.
The Jdepend.jar and optional.jar are in the
ANT_HOME/lib dir. They are also explicitly in the
classpath. I did the same thing with junit, and junit
is working. 

 Here's the standard error:
BUILD FAILED
file:D:/eclipse_workspace/development/bin/ant/metrics_build.xml:6:
Could not cr
ate task or type of type: JDepend.


Here's the Classpath (echoed just before):
metrics:
     [echo] IN METRICS- the value of classpath is
C:\j2sdk1.4.1_03\\lib\tools.ja
r;C:\downloads\apache-ant-1.5.3-1\lib\xml-apis.jar;C:\downloads\apache-ant-1.5.3
-1\lib\xercesImpl.jar;C:\downloads\apache-ant-1.5.3-1\lib\optional.jar;C:\downlo
ads\apache-ant-1.5.3-1\lib\junit.jar;C:\downloads\apache-ant-1.5.3-1\lib\jdepend
.jar;C:\downloads\apache-ant-1.5.3-1\lib\ant.jar;C:\Program
Files\Altova\xmlspy\
XMLSpyInterface.jar:D:/eclipse_workspace/development/config/:D:/eclipse_workspac
e/development/lib/dev/junit.jar:D:/eclipse_workspace/development/lib/dev/optiona
l.jar:D:/eclipse_workspace/development/lib/protege.jar:D:/eclipse_workspace/deve
lopment/lib/xerces.jar:D:/eclipse_workspace/development/lib/dev/anttasks.jar:D:/
eclipse_workspace/development/lib/dev/jdepend.jar

 Here's the code to call the task:
<target name="metrics">
	<echo message="IN METRICS- the value of classpath is
${classpath}"/>
	  
	    <JDepend format="xml"
outputfile="${docs}/jdepend-report.xml">
	        <sourcespath>
	            <pathelement location="${build}" />
	        </sourcespath>
	
		<classpath>
	          <pathelement
location="${classpath}:${build}/Test"/>
        	</classpath>
	    </JDepend>
	
	    <style basedir="${docs}" destdir="${docs}"
	        includes="jdepend-report.xml" 
	        style="${config}/jdepend.xsl" />
	
	</target>

The JDependTask.class is in the optional.jar.. I'm
stuck, I've tried everything I can think of, any
suggestions would be appreciated.

    Thanks,
          Jim

=====
///////////////////////////////////////////////////////////
"Sixty-two thousand four hundred repetitions make one truth." -Brave new world, Aldous Huxley
Jim Barnebee--BS, SCEA, MBA
Web Site: http://www.barnebee.com
e-mail : jim@barnebee.com
//////////////////////////////////////////////////////////

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message