ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archie Cobbs (JIRA)" <>
Subject [jira] Updated: (IVY-829) Add new "packager" resolver to Ivy
Date Fri, 11 Jul 2008 19:42:31 GMT


Archie Cobbs updated IVY-829:

    Attachment: test-patch.txt

I tried to implement this (see "test-patch.txt" attached) but ran across a couple of issues:

# I couldn't figure out how to fix the build ("ant jar"). The bootstrapping process breaks
when the PackagerResolver includes ant classes. I was able to hack in a temporary workaround
# When it tries to run the ant task (e.g., during the unit test) it bombs out:
:: loading settings :: url = file:/home/archie/ivycore/trunk/build/classes/core/org/apache/ivy/core/settings/ivysettings.xml
Project base dir set to: /home/archie/ivycore/trunk/build/test/PackagerResolverTest/build/org/mod/1.0
 [packager] calling target(s) [build] in build file /home/archie/ivycore/trunk/build/test/PackagerResolverTest/build/org/mod/1.0/build.xml
parsing buildfile /home/archie/ivycore/trunk/build/test/PackagerResolverTest/build/org/mod/1.0/build.xml
with URI = file:/home/archie/ivycore/trunk/build/test/PackagerReso
Project base dir set to: /home/archie/ivycore/trunk/build/test/PackagerResolverTest/build/org/mod/1.0
 [packager] Entering /home/archie/ivycore/trunk/build/test/PackagerResolverTest/build/org/mod/1.0/build.xml...
Build sequence for target(s) `build' is [validate, setResourceURL1, setResourceURL2, style,
Complete build sequence is [validate, setResourceURL1, setResourceURL2, style, build, ]

[] Could not load definitions from resource org/apache/tools/ant/antlib.xml.
It could not be found.
 [packager] Exiting /home/archie/ivycore/trunk/build/test/PackagerResolverTest/build/org/mod/1.0/build.xml.
The following error occurred while executing this line:
Problem: failed to create task or type xmlvalidate
Cause: the class was not found.
        This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
        -the IDE Ant configuration dialogs

Do not panic, this is a common problem.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem

> Add new "packager" resolver to Ivy
> ----------------------------------
>                 Key: IVY-829
>                 URL:
>             Project: Ivy
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Archie Cobbs
>            Assignee: Xavier Hanin
>             Fix For: 2.0-RC1
>         Attachments: m2repo.tgz, packager-resolver-patch.txt, test-patch.txt
> Feature request to add a new resolver, called the "Packager Resolver", [described here|].
> Patch is attached and also available [here|].
Patch contains binary test files, so to apply it you have to follow the [simple steps described

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

View raw message