ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Sher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-652) Ivy constructs incorrect URL if artifact path contains spaces
Date Wed, 30 Jul 2008 08:39:32 GMT

    [ https://issues.apache.org/jira/browse/IVY-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618252#action_12618252
] 

Pavel Sher commented on IVY-652:
--------------------------------

I've built ivy from sources in SVN and the problem still exists. Take a look at the log produced
by Ivy:

:: loading settings :: file = C:\Perforce\BuildServer\tools\tomcat\temp\ivysettings67395.xml
:: resolving dependencies :: org#bt378;working@unit-231
	confs: [default]
	found org#bt377;4 in teamcity-rep
	[4] org#bt377;latest.lastFinished
:: resolution report :: resolve 15522ms :: artifacts dl 15ms
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      default     |   1   |   1   |   1   |   0   ||   1   |   0   |
	---------------------------------------------------------------------

:: problems summary ::
:::: WARNINGS
		[NOT FOUND  ] org#bt377;4!agent openapi.jar (0ms)

	==== teamcity-rep: tried

	  http://localhost:8111/bs/httpAuth/repository/download/bt377/4/agent openapi.jar

		::::::::::::::::::::::::::::::::::::::::::::::

		::              FAILED DOWNLOADS            ::

		:: ^ see resolution messages for details  ^ ::

		::::::::::::::::::::::::::::::::::::::::::::::

		:: org#bt377;4!agent openapi.jar

		::::::::::::::::::::::::::::::::::::::::::::::



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
:: retrieving :: org#bt378
	confs: [default]
	0 artifacts copied, 0 already retrieved (0kB/0ms)


My ivy.xml has the following content:

<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="1.4">
  <info organisation="org" module="bt377" revision="4" status="lastFinished" publication="20080729162455"/>
  <publications>
    <artifact name="agent openapi" type="jar" ext="jar"/>
  </publications>
</ivy-module>

On the server I did not see request to download "agent openapi.jar", so I do not know why
Ivy decided that file was not found, probably it failed to create HTTP request.

> Ivy constructs incorrect URL if artifact path contains spaces
> -------------------------------------------------------------
>
>                 Key: IVY-652
>                 URL: https://issues.apache.org/jira/browse/IVY-652
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.4.1
>            Reporter: Pavel Sher
>             Fix For: 2.0-RC1
>
>
> I have the following publication in my ivy.xml file:
>   <publications>
>     <artifact name="artifacts/sub folder/file" type="txt" ext="txt" />
>   </publications>
> When Ivy tries to download this artifact it constructs wrong URL with non escaped spaces.
> I can provide escaped path in ivy.xml (however I do not think it is correct to do so),
but in this case Ivy do not unescape path and stores files on disk with %20 in their names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message