You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Simon Lin <no...@gmail.com> on 2010/08/10 19:14:29 UTC
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.
Re: ivy:publish keeps looking for jar file
Posted by Maarten Coene <ma...@yahoo.com>.
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 <no...@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.