Re: Password ignored when checking out using CVS with ext

2006-07-10 Thread Barrie Treloar

On 7/11/06, Mike Lee <[EMAIL PROTECTED]> wrote:

I had a similar problem as you described. I believe I had to do a "xhost +"
command before I ssh'ed into the machine as root to start the Continuum
server.


Err, xhost + is a very insecure solution to the problem.


> Hi,
>
> I am using continuum 1.0.3 on linux.
>
> The continuum server is run as root.


I'd create a continuum user and run as that, never run applications as root.
Continuum has no need for the privileges that root enjoys.


> scm:cvs:ext:server:path:module

[del]

> Error: Can't open display: :0.0
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> openssh tries to ask for the password in a popup which fails.

[del]

> When I run continuum as a user which owns the display the popup appears,
> I can type in the password and continuum continues its work successfully.
>
> How can I configure continuum (or openssh) to take the password provided
> in the web interface?


Continuum runs maven no differently than if you ran mvn on the command line.

You should get mvn to work as the continuum user in batch-mode so that
no popups occur and it works correctly from the command line. Until
this happens there is no point setting up continuum.

This may require configuring the key files in ~continuum/.ssh to not
have a passphrase.
It may also require your to have run the cvs login command by hand to
create the ~/.cvspass file with a password included.

Having no passphrase and storing keys in .cvspass are not ideal
security choices but they rely on linux filesystem permissions which
is pretty reasonable.  It is much better than running continuum as
root or using xhost +.


Re: #CVS.lock error on building project

2006-07-10 Thread Emmanuel Venisse

It isn't a pb with continuum but with cvs, probably a temporary lock pb on your 
server

Emmanuel

Kapil Gupta(CT) a écrit :

Hi
I am facing this error while trying to build my project. The error does
not appears on deleting the project from working directory and building
it again.
My scm tag contains entry to my project directory in CVS.
 
Provider message: The cvs command failed.
Command output: 


---
cvs update: failed to create lock directory for `/export/cvsrnd'
(/export/cvsrnd/#cvs.lock): Permission denied
cvs update: failed to obtain dir lock in repository `/export/cvsrnd'
cvs [update aborted]: read lock failed - giving up


Regards,

Kapil Gupta
Tech Lead - R&D

Core Technologies - Enterprise



Quark Media House India Pvt. Ltd.

A-45, Phase VIII-B, Industrial Area
Mohali - 160059, Punjab, India
Phone: +91.172.229.9420
Fax: +91.172.223.7414
[EMAIL PROTECTED]  
www.quark.com 

 


CONFIDENTIALITY NOTICE
This e-mail transmission and any documents, files, or previous e-mail
messages appended or attached to it, may contain information that is
confidential or legally privileged. If you are not the intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that you must not read this
transmission and that any disclosure, copying, printing, distribution,
or use of the information contained or attached to this transmission is
STRICTLY PROHIBITED. If you have received this transmission in error,
please immediately notify the sender by telephone +91.172.229.9420 or
return e-mail message [EMAIL PROTECTED] and delete the original
transmission, its attachments, and any copies without reading or saving
in any manner. Thank you.

 





Re: How to specify diff name to pom file

2006-07-10 Thread Emmanuel Venisse

ok, I understand now :)

It's a bug. We take the current url and we substring it with "/pom.xml".length() Please file an 
issue and we'll fix it in the next version.


Emmanuel

Kapil Gupta(CT) a écrit :

My my_custom_pom.xml is in E:\Shared\Development folder and the Common\Common 
module is in E:\Shared\Development\Common\Common folder and it contains pom.xml

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: 10 July 2006 15:19

To: continuum-users@maven.apache.org
Subject: Re: How to specify diff name to pom file

 >> 5512622 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum
 >> - Could not download
 >> file:/E:/Shared/Development/my_custom/Common/Common/pom.xml:
 >> E:\Shared\Development\my_custom\Common\Common\pom.xml (The system  >> cannot find the 
path specified)  >>  >> See that it truncated last four characters from the parent pom name.

I don't see where it is truncated. your my_custom_pom.xml is under 
E:\Shared\Development\my_custom\ right?

What is the correct url to use for your module?

Emmanuel

Kapil Gupta(CT) a écrit :

Emmanuel, my parent pom name is my_custom_pom.xml and it contains path to 
common\common\pom.xml.
I have to use the custom name for my parent pom as there are other parent pom 
files for building different modules.

Regards,
Kapil

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: 10 July 2006 14:03
To: continuum-users@maven.apache.org
Subject: Re: How to specify diff name to pom file

If I understand correctly, the pom under Common/Common is in my_custom_pom.xml. 
It isn't supported by continuum.

When you Continuum try to find all sub-modules poms, it generate the 
path to it with module name and pom.xml


Why don't you use pom.xml?

Emmanuel

Kapil Gupta(CT) a écrit :

Hi Emmanuel,

My parent pom contains following sub module entry.


Common/Common


I received the following error while uploading pom named 
my_custom_pom.xml


5512622 [SocketListener0-0] INFO  
org.apache.maven.continuum.Continuum

