continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <wsm...@gmail.com>
Subject Re: Problem adding maven 2 project to continuum 1.2.2
Date Mon, 24 Nov 2008 14:40:42 GMT
On Mon, Nov 24, 2008 at 2:15 AM, Stevo Slavić <sslavic@gmail.com> wrote:

> When I try to add a maven 2 multi-module project to a fresh continuum
> installation by specifying pom URL of the root module I receive an error:
> "Unable to connect to remote server". From the message it is not clear which
> server continuum has problem connecting to.

Does your userid or password have any special characters which might
cause problems in a URL?

Continuum does use the credentials you give it to retrieve the pom
from the url.  It does this by constructing a url containing the
userid and password.  (Actually you should see this in the logs, with
***'s for the password.)

For example:

2008-11-24 07:36:27,241 [addMavenTwoProjectBackgroundThread] INFO
continuumProjectBuilder#maven-two-builder  - Downloading
https://wsmoak:*****@example.com/svn/wsmoak/hello/trunk/pom.xml

Then later to check out, it uses the same credentials, which it has
stored in the database:

008-11-24 07:36:31,045 [pool-2-thread-1] INFO  action#checkout-project
 - Checking out project: 'hello', id: '19' to
'/home/wsmoak/apache-continuum-1.2.2/data/working-directory/19'.
2008-11-24 07:36:31,094 [pool-2-thread-1] INFO

org.apache.continuum.scm.manager.Slf4jScmLogger  - Executing: /bin/sh
-c cd /home/wsmoak/apache-continuum-1.2.2/data/working-directory &&
svn --username wsmoak --password '*****' --non-interactive checkout
https://example.com/svn/wsmoak/hello/trunk 19

-- 
Wendy
Mime
View raw message