Back to the original question: is this a bug or am I missing something? Corey
-----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 4:21 PM To: Maven Users List Subject: Re: scm:bootstrap-project does not update ${basedir} No, I mean Maven essentially runs a reactor to start the new project, so the basedir variable should be set, but the current working directory will remain where you started Maven from. - Brett On 5/3/05, Corey Klaasmeyer <[EMAIL PROTECTED]> wrote: > I don't know whether it's running inside a reactor. My command is: > > maven scm:bootstrap-project > > I assumed bootstrap would run as if maven <goal> were run in the clean > checkouts directory? > > Corey > > -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Monday, May 02, 2005 4:05 PM > To: Maven Users List > Subject: Re: scm:bootstrap-project does not update ${basedir} > > ${basedir} should be, but ${user.dir} is not - it is run inside a > reactor. Is this not the case? > > - Brett > > On 5/3/05, Corey Klaasmeyer <[EMAIL PROTECTED]> wrote: > > I'm using scm:bootstrap-project with Maven, and I would expect > > ${basedir} to be updated to the directory of the clean checkout > > directory after doing an scm:bootstrap-project, but that doesn't seem > to > > be the case. Here is the > > > > ======== start maven output ========== > > > > maven.scm.bootstrap.goals = multiproject:deploy > > multiproject:deploy-snapshot jar:deploy-snapshot site:deploy > > scm:parse-connection: > > [echo] Using connection: scm:cvs:ext:cvs@<server><cvs-root>:engr > > Using SCM method: cvs > > > > Using CVSROOT: :ext:cvs@<server><cvs-root> > > > > Using module: engr > > > > scm:validate: > > > > scm:checkout-project: > > scm:cvs-checkout-project: > > [echo] Checking out engr; from CVSROOT: > :ext:cvs@<server><cvs-root> > > [delete] Deleting directory > > C:\usr\ci\test\engr\target\checkouts\engr > > [mkdir] Created dir: C:\usr\ci\test\engr\target\checkouts\engr > > [cvs] cvs checkout: cwd=C:\usr\ci\test\engr\target\checkouts > > ,current=C:\usr\ci\test\engr\target\checkouts > > > > ... cvs checkouts ... > > > > [echo] bootstrap-base-dir: C:\usr\ci\test\engr > > > > ======== end maven output ========== > > > > I think the line "[echo] bootstrap-base-dir: C:\usr\ci\test\engr" > should > > read "[echo] bootstrap-base-dir: > > C:\usr\ci\test\engr\target\checkouts\engr" > > > > Is this behavior expected and/or correct, or am I missing something? > > > > Corey > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]