ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Bonanno (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-797) Filesystem repositories can not have () in the path
Date Wed, 16 Apr 2008 18:01:22 GMT
Filesystem repositories can not have () in the path
---------------------------------------------------

                 Key: IVY-797
                 URL: https://issues.apache.org/jira/browse/IVY-797
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0-beta-1
         Environment: Windows
            Reporter: Jim Bonanno


Here is the situation we ran into.

The filesystem resolver has the following patterns

            <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
            <artifact pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}"
/>

    ivy.local.default.ivy.pattern is "[organisation]/[module]/[type]s/[artifact]-[revision].[ext]
    ivy.local.default.artifact.pattern is "[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"

and
   ivy.local.default.root is c:\downloads\Program Files (x86)\repo

The substituteToken method in IvyPatternHelper was replacing the "(x86)"  token in the path
with nothing, and therefore the filesystem resolver couldn't find the local repository.

When the resolver tries to look in the local repository the (x86) was removed.

Fix suggested on the mailing list was to allow escaping the ()

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


Mime
View raw message