ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Ant 1.5, JDepend task doesn't support the "format" attribute
Date Tue, 05 Feb 2002 19:59:47 GMT

Looks like you are not using the latest version of ant? Could you have set 
ANT_HOME to an old version or somehow be using old version of script?

On Wed, 6 Feb 2002 00:09, Chuck Stern wrote:
> Hi,
>
> I'm trying to use the jdepend task with the latest build (1.5 alpha) ant
> the latest optional.jar.  I'm getting the following error message:
>
> 	The <jdepend> task doesn't support the "format" attribute.
>
> My task looks like this:
> <target name="jdepends" depends="init" >
>         <property name="depends.dir" value="${lib.dir}/docs/jdepends" />
>         <mkdir dir="${depends.dir}" />
>
>         <jdepend outputfile="${depends.dir}/jdepend.xml" fork="yes"
> format="xml">
>             <sourcespath>
>                 <pathelement location="${src.java.dir}" />
>             </sourcespath>
>             <classpath>
>                 <path refid="app.classpath"/>
>                 <pathelement location="${jdepend.jar}" />
>             </classpath>
>         </jdepend>
> </target>
>
> The docs say this should work and I see the format definition in the
> source. Any ideas?
>
> Thanks,
> Chuck

-- 
Cheers,

Pete

*------------------------------------------------------*
| "Computers are useless. They can only give you       |
|            answers." - Pablo Picasso                 |
*------------------------------------------------------*

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


Mime
View raw message