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.