Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
1.2.3
-
None
-
None
-
Continuum standalone version, proved on Windows XP Professional SP3 32 bits (x86) and Solaris 9i (SPARC 64). The two options were proved with maven-2.0.7, maven-2.0.9 and maven-2.0.10
Description
Hi
I installed continuum 1.2.3 standalone on a Windows and on a Solaris 9
with maven-2.0.7 in a corporate environment. Importing a project was no
problem, but when I tried to simply do the first build, I get this error
(where <username> is changed for security reasons):
2009-02-19 19:01:11,718 [pool-1-thread-1] INFO action#checkout-project -
Checking out project: 'Sistema acumulador de indicadores', id: '6' to
'C:\prog\apache-continuum-1.2.3\data\working-directory\6'.
2009-02-19 19:01:11,750 [pool-1-thread-1] INFO
org.apache.continuum.scm.manager.Slf4jScmLogger - Executing: cmd.exe /X
/C "cvs -z3 -f -d :pserver:<username>@cvs.maquina.es:/repository/PROJECT
-q checkout -d 6 PROJECT/dev"
2009-02-19 19:01:11,750 [pool-1-thread-1] INFO
org.apache.continuum.scm.manager.Slf4jScmLogger - Working directory:
C:\prog\apache-continuum-1.2.3\data\working-directory
2009-02-19 19:01:11,937 [pool-1-thread-1] WARN action#checkout-project -
Error while checking out the code for project: 'Sistema acumulador de
indicadores', id: '6' to
'C:\prog\apache-continuum-1.2.3\data\working-directory\6'.
2009-02-19 19:01:11,937 [pool-1-thread-1] WARN action#checkout-project -
Command output:
2009-02-19 19:01:11,937 [pool-1-thread-1] WARN action#checkout-project -
Provider message: The cvs command failed.
2009-02-19 19:01:11,984 [pool-1-thread-1] INFO buildController - Merging
SCM results
2009-02-19 19:01:12,015 [pool-1-thread-1] INFO buildController - Error
updating from SCM, not building
No matter what version of continuum nor maven I used (continuum-1.2,
continuum 1.3.1 with maven-2.0.7, maven-2.0.9, maven-2.0.10), in first
instance, the error is the same and nothing works.
The scm URL is:
scm:cvs:pserver:<username>@cvs.maquina.es:/repository/PROJECT:PROJECT/dev
We have a repository called /repositories/PROJECT and a module called
/PROJECT in which I will get the folder /dev
If I install TortoiseCVS in Windows (or a client CVS on Solaris) and put
the parameter
wrapper.java.additional.5=-Dmaven.scm.provider.cvs.implementation=cvs_native
In the file wrapper.conf, the exception changes to:
2009-02-19 19:00:38,468 [pool-1-thread-1] INFO buildController -
Initializing build
2009-02-19 19:00:38,531 [pool-1-thread-1] INFO buildController -
Starting build of Sistema acumulador de indicadores
2009-02-19 19:00:38,609 [pool-1-thread-1] INFO buildController -
Updating working dir
2009-02-19 19:00:38,609 [pool-1-thread-1] INFO buildController -
Performing action check-working-directory
2009-02-19 19:00:38,609 [pool-1-thread-1] INFO buildController -
Performing action checkout-project
2009-02-19 19:00:38,625 [pool-1-thread-1] INFO action#checkout-project -
Checking out project: 'Sistema acumulador de indicadores', id: '6' to
'C:\prog\apache-continuum-1.2.3\data\working-directory\6'.
2009-02-19 19:00:38,625 [pool-1-thread-1] ERROR action#checkout-project -
Exception while executing SCM command.
org.apache.maven.scm.ScmException: Exception while executing SCM command.
at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
at
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCommand(AbstractCvsScmProvider.java:548)
at
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.login(AbstractCvsScmProvider.java:634)
at
org.apache.maven.scm.provider.AbstractScmProvider.login(AbstractScmProvider.java:597)
at
org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:403)
at
org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:388)
at
org.apache.maven.scm.manager.AbstractScmManager.checkOut(AbstractScmManager.java:395)
at
org.apache.continuum.scm.DefaultContinuumScm.checkout(DefaultContinuumScm.java:79)
at
org.apache.maven.continuum.core.action.CheckoutProjectContinuumAction.execute(CheckoutProjectContinuumAction.java:108)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:435)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.updateWorkingDirectory(DefaultBuildController.java:418)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:133)
at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: <username> isn't defined.
at
org.apache.maven.scm.provider.cvslib.repository.CvsScmProviderRepository.getCvsRootForCvsPass(CvsScmProviderRepository.java:113)
at
org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand(CvsLoginCommand.java:59)
at
org.apache.maven.scm.command.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:45)
at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
... 18 more
2009-02-19 19:00:38,656 [pool-1-thread-1] INFO buildController - Merging
SCM results
2009-02-19 19:00:38,703 [pool-1-thread-1] INFO buildController - Error
updating from SCM, not building
I’ve done all the work-arounds on
http://continuum.apache.org/faqs.html
But nothing worked.
I’ve tried to put the scm:url in different ways, such as
scm:cvs|pserver|<username>@cvs.maquina.es|/repository/PROJECT|PROJECT/dev
scm:cvs|pserver|<username>|@cvs.maquina.es|/repository/PROJECT|PROJECT/dev
scm:cvs:pserver:<username>@cvs.maquina.es:/repository/PROJECT:PROJECT/dev
scm:cvs:pserver:<username>:@cvs.maquina.es:/repository/PROJECT:PROJECT/dev
scm:cvs:pserver:cvs.maquina.es:/repository/PROJECT:PROJECT/dev (and
putting <username> and password in the input fields)
But nothing works
Surprisingly, when I put directly this command on the console (using cmd
on windows and shell on Solaris) it works perfectly
mvn scm:checkout
-DconnectionUrl=scm:cvs:pserver:cvs.maquina.es:/repository/PROJECT:PROJECT/dev
-D<username>=<username> -Dpassword=<password>
Even if I run
C:\>cmd.exe /X /C "cvs -z3 -f -d
:pserver:<username>@cvs.maquina.es:/repository/PROJECT-q checkout -d 6
PROJECT/dev"
That is the “exact” command that Continuum runs, it works perfectly so
What I am doing wrong?
Can anyone help me?
Thank you so much
Jose Domingo Hernandez Moreno