Thanks Dion,
my previous attempt was to extract the whole CVSROOT from the repository.connection. This, however, caused trouble with maven (exception mentioned below). I kept the parts separated by colons and used a property only for the host-string.
This is working fine now.
Thanks for your quick help. Dominik
Dion Gillard wrote:
Use a property, e.g. ${stuff} for the piece of the connection that could change and provide a reasonable default in project.properties.
On Fri, 27 Aug 2004 12:47:35 +0100, Dominik Dahlem <[EMAIL PROTECTED]> wrote:
Hi all,
I'm running into a problem with the developer activity report. I'd like to support an development environment where there may or may not be a cvs-proxy installed to tunnel all cvs commands. When I specify
<repository> <connection> scm:cvs:pserver:[EMAIL PROTECTED]:/cvs:src/project/component </connection> </repository>
in the project.xml file it works fine, but lacks the possibility for some developers who are not using a CVS_PROXY to use a different CVSROOT. If I use a property instead maven bellies up with an IllegalArgumentException, because the pom.repository.connection has less than six tokens.
Did anyone run into the same problem and may have a solution?
Thanks in advance for any pointers. 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/ -------------------------------------------------------
-- 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: OpenPGP digital signature
