Re: Newbie: How to skip publish to local repository

2009-01-20 Thread David Goblirsch
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 ) and then make your publish task conditional on this property being set (e.g., via )

Re: Newbie: How to skip publish to local repository

2009-01-20 Thread David Goblirsch
Mitch Gitman wrote: David, forgive me beforehand for answering your question (A) with another question and then (B) by sidestepping it. Could you clarify what you mean by "local repository"? I think in the usual Ivy parlance, this means local to an individual developer's machine. Do you mean loc

Re: Newbie: How to skip publish to local repository

2009-01-20 Thread Archie Cobbs
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 ) and then make your publish task conditional on this property being set (e.g., via ). I might have the syn

Re: Newbie: How to skip publish to local repository

2009-01-20 Thread Mitch Gitman
David, forgive me beforehand for answering your question (A) with another question and then (B) by sidestepping it. Could you clarify what you mean by "local repository"? I think in the usual Ivy parlance, this means local to an individual developer's machine. Do you mean local to your machine or

Newbie: How to skip publish to local repository

2009-01-20 Thread David Goblirsch
If I have no changes to my source code or ivy.xml, my build will do nothing EXCEPT that the "publish" task still wants to push them to the local repository. In order to get the build to not fail, I have to set overwrite to "true". My guess is I am missing something here. My "publish" task depen