Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 50860 invoked from network); 19 Dec 2007 16:17:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2007 16:17:35 -0000 Received: (qmail 84011 invoked by uid 500); 19 Dec 2007 16:17:24 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 83675 invoked by uid 500); 19 Dec 2007 16:17:23 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 83654 invoked by uid 99); 19 Dec 2007 16:17:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 08:17:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [80.73.128.57] (HELO hscg.net) (80.73.128.57) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 16:17:00 +0000 X-HSCG-MailScan: Scanned with HSCG MailScan 1.3.3 X-HSCG-Spam-Check: Scanned X-HSCG-Score: 0.0/10.0 X-HSCG-Spam-Score: 0 [ ] Received: from [195.35.150.50] (HELO robertd810) by hscg.net (CommuniGate Pro SMTP 4.2.8) with ESMTP id 248592435 for continuum-users@maven.apache.org; Wed, 19 Dec 2007 17:16:21 +0100 From: "Robert Scholte" To: Subject: RE: Problem with surefire-reports in Continuum 1.1 final Date: Wed, 19 Dec 2007 17:10:13 +0100 Message-ID: <004e01c84259$a3e5d450$2300a8c0@getthere.tld> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AchCVy7jczMV2MoWQ9Gqhk2aSFfJZwAAl/7A In-Reply-To: <009f01c840b5$95d67fe0$7204a8c0@tecnologia14> X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have a similar problem. I'm using continuum-1.1, my installation uses apache-maven-2.0.8 and JDK1.5.0_14. I've installed continuum in a tomcat-5.0.28, which runs as a Windows Service with the LocalSystem as logon. I've added a -X to the arguments to see some(or actually a lot) logging = It ends with -- start sniplet -- [INFO] Surefire report directory: D:\tomcat-5.0.28-maven2\webapps\continuum\WEB-INF\working-directory\12\ta= rge t\surefire-reports Forking command line: d:\jdk1.5.0_14\jre\bin\java -classpath C:\WINDOWS\system32\config\systemprofile\.m2\repository\org\apache\maven\= sur efire\surefire-booter\2.3.1\surefire-booter-2.3.1.jar;C:\WINDOWS\system32= \co nfig\systemprofile\.m2\repository\org\apache\maven\surefire\surefire-api\= 2.3 .1\surefire-api-2.3.1.jar;C:\WINDOWS\system32\config\systemprofile\.m2\re= pos itory\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\WINDOW= S\s ystem32\config\systemprofile\.m2\repository\commons-lang\commons-lang\2.1= \co mmons-lang-2.1.jar;C:\WINDOWS\system32\config\systemprofile\.m2\repositor= y\o rg\codehaus\plexus\plexus-archiver\1.0-alpha-7\plexus-archiver-1.0-alpha-= 7.j ar;C:\WINDOWS\system32\config\systemprofile\.m2\repository\org\codehaus\p= lex us\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alph= a-8 .jar;C:\WINDOWS\system32\config\systemprofile\.m2\repository\junit\junit\= 3.8 .1\junit-3.8.1.jar;C:\WINDOWS\system32\config\systemprofile\.m2\repositor= y\c lassworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar org.apache.maven.surefire.booter.SurefireBooter C:\WINDOWS\TEMP\surefire65349tmp C:\WINDOWS\TEMP\surefire65350tmp [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. -- end sniplet -- Most important: the target-directory only contains the classes and test-classes directories. The surefire-booter uses a pretty old plexus-utilities, but I can't find = an issue related to this one. Any possible solution would be welcome Kind regards, Robert Scholte -----Oorspronkelijk bericht----- Van: Claudio Ranieri [mailto:claudior@buscape-inc.com]=20 Verzonden: maandag 17 december 2007 15:03 Aan: continuum-users@maven.apache.org Onderwerp: Re: Problem with surefire-reports in Continuum 1.1 final Hi Olivier, I unzip apache-continuum-1.1.zip file in directory C:\continuum-1.1. Then I executed the = C:\continuum-1.1\bin\windows-x86-32\InstallService.bat. In Windows=B4s services, at Apache Continuum I change Log On of the = service to my network user (following documentation). Then I start the service and set admin user of continuum. I added the M2 Project from web interface of continuum. I don=B4t checkout the project manually. To add M2 project in continuum, I used URL POM, set http://*****, user = and=20 password. Can you test this in Windows? Without to change user of Windows=B4s service (keep local system) work = out. ----- Original Message -----=20 From: "olivier lamy" To: Sent: Monday, December 17, 2007 11:19 AM Subject: Re: Problem with surefire-reports in Continuum 1.1 final As I understand here it's a permission issue. If your first continuum start was with a user a : all projects have been checkout and working directories created with this user. Now you shutdown continuum and restart it with a user b, this user b don't have the permissions on the files/directories created by the user a. Two solutions : - re use the same user - change the permission rights (chown/chmod on unix sorry don't know on=20 windows) -- Olivier 2007/12/17, Claudio Ranieri : > Hi Olivier, > > When I launch mvn clean install into C:\continuum\work\6, the maven = work > out. > After various tests, I isolated the problem. > The problem occurs when I install continuum as a Windows Service and=20 > change > service=B4s Log on to a net=B4s user (following documentation). > When I use the local system to log on, the problem doesn=B4t occur. > Can you do a test changing the user of service=B4s log on to a net=B4s = user? > Thanks. > > ----- Original Message ----- > From: "olivier lamy" > To: > Sent: Thursday, December 13, 2007 7:10 PM > Subject: Re: Problem with surefire-reports in Continuum 1.1 final > > > If you cd to C:\continuum\work\6 and launch mvn clean install. > What's happened ? > Because as I see in the stack Trace it looks to be more an issue = with > surefire. > Thanks, > -- > Olivier > > 2007/12/13, Diego : > > > > Hi Oliver ... > > > > It means :"The system could not found the specified path" > > > > tks > > > > olivier lamy escreveu: > > > Hi, > > > What does it mean in english : > > > Caused by: java.io.IOException: O sistema não pode = encontrar o > > > caminho especificado > > > > > > ? > > > :-) > > > Thanks, > > > -- > > > Olivier > > > > > > 2007/12/13, Diego : > > > > > >> Hi, > > >> > > >> I am using Continuum 1.1 final, Maven 2.0.7, Java 1.5.0_06 and > > WindowsXP > > >> > > >> I added a M2 project in Continuum, but in result of build I got: > > >> > > >> + Error stacktraces are turned on. > > >> [INFO] Scanning for projects... > > >> [INFO] > > >> > > >> > > -------------------------------------------------------------------------= --- > > >> [INFO] Building Sincronismo > > >> [INFO] task-segment: [clean, install] > > >> [INFO] > > >> > > >> > > -------------------------------------------------------------------------= --- > > >> [INFO] [clean:clean] > > >> [INFO] Deleting directory C:\continuum\work\6\target > > >> [INFO] [resources:resources] > > >> [INFO] Using default encoding to copy filtered resources. > > >> [INFO] [compiler:compile] > > >> [INFO] Compiling 8 source files to = C:\continuum\work\6\target\classes > > >> [INFO] [resources:testResources] > > >> [INFO] Using default encoding to copy filtered resources. > > >> [INFO] [compiler:testCompile] > > >> [INFO] Compiling 1 source file to > > C:\continuum\work\6\target\test-classes > > >> [INFO] [surefire:test] > > >> [INFO] Surefire report directory: > > >> C:\continuum\work\6\target\surefire-reports > > >> [INFO] > > >> > > = ------------------------------------------------------------------------ > > >> [ERROR] BUILD ERROR > > >> [INFO] > > >> > > = ------------------------------------------------------------------------ > > >> [INFO] Error creating properties files for forking; nested = exception=20 > > >> is > > >> java.io.IOException: O sistema não pode encontrar o = caminho > > >> especificado > > >> > > >> [INFO] > > >> > > = ------------------------------------------------------------------------ > > >> [INFO] Trace > > >> org.apache.maven.lifecycle.LifecycleExecutionException: Error=20 > > >> creating > > >> properties files for forking; nested exception is=20 > > >> java.io.IOException: > > O > > >> sistema não pode encontrar o caminho especificado > > >> at > > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > > >> DefaultLifecycleExecutor.java:564) > > >> at > > >> > > >> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecy= cle > > >> (DefaultLifecycleExecutor.java:480) > > >> at > > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( > > >> DefaultLifecycleExecutor.java:459) > > >> at > > >> > > >> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleF= ail ures > > >> (DefaultLifecycleExecutor.java:311) > > >> at > > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments > > ( > > >> DefaultLifecycleExecutor.java:278) > > >> at > > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( > > >> DefaultLifecycleExecutor.java:143) > > >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > > >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > > >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) > > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > >> at > > >> sun.reflect.NativeMethodAccessorImpl.invoke( > > NativeMethodAccessorImpl.java > > >> :39) > > >> at > > >> sun.reflect.DelegatingMethodAccessorImpl.invoke( > > >> DelegatingMethodAccessorImpl.java:25) > > >> at java.lang.reflect.Method.invoke(Method.java:585) > > >> at=20 > > >> = org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > > >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > >> at = org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java > > :430) > > >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > >> Caused by: org.apache.maven.plugin.MojoExecutionException: Error > > >> creating properties files for forking; nested exception is > > >> java.io.IOException: O sistema não pode encontrar o = caminho > > >> especificado > > >> at > > >> org.apache.maven.plugin.surefire.SurefirePlugin.execute( > > >> SurefirePlugin.java:402) > > >> at > > >> org.apache.maven.plugin.DefaultPluginManager.executeMojo( > > >> DefaultPluginManager.java:443) > > >> at > > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > > >> DefaultLifecycleExecutor.java:539) > > >> ... 16 more > > >> Caused by:=20 > > >> org.apache.maven.surefire.booter.SurefireBooterForkException > > : > > >> Error creating properties files for forking; nested exception is > > >> java.io.IOException: O sistema não pode encontrar o = caminho > > >> especificado > > >> at > > >> org.apache.maven.surefire.booter.SurefireBooter.fork( > > SurefireBooter.java > > >> :519) > > >> at > > >> org.apache.maven.surefire.booter.SurefireBooter.forkSuites( > > >> SurefireBooter.java:412) > > >> at > > >> = org.apache.maven.surefire.booter.SurefireBooter.runSuitesForkOnce( > > >> SurefireBooter.java:312) > > >> at > > >> org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java > > >> :202) > > >> at > > >> org.apache.maven.plugin.surefire.SurefirePlugin.execute( > > >> SurefirePlugin.java:398) > > >> ... 18 more > > >> Caused by: java.io.IOException: O sistema não pode = encontrar o > > >> caminho especificado > > >> at java.io.WinNTFileSystem.createFileExclusively(Native Method) > > >> at java.io.File.checkAndCreate(File.java:1345) > > >> at java.io.File.createTempFile(File.java:1434) > > >> at java.io.File.createTempFile(File.java:1471) > > >> at > > >> = org.apache.maven.surefire.booter.SurefireBooter.writePropertiesFile( > > >> SurefireBooter.java:450) > > >> at > > >> org.apache.maven.surefire.booter.SurefireBooter.fork( > > SurefireBooter.java > > >> :511) > > >> ... 22 more > > >> [INFO] > > >> > > = ------------------------------------------------------------------------ > > >> [INFO] Total time: 4 seconds > > >> [INFO] Finished at: Thu Dec 13 11:25:58 BRST 2007 > > >> [INFO] Final Memory: 6M/14M > > >> [INFO] > > >> > > = ------------------------------------------------------------------------ > > >> > > >> The maven didn=B4t find the directory > > >> C:\continuum\work\6\target\surefire-reports (continuum working > > >> directory). The directory surefire-reports was created by = continuum=20 > > >> in > > >> C:\continuum\build\6\16\surefire-reports (continuum build output > > >> directory) > > >> In Continuum 1.0.3 I haven=B4t problem > > >> Can you help me? > > >> > > >> Thanks > > >> > > >> > > > > > > > > > > > >