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/05/29 21:47:46 UTC
[jira] Resolved: (IVY-797) Filesystem repositories can not have ()
in the path
[ https://issues.apache.org/jira/browse/IVY-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-797.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0-RC1
Fixed in SVN trunk.
Implemented as suggested by Xavier, so there is no need to escape the '( )' first.
> 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
> Assignee: Maarten Coene
> Fix For: 2.0-RC1
>
>
> 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.