- Could not download
file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: 
E:\Shared\Development\my_custom\Common\Common\pom.xml (The system 
cannot find the path specified)


See that it truncated last four characters from the parent pom name.

Regards,

Kapil
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: 10 July 2006 13:45
To: continuum-users@maven.apache.org
Subject: Re: How to specify diff name to pom file

Hmm, strange.

Can you send your logs about it?

Emmanuel

Kapil Gupta(CT) a écrit :

Hi,
Can I specify a different name to my parent pom file, say 
"my_custom_pom_file.xml". When I tried to use this name, continuum 
was looking for sub modules in the my_custom_pom folder. It works 
only if the pom file name is of only 3 characters.
 


Regards,

Kapil Gupta



















Re: How to specify diff name to pom file

2006-07-10 Thread Emmanuel Venisse

>> 5512622 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum
>> - Could not download
>> file:/E:/Shared/Development/my_custom/Common/Common/pom.xml:
>> E:\Shared\Development\my_custom\Common\Common\pom.xml (The system
>> cannot find the path specified)
>>
>> See that it truncated last four characters from the parent pom name.

I don't see where it is truncated. your my_custom_pom.xml is under E:\Shared\Development\my_custom\ 
right?


What is the correct url to use for your module?

Emmanuel

Kapil Gupta(CT) a écrit :

Emmanuel, my parent pom name is my_custom_pom.xml and it contains path to 
common\common\pom.xml.
I have to use the custom name for my parent pom as there are other parent pom 
files for building different modules.

Regards,
Kapil 


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: 10 July 2006 14:03

To: continuum-users@maven.apache.org
Subject: Re: How to specify diff name to pom file

If I understand correctly, the pom under Common/Common is in my_custom_pom.xml. 
It isn't supported by continuum.

When you Continuum try to find all sub-modules poms, it generate the path to it 
with module name and pom.xml

Why don't you use pom.xml?

Emmanuel

Kapil Gupta(CT) a écrit :

Hi Emmanuel,

My parent pom contains following sub module entry.


Common/Common


I received the following error while uploading pom named 
my_custom_pom.xml


5512622 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum  
- Could not download 
file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: 
E:\Shared\Development\my_custom\Common\Common\pom.xml (The system 
cannot find the path specified)


See that it truncated last four characters from the parent pom name.

Regards,

Kapil
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: 10 July 2006 13:45
To: continuum-users@maven.apache.org
Subject: Re: How to specify diff name to pom file

Hmm, strange.

Can you send your logs about it?

Emmanuel

Kapil Gupta(CT) a écrit :

Hi,
Can I specify a different name to my parent pom file, say 
"my_custom_pom_file.xml". When I tried to use this name, continuum 
was looking for sub modules in the my_custom_pom folder. It works 
only if the pom file name is of only 3 characters.
 


Regards,

Kapil Gupta
















RE: How to specify diff name to pom file

2006-07-10 Thread Kapil Gupta\(CT\)
Emmanuel, my parent pom name is my_custom_pom.xml and it contains path to 
common\common\pom.xml.
I have to use the custom name for my parent pom as there are other parent pom 
files for building different modules.

Regards,
Kapil 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: 10 July 2006 14:03
To: continuum-users@maven.apache.org
Subject: Re: How to specify diff name to pom file

If I understand correctly, the pom under Common/Common is in my_custom_pom.xml. 
It isn't supported by continuum.

When you Continuum try to find all sub-modules poms, it generate the path to it 
with module name and pom.xml

Why don't you use pom.xml?

Emmanuel

Kapil Gupta(CT) a écrit :
> Hi Emmanuel,
> 
> My parent pom contains following sub module entry.
> 
> 
>   Common/Common
> 
> 
> I received the following error while uploading pom named 
> my_custom_pom.xml
> 
> 5512622 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum  
> - Could not download 
> file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: 
> E:\Shared\Development\my_custom\Common\Common\pom.xml (The system 
> cannot find the path specified)
> 
> See that it truncated last four characters from the parent pom name.
> 
> Regards,
> 
> Kapil
> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Sent: 10 July 2006 13:45
> To: continuum-users@maven.apache.org
> Subject: Re: How to specify diff name to pom file
> 
> Hmm, strange.
> 
> Can you send your logs about it?
> 
> Emmanuel
> 
> Kapil Gupta(CT) a écrit :
>> Hi,
>> Can I specify a different name to my parent pom file, say 
>> "my_custom_pom_file.xml". When I tried to use this name, continuum 
>> was looking for sub modules in the my_custom_pom folder. It works 
>> only if the pom file name is of only 3 characters.
>>  
>>
>> Regards,
>>
>> Kapil Gupta
>>
>>
>>
> 
> 
> 
> 



Re: How to specify diff name to pom file

2006-07-10 Thread Emmanuel Venisse
If I understand correctly, the pom under Common/Common is in my_custom_pom.xml. It isn't supported 
by continuum.


When you Continuum try to find all sub-modules poms, it generate the path to it with module name and 
pom.xml


Why don't you use pom.xml?

Emmanuel

Kapil Gupta(CT) a écrit :

Hi Emmanuel,

