You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Fritz Oconer <fo...@exist.com> on 2005/10/05 06:09:39 UTC

Issue when checking out a project in CVS

Hi All,

I'm in the stage of deploying our project in "Continuum-1.0-beta-1" where the repository uses CVS. It seems that it keeps looking for a password when the account is anonymous. I tried using the same project.xml in "Continuum-1.0-alpha-3" and it was able to download the project. See the attached project.xml and the error below.

jvm 1    | 2005-10-05 12:00:00,208 [Thread-0] INFO  ContinuumScm
   - Checking out project: 'ServiceMix', id: '1' to 'C:\LogicBlaze\continuum-1.0-beta-1\bin\win32\..\..\apps\continuum\working-directory\1'.
jvm 1    | 2005-10-05 12:00:00,218 [Thread-0] DEBUG ScmManager
   - cvsRoot: :pserver:anonymous@cvs.servicemix.codehaus.org:2401/home/projects/servicemix/scm
jvm 1    | 2005-10-05 12:00:00,218 [Thread-0] DEBUG ScmManager   - passFile: C:\Documents and Settings\admin\.cvspass


Below is the build error under the build page.
Exception:
Cannot checkout sources.
Exception while executing SCM command.
password is requiredIn addition, this error doesn't happen when using an anonymous account in SVN. 

Regards,
Fritz

Re: Issue when checking out a project in CVS

Posted by Emmanuel Venisse <em...@venisse.net>.
I fixed it few days ago. For anonymous cvs account, you need to use an empty password in 
scm connection url :
scm:cvs:pserver:anonymous:@cvs.servicemix.codehaus.org:/home/projects/servicemix/scm:servicemix/base

note the ":" between anonymous and @

Emmanuel

