ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiller, Dean (Contractor)" <dean.hil...@broadridge.com>
Subject RE: how to publish 3 different things in one ant script
Date Fri, 10 Dec 2010 17:41:05 GMT
Oh, you have to delete some distrib directory ivy is creating(how to
have ivy create that directory somewhere else like in output/distrib to
jive with my dir struct).  This code now works...

 

            <delete dir="distrib"></delete>

            <ivy:resolve file="ivy-hbase.xml"/>

            <ivy:publish resolver="artifactory-publish"
pubrevision="1.0" overwrite="true"/>

            <ivy:resolve file="ivy-hibernate.xml"/>

            <delete dir="distrib"></delete>

            <ivy:publish resolver="artifactory-publish"
pubrevision="1.0" overwrite="true"/>

            <delete dir="distrib"></delete>

            <ivy:resolve file="ivy-tools.xml"/> 

            <ivy:publish resolver="artifactory-publish"
pubrevision="1.0" overwrite="true"/>

 

 

From: Hiller, Dean (Contractor) 
Sent: Friday, December 10, 2010 10:34 AM
To: 'ivy-user@ant.apache.org'
Subject: how to publish 3 different things in one ant script

 

Most ivy ant tasks have a resolveid but not the publish one?? L

 

I was trying to publish 3 virtual modules(ie. They all just have an
ivy.xml file and no artifacts) with the following...

 

            <ivy:resolve file="ivy-hbase.xml"/>

            <ivy:publish resolver="artifactory-publish"
pubrevision="1.0" overwrite="true"/>

            <ivy:resolve file="ivy-hibernate.xml"/>

            <ivy:publish resolver="artifactory-publish"
pubrevision="1.0" overwrite="true"/>

            <ivy:resolve file="ivy-tools.xml"/> 

            <ivy:publish resolver="artifactory-publish"
pubrevision="1.0" overwrite="true"/>

 

But that is not working.  It publishes all 3 to the first one.

Thanks for any help on this issue,

Dean


This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message