Ivy
  1. Ivy
  2. IVY-80

Resolver are limited to already defined Resource class

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3-RC1
    • Component/s: Core
    • Labels:
      None
    • Environment:

      WIN32 XP JVM 1.4.2

      Description

      In the class ResourceHelper the equals is bound to some predifined class. If you sub type resource to implemnt a new type you get at resolve time an error :

      ERROR: invalid configuration for resolver 'starteam': pointing ivy files to ivy cache is forbidden !

      Beacuse the helper is returning true....

      Workaround is to keep use of the already defined.

        Activity

        Hide
        Xavier Hanin added a comment -

        A clear mistake was to return true when the kind of resource is unkwnon. This is now fixed, if you provide your own resource it will now be considered as different from all files, and ths no check will be made to ensure that cache is not used directly.

        Show
        Xavier Hanin added a comment - A clear mistake was to return true when the kind of resource is unkwnon. This is now fixed, if you provide your own resource it will now be considered as different from all files, and ths no check will be made to ensure that cache is not used directly.

          People

          • Assignee:
            Xavier Hanin
            Reporter:
            HB
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development