You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Dave (Jira)" <ji...@apache.org> on 2021/01/24 21:17:00 UTC
[jira] [Updated] (IVY-1623) Are @ symbols reserved in revision
strings?
[ https://issues.apache.org/jira/browse/IVY-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave updated IVY-1623:
----------------------
Description:
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?
was:
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?
> 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)