My parent pom contains following sub module entry.


Common/Common


I received the following error while uploading pom named my_custom_pom.xml

5512622 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum  - Could not download file:/E:/Shared/Development/my_custom/Common/Common/pom.xml: E:\Shared\Development\my_custom\Common\Common\pom.xml (The system cannot find the path specified) 


See that it truncated last four characters from the parent pom name.

Regards,

Kapil
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: 10 July 2006 13:45

To: continuum-users@maven.apache.org
Subject: Re: How to specify diff name to pom file

Hmm, strange.

Can you send your logs about it?

Emmanuel

Kapil Gupta(CT) a écrit :

Hi,
Can I specify a different name to my parent pom file, say 
"my_custom_pom_file.xml". When I tried to use this name, continuum was 
looking for sub modules in the my_custom_pom folder. It works only if 
the pom file name is of only 3 characters.
 


Regards,

Kapil Gupta












Re: Developer name and CVS log information does not appear in changes section

2006-07-10 Thread Emmanuel Venisse

Can you test with bothe quote/double quotes like the command executed by 
continuum.

Emmanuel

Carlo Bonamico a écrit :

Hi Emmanuel,
and thank you as usual for your quick reply...  If I run this command 
from my CVS log


D:\build\continuum-1.0.3\apps\continuum\working-directory\2>cvs -z3 -f 
-d :ext:c

[EMAIL PROTECTED]:/home/cvs -q log -d ">2006-07-06T16:00:08+0200"

from the command line, I get the following result

RCS file: /home/cvs/SANDBOX/events/xdocs/navigation.xml,v
Working file: xdocs/navigation.xml
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: k
total revisions: 2; selected revisions: 0
description:
= 



etc...

This is my continuum log:

581750 [Thread-2] INFO  org.apache.maven.scm.manager.ScmManager  - 
Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q update -d
581750 [Thread-2] INFO  org.apache.maven.scm.manager.ScmManager  - 
Working directory: 
D:\build\continuum-1.0.3\apps\continuum\working-directory\2
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
app/target
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
app/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
common/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
core/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
mda/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
web/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
webservice/xdocs
582922 [Thread-2] INFO  org.apache.maven.scm.manager.ScmManager  - 
Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q log -d 
'">2006-07-06T16:00:08+0200"'
582922 [Thread-2] INFO  org.apache.maven.scm.manager.ScmManager  - 
Working directory: 
D:\build\continuum-1.0.3\apps\continuum\working-directory\2
583703 [Thread-2] INFO  org.apache.maven.continuum.scm.ContinuumScm  - 
Updated 7 files.


The only thing I notice is that in the log file the date dimestamp is 
marked with both quotes and double quotes '" "'.


Maybe it's a CVS configuration issue?

Thanks again,
Carlo


Emmanuel Venisse wrote:

it seems to be ok.

Can you run this command:
cvs -z3 -f -d YOUR_CVS_ROOT -q log -d 
"20060706T13:00:00<20060706T15:00:00" or the similar command from your 
continuum logs


Emmanuel









Re: Developer name and CVS log information does not appear in changes section

2006-07-10 Thread Carlo Bonamico

Hi Emmanuel,
and thank you as usual for your quick reply...  If I run this command 
from my CVS log


D:\build\continuum-1.0.3\apps\continuum\working-directory\2>cvs -z3 -f 
-d :ext:c

[EMAIL PROTECTED]:/home/cvs -q log -d ">2006-07-06T16:00:08+0200"

from the command line, I get the following result

RCS file: /home/cvs/SANDBOX/events/xdocs/navigation.xml,v
Working file: xdocs/navigation.xml
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: k
total revisions: 2; selected revisions: 0
description:
=

etc...

This is my continuum log:

581750 [Thread-2] INFO  org.apache.maven.scm.manager.ScmManager  - 
Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q update -d
581750 [Thread-2] INFO  org.apache.maven.scm.manager.ScmManager  - 
Working directory: 
D:\build\continuum-1.0.3\apps\continuum\working-directory\2
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
app/target
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
app/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
common/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
core/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
mda/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
web/xdocs
582688 [Thread-23] DEBUG org.apache.maven.scm.manager.ScmManager  - ? 
webservice/xdocs
582922 [Thread-2] INFO  org.apache.maven.scm.manager.ScmManager  - 
Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/home/cvs -q log -d 
'">2006-07-06T16:00:08+0200"'
582922 [Thread-2] INFO  org.apache.maven.scm.manager.ScmManager  - 
Working directory: 
D:\build\continuum-1.0.3\apps\continuum\working-directory\2
583703 [Thread-2] INFO  org.apache.maven.continuum.scm.ContinuumScm  - 
Updated 7 files.


The only thing I notice is that in the log file the date dimestamp is 
marked with both quotes and double quotes '" "'.


Maybe it's a CVS configuration issue?

Thanks again,
Carlo


Emmanuel Venisse wrote:

it seems to be ok.

Can you run this command:
cvs -z3 -f -d YOUR_CVS_ROOT -q log -d 
"20060706T13:00:00<20060706T15:00:00" or the similar command from your 
continuum logs


Emmanuel