ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Goblirsch <>
Subject Re: Newbie: How to skip publish to local repository
Date Tue, 20 Jan 2009 23:56:02 GMT
Archie Cobbs wrote:
> This is really an ant question, not an ivy question (I say that for
> clarification, not to be annoying :-)
> The simplest way would be to set some property "jar.published" in your jar
> task (via <property ...>) and then make your publish task conditional on
> this property being set (e.g., via <target name="publish"
> if="${jar.published}">). I might have the syntax details wrong but that's
> the gist of it.
Indeed! Thanks for the tip. I set the property using Ant's <uptodate> 
task, comparing the local repo version versus
the dist dir version, and that works.

Thank you for your quick response!

View raw message