Ivy
  1. Ivy
  2. IVY-1185

Cannot modify revision number with fromsystem rule

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Ubuntu 9.10 AMD64, Ant 1.7.1, Java 1.6.0_15-b03 64-Bit

      Description

      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:

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

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

        Activity

        Andrew created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrew
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development