ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeff <jeffrey.blatt...@yahoo.com>
Subject publish two artifacts from single project
Date Wed, 25 Apr 2007 21:57:45 GMT
i have one project (one build.xml), that generates multiple JARs that i wish to publish. i
can't find the right approach to this.

i've tried too many permutations to list here, but this is the latest i have tried ...

my two artifacts ...

    <publications>
        <artifact name="admin_common" type="jar"/>
        <artifact name="ps_util" type="jar"/>
    </publications>

and ...

        <ivy:publish resolver="private"
                     organisation="com.sun.portal"
                     module="admin"
                     revision="${PS.product.version}"
                     pubdate="${pubdate}"
                     status="integration"
                     overwrite="true"
        >
            <artifacts pattern="lib/admin_common.[ext]" />
            <artifacts pattern="lib/ps_util.[ext]" />
        </ivy:publish> 

thus publishes both of the JARs, but both as the same name, admin-7.2.jar, so one overwrites
the other.

any ideas?



       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message