[ 
https://issues.apache.org/jira/browse/IVY-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maarten Coene updated IVY-915:
------------------------------

    Remaining Estimate:     (was: 1h)
     Original Estimate:     (was: 1h)

> 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.

Reply via email to