dajester2013 / ivysvn

Automatically exported from code.google.com/p/ivysvn
Apache License 2.0
0 stars 0 forks source link

Unable to resolve dependencies that have a revision ending in + #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Issue reported over e-mail:

I've added the ivysvn resolver successfully, however I unable to
resolve depencies that include a '+' in the revision field.

For example

<dependency org="apache" name="log4j" rev="1.2.9" conf="main->default"/
>

resolves, however

<dependency org="apache" name="log4j" rev="1.2+" conf="main->default"/
>

Fails.

This is the resolver pattern I am using

 <resolvers>
   <svn name="ivysvn"
        userName="${svn.user.name}"
        userPassword="${svn.user.password}"
        repositoryRoot="svn://svn.sensis.com.au/maps/trunk/
ivyrepository">
     <ivy pattern="[organisation]/[module]/ivy-[revision].[ext]"/>
     <artifact pattern="[organisation]/[module]/[type]s/[artifact]-
[revision].[ext]"/>
   </svn>
 </resolvers>

The use of "+" is documented here:

http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html

Original issue reported on code.google.com by massdosage on 14 Apr 2010 at 8:07

GoogleCodeExporter commented 9 years ago
Sorry it's taken so long to get around to looking at this. I just wrote a unit 
test to reproduce this issue where I put two versions of a jar into the svn 
repo with versions 4.4 and 4.5. I then do a retrieve for 4.4+ and it works just 
fine and retrieves 4.5 as expected. See 
http://code.google.com/p/ivysvn/source/detail?r=249.

If you are still experiencing this issue please attach the output of running 
the retrieve operation from the command line while passing the "-d" parameter 
to Ant. The stack trace (if any) that you get would also be useful.

Original comment by massdosage on 18 Nov 2010 at 2:59