ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: ivy:publish keeps looking for jar file
Date Wed, 11 Aug 2010 21:35:13 GMT
You should specify the srcivypattern attribute in your ivy:publish task so that 
Ivy knows where to find your ivy.xml file

Maarten




----- Original Message ----
From: Simon Lin <noisebar@gmail.com>
To: ivy-user@ant.apache.org
Sent: Tue, August 10, 2010 7:14:29 PM
Subject: ivy:publish keeps looking for jar file

Hi all,

I'm trying to publish a .lib file to a repository.  But I keep getting error 
message saying that the jar file can't be found.  Here is the content of 
ivy.xml:

<ivy-module version="2.0">
  <info organisation="bfg" module="libcurl" revision="7.19.7" />
  <publications>
    <artifact name="libcurl" ext="lib" type="lib" />
  </publications>
</ivy-module>

Here is the Ant publish task:

  <target name="publish">
    <ivy:resolve />
    <ivy:publish resolver="artifactory-publish" revision="7.19.7" 
organisation="bfg" module="libcurl">
      <artifacts pattern="target/[artifact].[ext]" />
    </ivy:publish>
  </target>

Am I missing something here?

Thanks.


      

Mime
View raw message