[ https://issues.apache.org/jira/browse/IVY-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17271357#comment-17271357 ]
Jaikiran Pai commented on IVY-1623: ----------------------------------- >From what I can see in the code and its history, I'm not sure why that check >is there. The "workspaceName" is an internal detail and shouldn't have >impacted this dependency resolution. I can't seem to find any document which >states taht the use of "@" is disallowed in versions. I'll try and spend some >time on the code to understand what it's trying to do, in the coming days and >see if we can come with a fix without introducing any regressions. > Are @ symbols reserved in revision strings? > ------------------------------------------- > > Key: IVY-1623 > URL: https://issues.apache.org/jira/browse/IVY-1623 > Project: Ivy > Issue Type: Question > Environment: Plain ivy 2.5.0 on the command line, no ant or IDE. > Reporter: Dave > Priority: Major > > I'm trying to set a dependency with a revision containing multiple @ symbols. > The naming of these revision strings is outwith my control, so no lectures > please! > Here's my simplified ivy.xml: > {{<?xml version="1.0" encoding="UTF-8"?>}} > {{<ivy-module version="2.0">}} > {{ <info organisation="com.asdf" module="thingy" />}} > {{ <dependencies> }} > {{ <dependency org="org.blah" name="whatever" > rev="1.70.0_pkg159@win32@cpp_3_3.3@msvc_141@msvc_141@msvc_15@x86-64" />}} > {{ </dependencies>}} > {{</ivy-module>}} > When I attempt to retrieve the dependencies I get the following: > {{:::: ERRORS}} > {{ my-url-resolver: unhandled revision => > 1.70.0_pkg159@win32@cpp_3_3.3@msvc_141@msvc_141@msvc_15@x86-64}} > This appears to be due to code in {{BasicResolver}} that checks for the > presence of an @, and if it's not followed by the "workspaceName", throws the > above error. > So, is @ a reserved character? I don't see any mention this in the ivy > documentation. > The "workspaceName" doesn't appear to be referenced within ivy itself, so > what's it for? -- This message was sent by Atlassian Jira (v8.3.4#803005)