ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Pape" <>
Subject RE: ivy:publish question
Date Wed, 18 Feb 2009 23:30:47 GMT
Well shoot, since I've been tinkering with it, I'm not able to get it
back to the error message I was receiving.  Now, it will publish
"jartwo" but not "jarone".

[ivy:publish] :: publishing :: com.netspend#appname
[ivy:publish]   published jartwo to C:\Documents and
[ivy:publish]   published ivy to C:\Documents and

Total time: 9 seconds

-----Original Message-----
From: Maarten Coene [] 
Sent: Wednesday, February 18, 2009 4:46 PM
Subject: Re: ivy:publish question

Could you also tell us what's going wrong?
Do you get an error?


----- Original Message ----
From: Barry Pape <>
Sent: Wednesday, February 18, 2009 11:33:31 PM
Subject: ivy:publish question

Hi all,

I am trying to publish multiple jars and not having any luck so far.
>From what I've read it is possible, but I must be missing some part of
the correct configuration.  We have a build that produces 5 different
jar files that are depended on by other builds, so we need to publish
them to our local repository.  I'm new to ivy and this is part of my
testing so that we can decide between ivy+ant and maven.  Right now, I'm
only working with two jars to get the basic concepts/configuration in
place.  Any advice is much appreciated.


<ivy-module version="2.0">
    <info organisation="com.netspend" module="appname"/>
        <artifact name="jarone" ext="jar"/>
        <artifact name="jartwo" ext="jar"/>
        <dependency org="jboss" name="jbossall-client" rev="4.2.2.GA"/>
        <dependency org="javax.mail" name="mail" rev="1.4"/>
        <dependency org="junit" name="junit" rev="4.0"/>
        <dependency org="log4j" name="log4j" rev="1.2.14"/>

    <target name="ivy-repo">
        <ivy:resolve refresh="true"/>
            resolver="local" pubrevision="${revision}"

    <settings defaultResolver="local"/>
        <chain name="local">
            <filesystem name="default">
            <ibiblio name="ibiblio" m2compatible="true"/>
            <ibiblio name="java-net-maven1"
root="" m2compatible="false"/>
        <ibiblio name="java-net-maven2"
root="" m2compatible="true"/>
        <url name=""/>

Confidentiality Notice!
This electronic transmission and any attached documents or other
writings are confidential and are for the sole use of the intended
recipient(s) identified above. This message may contain information
that is privileged, confidential or otherwise protected from
disclosure under applicable law. If the receiver of this
information is not the intended recipient, or the employee, or
agent responsible for delivering the information to the intended
recipient, you are hereby notified that any use, reading,
dissemination, distribution, copying or storage of this information
is strictly prohibited. If you have received this information in
error, please notify the sender by return email and delete the
electronic transmission, including all attachments from your


View raw message