[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user jaikiran commented on the issue:

https://github.com/apache/ant-ivy/pull/59
  
>> thanks @jaikiran do you have an Estimated Time for next release 
containing this bugfix?

@apupier - the plan is to have it soon (no specific date yet). We are 
almost at the last few tasks/bug fixes we have in mind. A more concrete date 
will be discussed in the ant dev mailing list 
http://ant.apache.org/ivy/mailing-lists.html

If you want to give it a try with our nightly builds, it's available as 
noted in this mail 
https://www.mail-archive.com/ivy-user@ant.apache.org/msg06252.html


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>Assignee: jaikiran pai
> Fix For: master
>
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user twogee commented on the issue:

https://github.com/apache/ant-ivy/pull/59
  
This is a bit off topic, but why are Jenkins builds still failing to find 
JaCoCo?


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>Assignee: jaikiran pai
> Fix For: master
>
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAcces

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user apupier commented on the issue:

https://github.com/apache/ant-ivy/pull/59
  
thanks @jaikiran do you have an Estimated Time for next release containing 
this bugfix?


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>Assignee: jaikiran pai
> Fix For: master
>
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMeth

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user jaikiran commented on the issue:

https://github.com/apache/ant-ivy/pull/59
  
Thank you for the PR and sorry it took a while to merge this. I have 
included the change you suggested in this PR with a minor change and merged it 
upstream.


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>Assignee: jaikiran pai
> Fix For: master
>
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(Na

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user asfgit closed the pull request at:

https://github.com/apache/ant-ivy/pull/59


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user apupier commented on the issue:

https://github.com/apache/ant-ivy/pull/59
  
is there a specific comment specified to retrigger the build?


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user nlalevee commented on the issue:

https://github.com/apache/ant-ivy/pull/59
  
Yep, I fixed the configuration, I tried to launch a rebuild for this PR, 
but it seems that rebuild on Jenkins doesn't take into account the PR, so I 
aborted it.


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.Delegat

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user twogee commented on the issue:

https://github.com/apache/ant-ivy/pull/59
  
If I'm not mistaken, one of the builds for #58 was aborted by @nlalevee -- 
something wrong with Jenkins?


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user apupier commented on the issue:

https://github.com/apache/ant-ivy/pull/59
  
for the Jenkins error:

> ERROR: Step ‘Publish JUnit test result report’ failed: No test report 
files were found. Configuration error?

but tests were launched and are successful


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

GitHub user apupier opened a pull request:

https://github.com/apache/ant-ivy/pull/59

IVY-1566 - Store External form of URL in cached files

So hard to configure the project in my IvyIDE, cannot launch test 
individually so I abandoned the to search how to write a test.

I tested manually in my use case and I don't have anymore 
MalformedURlException

the ivydata*.properties now contaisn always "file:"

```
artifact\:ivy\#ivy\#xml\#-455539479.location=file\:C\:/Users/Aurelien 
Pupier/.m2/repository/org/apache/camel/camel/2.17.2/camel-2.17.2.pom
resolver=localm2
artifact\:ivy\#ivy\#xml\#-455539479.is-local=true

artifact\:ivy\#ivy\#xml\#-455539479.original=artifact\:camel\#pom.original\#pom\#1474703200
artifact\:camel\#pom.original\#pom\#1474703200.exists=true
artifact\:ivy\#ivy\#xml\#-455539479.exists=true
artifact.resolver=localm2
artifact\:camel\#pom.original\#pom\#1474703200.is-local=true

artifact\:camel\#pom.original\#pom\#1474703200.location=file\:C\:/Users/Aurelien
 Pupier/.m2/repository/org/apache/camel/camel/2.17.2/camel-2.17.2.pom

artifact\:camel\#pom.original\#pom\#1474703200.original=artifact\:camel\#pom.original\#pom\#1474703200
```

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/apupier/ant-ivy 
IVY-1566-AvoidStoringPathWhichAreNotUrl

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ant-ivy/pull/59.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #59


commit b9211c8c3666f2df6bb8a1d54cb8dd03081397a2
Author: Aurélien Pupier 
Date:   2017-08-10T13:57:42Z

IVY-1566 - Store External form of URL in cached files




> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.d

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user apupier closed the pull request at:

https://github.com/apache/ant-ivy/pull/58


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtim

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

Github user twogee commented on the issue:

https://github.com/apache/ant-ivy/pull/58
  
2.4.x branch seems not to be buildable, could you please open the PR 
against master?


> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at j

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IVY-1566:
-

GitHub user apupier opened a pull request:

https://github.com/apache/ant-ivy/pull/58

IVY-1566 - Store External form of URL in cached files

So hard to configure the project in my IvyIDE, cannot launch test 
individually so I abandoned the to search how to write a test.

I tested manually in my use case and I don't have anymore 
MalformedURlException

the ivydata*.properties now contaisn always "file:"

```
artifact\:ivy\#ivy\#xml\#-455539479.location=file\:C\:/Users/Aurelien 
Pupier/.m2/repository/org/apache/camel/camel/2.17.2/camel-2.17.2.pom
resolver=localm2
artifact\:ivy\#ivy\#xml\#-455539479.is-local=true

artifact\:ivy\#ivy\#xml\#-455539479.original=artifact\:camel\#pom.original\#pom\#1474703200
artifact\:camel\#pom.original\#pom\#1474703200.exists=true
artifact\:ivy\#ivy\#xml\#-455539479.exists=true
artifact.resolver=localm2
artifact\:camel\#pom.original\#pom\#1474703200.is-local=true

artifact\:camel\#pom.original\#pom\#1474703200.location=file\:C\:/Users/Aurelien
 Pupier/.m2/repository/org/apache/camel/camel/2.17.2/camel-2.17.2.pom

artifact\:camel\#pom.original\#pom\#1474703200.original=artifact\:camel\#pom.original\#pom\#1474703200
```

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/apupier/ant-ivy 
IVY-1566-AvoidStoringPathWhichAreNotUrl

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ant-ivy/pull/58.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #58


commit 360d085dcbddee597c515243aef77109f2887292
Author: Aurélien Pupier 
Date:   2017-08-10T13:57:42Z

IVY-1566 - Store External form of URL in cached files




> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.d

[jira] [Commented] (IVY-1566) Some cached location are badly stored which results in MalformedURLException

2017-08-10 Thread Aurelien Pupier (JIRA)

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

Aurelien Pupier commented on IVY-1566:
--

For now, I don't know who is responsible to write those values in this file.

> Some cached location are badly stored which results in MalformedURLException
> 
>
> Key: IVY-1566
> URL: https://issues.apache.org/jira/browse/IVY-1566
> Project: Ivy
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.4.0
>Reporter: Aurelien Pupier
>
> In the cache I have this values:
> {noformat}
> artifact\:apache\#pom.original\#pom\#152078872.is-local=true
> artifact\:apache\#pom.original\#pom\#152078872.location=file\:C\:/Users/Aurelien
>  Pupier/.m2/repository/org/apache/apache/17/apache-17.pom
> resolver=cachedGrapes
> artifact\:ivy\#ivy\#xml\#-1725951287.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.exists=true
> artifact\:apache\#pom.original\#pom\#152078872.original=artifact\:apache\#pom.original\#pom\#152078872
> artifact\:ivy\#ivy.original\#xml\#-291525928.is-local=true
> artifact\:ivy\#ivy\#xml\#-1725951287.is-local=true
> artifact.resolver=cachedGrapes
> artifact\:ivy\#ivy.original\#xml\#-291525928.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy\#xml\#-1725951287.location=C\:\\Users\\Aurelien 
> Pupier\\.groovy\\grapes\\org.apache\\apache\\ivy-17.xml
> artifact\:ivy\#ivy.original\#xml\#-291525928.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy\#xml\#-1725951287.original=artifact\:ivy\#ivy.original\#xml\#-291525928
> artifact\:ivy\#ivy.original\#xml\#-291525928.exists=true
> {noformat}
> you can notice some *.location properties which are starting with file:/ and 
> some others not.
> I checked by all entries are really existing on the filesystem.
> when there is no file:/ , a MalformedException occured:
> {noformat}
> java.net.MalformedURLException: unknown protocol: c
>   at java.net.URL.(URL.java:600)
>   at java.net.URL.(URL.java:490)
>   at java.net.URL.(URL.java:439)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getSavedArtifactOrigin(DefaultRepositoryCacheManager.java:518)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.doFindModuleInCache(DefaultRepositoryCacheManager.java:755)
>   at 
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager.findModuleInCache(DefaultRepositoryCacheManager.java:684)
>   at 
> org.apache.ivy.plugins.resolver.AbstractResolver.findModuleInCache(AbstractResolver.java:348)
>   at 
> org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:91)
>   at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:170)
>   at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:718)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:803)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:726)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:599)
>   at 
> org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:236)
>   at org.apache.ivy.Ivy.resolve(Ivy.java:523)
>   at org.apache.ivy.Ivy$resolve$0.call(Unknown Source)
>   at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:410)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)
>   at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)
>   at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)
>   at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.codehaus.groovy.runtime.callsite.PogoMe