dajester2013 / ivysvn

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

ivysvn: bad classifier found in expected='sp2' found='null' #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

0. I have such ivy.xml

    <dependencies>
        <dependency name="ms" rev="1.0" />
        <dependency name="servlet-api" rev="1.0" />
        <dependency org="webservices" name="emc-dfs-tools" rev="6.5" e:classifier="sp2" />
        <dependency org="webservices" name="emc-dfs-services-remote" rev="6.5" e:classifier="sp2" />
    </dependencies>
</ivy-module>

1. I migrate to mirror svn on filesystem
    <resolvers>
        <svn name="ivysvn" repositoryRoot="file:///D:/admin/korus_svn_mirror/Korus_ivy/" userName="" userPassword="">
            <ivy pattern="internal-repo/[organisation]/[module]/[revision]/ivy-[revision].xml" />
            <artifact pattern="internal-repo/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
        </svn>
    </resolvers>

2. when i try to 
            <ivy:retrieve pattern="${internal-libs}/[artifact]-[revision](-[classifier]).[ext]" sync="true"  />

3. I get        ivysvn: bad classifier found in 
file:///D:/admin/korus_svn_mirror/Korus_ivy/internal-repo/webservices/emc-dfs-to
ols/6.5/ivy-6.5.xml: expected='sp2' found='null'

only for artifacts with classifiers

What version of the product are you using? On what operating system?
ANT 1.8.2 ivysvn 2.2.0

Original issue reported on code.google.com by resh...@gmail.com on 14 May 2011 at 4:11

GoogleCodeExporter commented 9 years ago
I'm afraid I've never used classifiers, so if there is something special which 
needs to be done with them in IvySvn it's probably not happening. I probably 
won't have time to look at this any time soon, so if this is a big issue for 
you please check out the source code and have a go at fixing it. I will happily 
apply submitted patches which fix this.

Original comment by massdosage on 19 May 2011 at 9:04

GoogleCodeExporter commented 9 years ago
It's was error in my configuration,
I misplaced (-[classifier]) in artifact pattern
So close this issue.

            <artifact pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"/>

Original comment by resh...@gmail.com on 5 Mar 2012 at 9:45

GoogleCodeExporter commented 9 years ago
Thanks for letting me know, marking as closed.

Original comment by massdosage on 5 Mar 2012 at 10:17