ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hezjing <hezj...@gmail.com>
Subject Re: Is <ivy:cleancache /> ready?
Date Tue, 17 Jul 2007 01:42:26 GMT
Hi

The problem still exist when using Ivy 2.0 alpha 2 (12-Jul-2007):

----------------------------------------
>ant clean
Buildfile: build.xml

clean:

BUILD FAILED
C:\Dummy\build.xml:3: Problem: failed to create task or type
antlib:org.apache.ivy:cleancache
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -C:\Install\apache-ant-1.7.0\lib
        -C:\Documents and Settings\hez\.ant\lib
        -a directory added on the command line with the -lib argument

----------------------------------------


Here is the build.xml,

<project xmlns:ivy="antlib:org.apache.ivy" name="dummy">
<target name="clean">
<ivy:cleancache />
</target>
</project>


and, I'm using J2SE 1.5.0_11, Ant 1.7.0 on Windows XP.


On 7/16/07, Xavier Hanin <xavier.hanin@gmail.com> wrote:
> cleancache has been introduced on july the 9th, so it's not surprising it
> doesn't work for you. You can try out the not yet approved 2.0 alpha 2:
> http://people.apache.org/~xavier/ivy/staging/2.0.0-alpha2-incubating/
>
> BTW, when using the 2.x version, I suggest replacing the fr.jayasoft.ivy by
> org.apache.ivy in your antlib xmlns (seems you're still using jayasoft
> package name in your error report).
>
> Xavier
>
> On 7/16/07, hezjing <hezjing@gmail.com> wrote:
> >
> > I'm using Ivy built from trunk on 29th June
> > (http://www.xoocode.org/downloads/tools/ivy/ivy.jar)
> >
> >
> > On 7/16/07, Xavier Hanin <xavier.hanin@gmail.com> wrote:
> > > On 7/16/07, hezjing <hezjing@gmail.com> wrote:
> > > >
> > > > Hi
> > > >
> > > > I got the following error when calling <ivy:cleancache />
> > > >
> > > > build.xml:27: Problem: failed to create task or type
> > > > antlib:fr.jayasoft.ivy.ant:cleancache
> > > > Cause: The name is undefined.
> > > > Action: Check the spelling.
> > > > Action: Check that any custom tasks/types have been declared.
> > > > Action: Check that any <presetdef>/<macrodef> declarations
have taken
> > > > place.
> > > >
> > > > This appears to be an antlib declaration.
> > > > Action: Check that the implementing library exists in one of:
> > > >         -C:\Install\apache-ant-1.7.0\lib
> > > >         -C:\Documents and Settings\hez\.ant\lib
> > > >         -a directory added on the command line with the -lib argument
> > > >
> > > >
> > > > Is <ivy:cleancahce> ready?
> > >
> > >
> > > It should be in trunk version only (and in not yet approved
> > 2.0.0-alpha-2).
> > > Which version are you using?
> > >
> > > Xavier
> > >
> > > --
> > > >
> > > > Hez
> > > >
> > >
> > >
> > >
> > > --
> > > Xavier Hanin - Independent Java Consultant
> > > http://xhab.blogspot.com/
> > > http://incubator.apache.org/ivy/
> > > http://www.xoocode.org/
> > >
> >
> >
> > --
> >
> > Hez
> >
>
>
>
> --
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://incubator.apache.org/ivy/
> http://www.xoocode.org/
>


-- 

Hez

Mime
View raw message