Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1144

revisions are not replaces using deliver-task if an extra-attribute is set

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.1.0
    • 2.2.0-RC1
    • Core
    • None

    Description

      I'm using extra attributes in my ivy-file "dtn:envelop". If i try to deliver,
      the revision "latest.${ivy.status}" is not replaced to the resolved&retrieved revision number:

      <?xml-stylesheet type="text/xsl" href="http://www.jayasoft.fr/org/ivyrep/ivy-doc.xsl"?>
      <ivy-module version="2.0" xmlns:dtn="http://dtnet.de/ivy/extra">
      ...
      <dependency org="dtnet" name="foundation"
      rev="latest.${ivy.status}" dtn:envelop="" revConstraint="latest.integration"
      conf="
      runtime, eclipse, compile -> dtnet-startup, dtnet-exec, dtnet-net ;
      tools -> dtnet-prop2class;
      source ;
      license"/>

      If i remove the extra attribute
      <dependency org="dtnet" name="foundation"
      rev="latest.${ivy.status}" revConstraint="latest.integration"
      conf="
      runtime, eclipse, compile -> dtnet-startup, dtnet-exec, dtnet-net ;
      .....
      all works fine an my new, generated ivy.xml includes the replace revisions:
      <dependency org="dtnet" name="foundation" rev="2.7.3" ...

      My deliver task looks like this:
      <ivy:deliver
      pubrevision="${gen.new.revision}"
      generateRevConstraint="true"
      replacedynamicrev="true"
      pubdate="${now}"
      status="${ivy.status}"
      validate="true"
      deliverpattern="${artifacts.dir}/[artifact].[ext]" />

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            maartenc Maarten Coene
            danny Danny Angus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment