continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshula <anshula.b...@isobar.net>
Subject Unable to sync from Perforce if Continuum is run as a service
Date Thu, 19 Jul 2007 13:50:48 GMT

Hi,

I have been trying to setup a build system using continuum for our projects.
I have a Maven2 project(with modules) and the SCM is Perforce. 

Initially, I started continuum from the command line using the batch file
"bin\windows-x86-32\run.bat". I was able to add the project successfully
from the UI and build it as well. 

After that I tried to setup Continuum as a service using the script
"bin\windows-x86-32\InstallService.bat". Again I tried to build the same
project again. But it refuses to build. Following is the part of error trace
- 

-------------------------------------------------------------------------------------------
INFO   | jvm 1    | 2007/07/18 16:00:00 | 2007-07-18 16:00:00,333
[pool-1-thread-1] INFO  ScmManager:default             - Executing: p4 -d
C:\Try\project\254 -p hydrogen:1666 -u username client -i
INFO   | jvm 1    | 2007/07/18 16:00:00 | 2007-07-18 16:00:00,396
[pool-1-thread-1] WARN  ContinuumScm:default           - Error while
checking out the code for project: 'project-trial', id: '254' to
'C:\Try\project\254'.
INFO   | jvm 1    | 2007/07/18 16:00:00 | 2007-07-18 16:00:00,396
[pool-1-thread-1] WARN  ContinuumScm:default           - Command output: 
INFO   | jvm 1    | 2007/07/18 16:00:00 | 2007-07-18 16:00:00,396
[pool-1-thread-1] WARN  ContinuumScm:default           - Provider message:
Unable to sync.  Are you logged in?
INFO   | jvm 1    | 2007/07/18 16:00:00 | 2007-07-18 16:00:00,396
[pool-1-thread-1] INFO  BuildController:default        - Merging SCM results
INFO   | jvm 1    | 2007/07/18 16:00:00 | 2007-07-18 16:00:00,412
[pool-1-thread-1] INFO  BuildController:default        - Error updating from
SCM, not building
-------------------------------------------------------------------------------------------

The version of Continuum that I am using is "continuum-1.1-alpha-2" and the
maven version is 2.0.5.


Also, here is the SCM Section of my parent POM (if needed) -
-----------------------------------------------------------------------------------
<scm>	  
<connection>scm:perforce:username@scm-server:1666://Java-Development/project-trial</connection>
   	 
<developerConnection>scm:perforce:username@scm-server:1666://Java-Development/project-trial</developerConnection>
  
</scm>
......		
	<build>
	   <plugins>
			<plugin>
			      <groupId>org.apache.maven.plugins</groupId>
			      <artifactId>maven-scm-plugin</artifactId>
			      <version>1.0</version>
			      <configuration>				
				 <connectionType>developerConnection</connectionType>
				 <username>username</username>
				 <password>password</password>
			      </configuration>
			</plugin>
	  </plugins>
       </build>
-----------------------------------------------------------------------------------

What possibly can be wrong? The same configration works fine while Continuum
is in command line mode? 

Thanks,
Anshula
-- 
View this message in context: http://www.nabble.com/Unable-to-sync-from-Perforce-if-Continuum-is-run-as-a-service-tf4111233.html#a11689772
Sent from the Continuum - Users mailing list archive at Nabble.com.


Mime
View raw message