> -----Original Message-----
> From: B�hringer Jochen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 5:57 PM
> To: [EMAIL PROTECTED]
> Subject: CVS Connection to CVSNT
>
>
> Hi,
>
> I try to connect to a CVSNT (Windows 2003 Server) to generate the
> changelogs during site:generate.
>
> The Connection string ist:
>
> scm:cvs:pserver:[EMAIL PROTECTED]:D:/cvsrepo/MavenTests:MavenTestWeb
>
> Every time I try to do so I get the following Exception
> indicating that something is wrong with the connection string.
> I think the : after the drive letter D is the problem. But I need
> it because the CVS is hosted on a Windows Server.
>
> Is there another syntax to use?

Yes, there is.  Use another character as your delimiter.  For example, use a
pipe (|) instead of a colon (:) to seperate the parts of the connection
string.  See
http://maven.apache.org/reference/project-descriptor.html#repository.

Alternatively, I highly recommend that you use a Repository Prefix option
provided by CVSNT so that you can eliminate the need for supplying the drive
letter in the path.  For example, this is my setup:

D:\cvs -> root of all CVS stuff
D:\cvs\cvsnt -> CVSNT installation directory
D:\cvs\cvsrepo -> my CVSROOT
D:\cvs\cvstemp -> temp directory for CVSNT

Using this structure, take the following steps, using the CVSNT control
panel application:

0. Stop the CVSNT service, if it's running.
1. On the Repositories tab, check the Repository Prefix checkbox.
2. Click the browse button (the button with the 3 dots on it).
3. Choose the D:/cvs folder and click OK.
4. Click the Add button.
5. Enter D:/cvs/cvsrepo and click OK.
6. Click the Advanced tab.
7. Click the browse button (3 dots) next to Temporary Directory.
8. Select D:/cvs/cvstemp and click OK.
9. Click Apply and restart the CVSNT service on the Service Status tab.

Now you can use /cvsrepo for your cvsroot path in the connection string (no
need for including the D:/cvs/ prefix).  Note that although you obviously
don't have to use the structure I used, your cvsroot must NOT be a top-level
directory on your hard drive.  That is, to use the Repository Prefix feature
of CVSNT you cannot use something like D:/cvsrepo as your cvsroot.  It must
be at least one directory deeper, as in my example.

>
> BUILD FAILED
> File...... D:\MavenHome\cache\maven-changelog-plugin-1.7.1\plugin.jelly
> Element... changelog:changelog
> Line...... 83
> Column.... 15
> cvs repository connection string doesn't contain six tokens
> Total time: 53 seconds
> Finished at: Thu Aug 12 18:58:33 CEST 2004
>
> Thanks for your help.
>
> Jochen
>
> ---------------------------------------------------------------------
> 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