ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1185) Cannot modify revision number with fromsystem rule
Date Wed, 21 Apr 2010 01:53:50 GMT
Cannot modify revision number with fromsystem rule
--------------------------------------------------

                 Key: IVY-1185
                 URL: https://issues.apache.org/jira/browse/IVY-1185
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1.0
         Environment: Ubuntu 9.10 AMD64, Ant 1.7.1, Java 1.6.0_15-b03 64-Bit
            Reporter: Andrew


Ability to revise revisions. At present, if I want all projects to have at least, say, a 3
digit revision number (e.g. 1.2.3) or to strip out a bit of text from the revision number
(e.g. remove -FINAL), that's not possible as I get the following error when the following
rule is applied:

{noformat}
public: bad revision found in
http://repo1.maven.org/maven2/junit/junit/4.7/junit-4.7.pom:
expected='4.7 found='4.7.0'
{noformat}

{noformat}
<rule>
        <fromsystem>
                <src org="org.junit" module="junit" rev="4.7.0" />
                <dest org="$m0" module="$m0" rev="4.7" />
         </fromsystem>
         <tosystem>
                <src org="junit" module="junit" rev="4.7" />
                <dest org="org.$o0" module="$m0" rev="4.7.0" />
         </tosystem>
</rule>
{noformat}

The interesting thing is that the {{tosystem}} rule does seem to work, but it's not properly
applying the {{fromsystem}} rule...

-- 
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