I haven't really investigated any alterantive, but that's what I do. It's pain though, and sooner or later I'll look into if it can be automated. However, as it currently isn't I'm guessing it might not be possible.
/Anders 2011/1/10 Perez Ronen <[email protected]> > release:prepare does not fail. release:perform fails due to wrong label. > > Your suggestion to manually set label worked - thanks. I guess this is the > only way to achieve the release:perform. > > Thanks, > Ronen. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Anders Hammar > Sent: ב 10 ינואר 2011 14:01 > To: Maven Users List > Subject: Re: release:prepare fails to tag a ClearCase view > > I don't understand. Does release:prepare fail? Or isn't it just doing what > you want? > If it fails, please provide the error message. > > My experience with m-release-p and ClearCase is that I manually need to put > the label on the folder above my project (all the way to the root) after I > perform release:prepare. Then I can execute release:perform. > > /Anders > > On Mon, Jan 10, 2011 at 12:08, Perez Ronen <[email protected]> > wrote: > > > Hi All, > > > > > > > > I am trying to setup a release to a Maven project with release:prepare > and > > release:perform. > > > > My project layout is something like: > > > > > > > > /VIEW-NAME/VOB-NAME/parent-dir/workspace/my-proj/pom.xml > > > > > > > > When running the release prepare, one of the things needed to be done is > > put a label (tag) on this view, in order to later create a new view based > on > > the current view for the next release. > > > > The following is a line from the release:prepare output: > > > > > > > > [DEBUG] Executing: /VIEW-NAME/VOB-NAME/parent-dir/workspace/my-proj > > >>/bin/sh -c cd /VIEW-NAME/VOB-NAME/parent-dir/workspace/my-proj && > > cleartool mklbtype -nc new-label > > > > [DEBUG] Executing: /VIEW-NAME/VOB-NAME/parent-dir/workspace/my-proj > > >>/bin/sh -c cd /VIEW-NAME/VOB-NAME/parent-dir/workspace/my-proj && > > cleartool mklabel -recurse new-label . > > > > > > > > > > > > The problem is that the label is set for the root tree of my-proj as a > > result of the "cd" command. I would like the cd to change dir to > > /VIEW-NAME/VOB-NAME to tag from parent-dir down. This later fails the > > performing of the release. > > > > > > > > Any idea on how to set a different base directory to tag? > > > > > > > > Thanks, > > > > > > > > Ronen. > > > > > > > > Ronen Perez > > Chief Programming Office > > Comverse > > Office: +972 3 7655701 > > Mobile: +972 52 8545701 > > [email protected]<blocked::mailto:[email protected]> > > www.comverse.com<blocked::http://www.comverse.com/> > > > > > > ________________________________ > > "This e-mail message may contain confidential, commercial or privileged > > information that constitutes proprietary information of Comverse > Technology > > or its subsidiaries. If you are not the intended recipient of this > message, > > you are hereby notified that any review, use or distribution of this > > information is absolutely prohibited and we request that you delete all > > copies and contact us by e-mailing to: [email protected]. Thank > You." > > > > “This e-mail message may contain confidential, commercial or privileged > information that constitutes proprietary information of Comverse Technology > or its subsidiaries. If you are not the intended recipient of this message, > you are hereby notified that any review, use or distribution of this > information is absolutely prohibited and we request that you delete all > copies and contact us by e-mailing to: [email protected]. Thank You.” > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
