You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dominik Dahlem <Do...@cs.tcd.ie> on 2004/08/27 13:47:35 UTC
developer activity report with CVS_PROXY
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:ddahlem%cvs.ahost.net@cvs-proxy.bhost.ie:/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 <Do...@cs.tcd.ie>
-------------------------------------------------------
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/
-------------------------------------------------------
Re: developer activity report with CVS_PROXY
Posted by Dominik Dahlem <Do...@cs.tcd.ie>.
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
> <do...@cs.tcd.ie> 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:ddahlem%cvs.ahost.net@cvs-proxy.bhost.ie:/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 <Do...@cs.tcd.ie>
>>-------------------------------------------------------
>>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 <Do...@cs.tcd.ie>
-------------------------------------------------------
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/
-------------------------------------------------------
Re: developer activity report with CVS_PROXY
Posted by Dion Gillard <di...@gmail.com>.
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
<do...@cs.tcd.ie> 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:ddahlem%cvs.ahost.net@cvs-proxy.bhost.ie:/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 <Do...@cs.tcd.ie>
> -------------------------------------------------------
> 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/
> -------------------------------------------------------
>
>
>
>
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org