Dave created IVY-1623:
-------------------------

             Summary: 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


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)

Reply via email to