ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <>
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


----- Original Message ----
From: Simon Lin <>
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-module version="2.0">
  <info organisation="bfg" module="libcurl" revision="7.19.7" />
    <artifact name="libcurl" ext="lib" type="lib" />

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]" />

Am I missing something here?



View raw message