You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2008/09/23 23:57:44 UTC

[jira] Commented: (IVY-915) Examples broken due to removal of antlib.xml from ivy.jar

    [ https://issues.apache.org/jira/browse/IVY-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633923#action_12633923 ] 

Maarten Coene commented on IVY-915:
-----------------------------------

Are you sure you have ivy-2.0.0-beta2.jar in your classpath and not ivy-core-2.0.0-beta2.jar?

> Examples broken due to removal of antlib.xml from ivy.jar
> ---------------------------------------------------------
>
>                 Key: IVY-915
>                 URL: https://issues.apache.org/jira/browse/IVY-915
>             Project: Ivy
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 2.0.0-beta-2
>         Environment: Windows, Java 1.5, Ant 1.7.0
>            Reporter: Tim U
>
> I installed Ivy 2.0.0.beta2 as per the first method in the install directions (manually unzip the distribution and copy the ivy jar into ANT_HOME/lib).
> Then upon running 'ant' in the hello-ivy example, the following error occurs in ant:
>    BUILD FAILED
>    C:\java\apache-ivy-2.0.0-beta2\tutorial\src\example\hello-ivy\build.xml:38: Problem: failed to create task or type antlib:org.apache.ivy.ant:retrieve
>    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:\java\apache-ant-1.7.0\lib
>            -C:\Documents and Settings\timu\.ant\lib
>            -a directory added on the command line with the -lib argument
> It appears that the examples assume that org/apache/ivy/ant/antlib.xml is present in the ivy.jar.  This file was present in the 2.0.0.beta1 version of the ivy.jar, but appears to have been removed as of beta2.  
> Either the antlib.xml needs to be added back into the ivy jar, or the example build.xml files need to be updated with appropriate taskdefs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.