Good morning, I couldn't find a way other than persisting the old version into a temp file via ant:echo in the preGoal and load this file in the postGoal for further processing. However, this does the job for me.
Cheers, Dominik On Thu, 2004-06-03 at 20:59, Dominik Dahlem wrote: > Hi all, > > I'm wondering whether it is possible to set a property in preGoal and > use it in postGoal without specifying it in any of the property files? > I would like to retrieve the latest snapshot version of a component (via > loadFile from jelly:util) in the preGoal of jar:deploy-snapshot to be > able to remove this version in the appropriate postGoal from my > repository which I keep in CVS. Additionally, I add the latest snapshot > version (which has just been created) into CVS in the postGoal. With > this approach I ensure that the repository in CVS is not polluted with > lots of timestamped snapshot versions. I only want to keep the latest > one. > > Thanks for any help. > Dominik -- Dominik Dahlem <[EMAIL PROTECTED]> ------------------------------------------------------- Trinity College Dublin Department of Computer Science, Dublin 2, Ireland tel: (+353) 1-608 1539 fax: (+353) 1-677 2204 www: http://www.cs.tcd.ie/Dominik.Dahlem/ -------------------------------------------------------
signature.asc
Description: This is a digitally signed message part