Certainly is strange. Maven would be using the one first in the path, which
would be what you are using.

Have you tried to delete the target directory first? What about if you run
it outside of a project directory (If you are inside one)?

- Brett

> -----Original Message-----
> From: Chuck Daniels [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 25 May 2004 1:35 PM
> To: Maven Users List
> Subject: RE: checkout-project fails, but cvs succeeds
> 
> 
> Hi Brett,
> 
> It was difficult to see in the output I included, but after 
> the BUILD FAILED message, my output included the following 
> (using -X provides no further cvs
> details):
> 
> Command line was [Executing 'cvs' with arguments: 
> '-d:pserver:[EMAIL PROTECTED]:/path'
> '-q'
> 'checkout'
> '-P'
> 'bfrc'
> 
> This is the full cvs command that fails through maven.  
> However, when I ran cvs directly, using the same arguments, 
> it worked.  That's what's puzzling me.  I do have 2 instances 
> of cvs installed on my machine.  Is it possible that maven is 
> picking up a different installation than the one that is used 
> when I run cvs directly from the command line?
> 
> Cheers,
> Chuck
> 
> > -----Original Message-----
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > Sent: Monday, May 24, 2004 9:01 PM
> > To: 'Maven Users List'
> > Subject: RE: checkout-project fails, but cvs succeeds
> >
> >
> > You might get more info running with -X: it should show the 
> full cvs 
> > command line.
> >
> > I'm not sure what is happening, but it is a CVS issue. I have no 
> > problem with the checkout command myself.
> >
> > Cheers,
> > Brett
> >
> > > -----Original Message-----
> > > From: Chuck Daniels [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, 25 May 2004 11:29 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: scm:checkout-project fails, but cvs succeeds
> > >
> > >
> > > Hi,
> > >
> > > I couldn't find any postings in the mailing list archive 
> regarding 
> > > this, but has anybody experienced any problems with 
> > > scm:checkout-project?  When I attempt to attain this 
> goal, I get the 
> > > following problem:
> > >
> > > ----- BEGIN OUTPUT -----
> > >
> > > [deleted lines]
> > >
> > > scm:cvs-checkout-project:
> > >     [echo] Checking out bfrc; from CVSROOT: 
> > > :pserver:[EMAIL PROTECTED]:/path
> > >     [mkdir] Created dir: 
> > > D:\development\workspace\bfrc\target\checkouts\bfrc
> > >     [cvs] Using cvs passfile: d:\profiles\cdaniels\.cvspass
> > >     [cvs] cvs checkout: in directory bfrc:
> > >     [cvs] cvs checkout: cannot open CVS/Entries for 
> reading: No such 
> > > file or directory
> > >     [cvs] U bfrc/.cvsignore
> > >     [cvs] cvs [checkout aborted]: cannot open
> > > CVS/Entries.Log: No such file or directory
> > >
> > > BUILD FAILED
> > > File...... 
> > > 
> d:\profiles\cdaniels\.maven\plugins\maven-scm-plugin-1.3\plugin.jell
> > > y
> > > Element... ant:cvs
> > > Line...... 227
> > > Column.... 9
> > > cvs exited with error code 1
> > > Command line was [Executing 'cvs' with arguments:
> > > '-d:pserver:[EMAIL PROTECTED]:/path'
> > > '-q'
> > > 'checkout'
> > > '-P'
> > > 'bfrc'
> > >
> > > The ' characters around the executable and arguments are 
> not part of 
> > > the command.
> > >
> > > [deleted lines]
> > >
> > > ----- END OUTPUT -----
> > >
> > > Notice that .cvsignore is checked out, but nothing else 
> is, then cvs 
> > > fails. However, if I change directory to target\checkouts 
> and issue 
> > > the cvs command using the same arguments as show above, 
> everything 
> > > works fine.  That is, if I run
> > >
> > >     cvs -d:pserver:[EMAIL PROTECTED]:/path -q checkout -P bfrc
> > >
> > > from target\checkouts, cvs successfully checks out 
> everything from 
> > > the bfrc module into target\checkouts\bfrc.
> > >
> > > Does anybody know why the same command would fail when issued 
> > > through maven's scm:checkout-project goal?
> > >
> > > Thanks,
> > > Chuck
> > >
> > >
> > > 
> --------------------------------------------------------------------
> > > -
> > > 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]
> 

Reply via email to