ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: problem with task jdepend
Date Thu, 11 Oct 2001 22:13:47 GMT
Sounds like the jdepend .class files are not in the release jar. Conor do you 
have jdepend locally? 

Hopefully it will be fixed for the 1.4.1 release.


On Thu, 11 Oct 2001 21:57, André Schulte wrote:
>  Hello Peter,
>
>  I want to use the build task jdepend for ANT . I downloaded the Jdepend
> Tool and add the Jdpend.jar to the Ant/lib/ but I get everytime the same
> error. I could not find a jdepend.class in the optional.jar which is add to
> the ant/lib/ too. This is the errormessage
>
>  D:\ProjektEval\04_implementation\weather\websrv>ant -verbose
>  Ant version 1.4 compiled on September 3 2001
>  Buildfile: build.xml
>  Detected Java version: 1.3 in: D:\jdk1.3.0_02\jre
>  Detected OS: Windows 2000
>  parsing buildfile
> D:\ProjektEval\04_implementation\weather\websrv\build.xml with URI =
> file:D:/ProjektEval/04_implementation/weather/websrv/build.xml Project base
> dir set to: D:\ProjektEval\04_implementation\weather\websrv Build sequence
> for target `dep' is [init, compile, dep]
>  Complete build sequence is [init, compile, dep]
>
>  init:
>
>  compile:
>      [javac] de\valtech\intern\ServiceFactory.java omitted as
> D:\ProjektEval\04_i
> mplementation\weather\websrv\classes\de\valtech\intern\ServiceFactory.class
> is u p to date.
>      [javac] de\valtech\intern\stockexchange\Stocks.java omitted as
> D:\ProjektEva
> l\04_implementation\weather\websrv\classes\de\valtech\intern\stockexchange\
>Stock s.class is up to date.
>      [javac] de\valtech\intern\weather\AbstractWeather.java omitted as
> D:\Projekt
> Eval\04_implementation\weather\websrv\classes\de\valtech\intern\weather\Abs
>tract Weather.class is up to date.
>      [javac] de\valtech\intern\weather\EuropeWeather.java omitted as
> D:\ProjektEv
> al\04_implementation\weather\websrv\classes\de\valtech\intern\weather\Europ
>eWeat her.class is up to date.
>      [javac] de\valtech\intern\weather\GermanWeather.java omitted as
> D:\ProjektEv
> al\04_implementation\weather\websrv\classes\de\valtech\intern\weather\Germa
>nWeat her.class is up to date.
>
>  dep:
>
>  BUILD FAILED
>
>  D:\ProjektEval\04_implementation\weather\websrv\build.xml:32: Could not
> create t ask of type: jdepend. Common solutions are to use taskdef to
> declare your task, or, if this is an optional task, to put the optional.jar
> in the lib directory of your ant installation (ANT_HOME).
>          at
> org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153)
>
>          at
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav a:83)
>          at org.apache.tools.ant.Task.perform(Task.java:216)
>          at org.apache.tools.ant.Target.execute(Target.java:164)
>          at org.apache.tools.ant.Target.performTasks(Target.java:182)
>          at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>          at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>          at org.apache.tools.ant.Main.runBuild(Main.java:454)
>          at org.apache.tools.ant.Main.start(Main.java:153)
>          at org.apache.tools.ant.Main.main(Main.java:176)
>
>  Total time: 1 second
>  D:\ProjektEval\04_implementation\weather\websrv>
>
>  I hope someone can help me.
>
>  Thank,

-- 
Cheers,

Pete

--------------------------------------------------------------
"Science is like sex: sometimes something useful comes out, 
but that is not the reason we are doing it" -- Richard Feynman
--------------------------------------------------------------

Mime
View raw message