Fritz Oconer a écrit :
> Hi All,
>  
> I'm in the stage of deploying our project in "Continuum-1.0-beta-1" 
> where the repository uses CVS. It seems that it keeps looking for a 
> password when the account is anonymous. I tried using the same 
> project.xml in "Continuum-1.0-alpha-3" and it was able to download the 
> project. See the attached project.xml and the error below.
>  
> /jvm 1    | 2005-10-05 12:00:00,208 [Thread-0] INFO  ContinuumScm
>    - Checking out project: 'ServiceMix', id: '1' to 
> 'C:\LogicBlaze\continuum-1.0-beta-1\bin\win32\..\..\apps\continuum\working-directory\1'.
> jvm 1    | 2005-10-05 12:00:00,218 [Thread-0] DEBUG ScmManager
>    - cvsRoot: 
> :pserver:anonymous@cvs.servicemix.codehaus.org:2401/home/projects/servicemix/scm
> jvm 1    | 2005-10-05 12:00:00,218 [Thread-0] DEBUG ScmManager   - 
> passFile: C:\Documents and Settings\admin\.cvspass/
> // 
> // 
> Below is the build error under the build page.
> 
> /Exception:
> Cannot checkout sources.
> Exception while executing SCM command.
> password is required/
> 
> In addition, this error doesn't happen when using an anonymous account 
> in SVN. 
>  
> Regards,
> Fritz
> 
> 
> ------------------------------------------------------------------------
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <project>
>   <pomVersion>3</pomVersion>
>   <name>ServiceMix</name>
>   <id>servicemix</id>
>   <groupId>servicemix</groupId>
>   <currentVersion>1.1-SNAPSHOT</currentVersion>
> 
>   <organization>
>     <name>ServiceMix.</name>
>     <url>http://www.servicemix.co.com</url>
>     <logo>http://www.logicblaze.com/images/logos/products/ServiceMix/ServiceMix_logo_150.jpg</logo>
>   </organization>
>   <logo></logo>
> 
>   <inceptionYear>2005</inceptionYear>
> 
>   <package>org.servicemix</package>
>   <packageGroups>
>     <packageGroup>
>       <title>JBI Specification APIs</title>
>       <packages>javax.*</packages>
>     </packageGroup>
>     <packageGroup>
>       <title>ServiceMix APIs</title>
>       <packages>org.servicemix</packages>
>     </packageGroup>
>     <packageGroup>
>       <title>Normalized Message Service implemenation</title>
>       <packages>org.servicemix.messaging</packages>
>     </packageGroup>
>     <packageGroup>
>       <title>JBI Router</title>
>       <packages>org.servicemix.router</packages>
>     </packageGroup>
>     <packageGroup>
>       <title>Bindings</title>
>       <packages>org.servicemix.binding:org.servicemix.binding.*</packages>
>     </packageGroup>
>     <packageGroup>
>       <title>JAXP utilities</title>
>       <packages>org.servicemix.jaxp</packages>
>     </packageGroup>
>   </packageGroups>
> 
>   <shortDescription>
>     ServiceMix is an open source JBI integration framework
>   </shortDescription>
> 
>   <gumpRepositoryId>servicemix</gumpRepositoryId>
> 
>   <description>
>     ServiceMix is an open source JBI integration framework
>   </description>
> 
>   <url>http://servicemix.codehaus.org/</url>
>   <issueTrackingUrl>http://jira.codehaus.org/browse/SM</issueTrackingUrl>
> 
>   <siteAddress>beaver.codehaus.org</siteAddress>
>   <siteDirectory>/home/projects/servicemix/public_html/maven</siteDirectory>
>   <distributionDirectory>/home/projects/servicemix/dist</distributionDirectory>
> 
>   <repository>
>     <connection>scm:cvs:pserver:anonymous@cvs.servicemix.codehaus.org:/home/projects/servicemix/scm:servicemix/base</connection>
>     <developerConnection>scm:cvs:ext:${maven.username}@cvs.servicemix.codehaus.org:/home/projects/servicemix/scm:servicemix/base</developerConnection>
>     <url>http://cvs.servicemix.codehaus.org/servicemix/base</url>
>   </repository>
> 
>   <mailingLists>
>   </mailingLists>
> 
> 
>   <versions>
>     <version>
>       <id>1.0-beta-1</id>
>       <name>1.0-beta-1</name>
>       <tag>1.0-beta-1</tag>
>     </version>
>   </versions>
>   <branches></branches>
> 
>   <developers>
>     <developer>
>       <name>James Strachan</name>
>       <id>jstrachan</id>
>       <email>jstrachan@protique.com</email>
>       <organization>Protique</organization>
>     </developer>
>     <developer>
>       <name>Hiram Chirino</name>
>       <id>chirino</id>
>       <email>hiram@ protique.com</email>
>       <organization>Protique</organization>
>     </developer>
>   </developers>
> 
>   <contributors>
>   </contributors>
> 
>   <dependencies>
>     <dependency>
>       <groupId>commons-logging</groupId>
>       <artifactId>commons-logging</artifactId>
>       <version>1.0.3</version>
>       <url>http://jakarta.apache.org/commons/logging/</url>
>     </dependency>
> 
>     <dependency>
>       <id>concurrent</id>
>       <version>1.3.4</version>
>     </dependency>
> 
>     <!-- for unit test cases -->
>     <dependency>
>       <id>junit</id>
>       <version>3.8.1</version>
>     </dependency>
>   </dependencies>
> 
>   <build>
>     <nagEmailAddress>scm@servicemix.codehaus.org</nagEmailAddress>
>     <sourceDirectory>src/main/java</sourceDirectory>
>     <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
> 
>     <integrationUnitTestSourceDirectory/>
>     <aspectSourceDirectory/>
> 
>     <unitTest>
>       <resources>
>         <resource>
>             <directory>src/test/resources</directory>
>           <includes>
>             <include>**/*.properties</include>
>             <include>**/*.xml</include>
>           </includes>
>         </resource>
>       </resources>
>       <includes>
>         <include>**/*Test.*</include>
>       </includes>
>     </unitTest>
> 
>     <resources>
>       <resource>
>           <directory>src/main/resources</directory>
>         <includes>
>           <include>**/*.properties</include>
>           <include>**/*.xml</include>
>         </includes>
>       </resource>
>     </resources>
>   </build>
> </project>