RE: Problem with surefire-reports in Continuum 1.1 final

2007-12-19 Thread Robert Scholte
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\targe
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\repos
itory\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\WINDOWS\s
ystem32\config\systemprofile\.m2\repository\commons-lang\commons-lang\2.1\co
mmons-lang-2.1.jar;C:\WINDOWS\system32\config\systemprofile\.m2\repository\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\plex
us\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-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\repository\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:[EMAIL PROTECTED] 
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´s 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´t checkout the project manually.
To add M2 project in continuum, I used URL POM, set http://*, user and 
password.
Can you test this in Windows?
Without to change user of Windows´s service (keep local system) work out.

- Original Message - 
From: olivier lamy [EMAIL PROTECTED]
To: continuum-users@maven.apache.org
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 
windows)

--
Olivier

2007/12/17, Claudio Ranieri [EMAIL PROTECTED]:
 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 
 change
 service´s Log on to a net´s user (following documentation).
 When I use the local system to log on, the problem doesn´t occur.
 Can you do a test changing the user of service´s log on to a net´s user?
 Thanks.

 - Original Message -
 From: olivier lamy [EMAIL PROTECTED]
 To: continuum-users@maven.apache.org
 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 [EMAIL PROTECTED]:
 
  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 natilde;o pode encontrar o
   caminho especificado
  
   ?
   :-)
   Thanks,
   --
   Olivier
  
   2007/12/13, Diego [EMAIL PROTECTED]:
  
   Hi,
  
   I am using Continuum 1.1 final, Maven 2.0.7, Java 1.5.0_06 and
  WindowsXP

Re: Problem with surefire-reports in Continuum 1.1 final

2007-12-17 Thread 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 change 
service´s Log on to a net´s user (following documentation).

When I use the local system to log on, the problem doesn´t occur.
Can you do a test changing the user of service´s log on to a net´s user?
Thanks.

- Original Message - 
From: olivier lamy [EMAIL PROTECTED]

To: continuum-users@maven.apache.org
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 [EMAIL PROTECTED]:


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 natilde;o pode encontrar o
 caminho especificado

 ?
 :-)
 Thanks,
 --
 Olivier

 2007/12/13, Diego [EMAIL PROTECTED]:

 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 is
 java.io.IOException: O sistema natilde;o pode encontrar o caminho
 especificado

 [INFO]


 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Error creating
 properties files for forking; nested exception is java.io.IOException:
O
 sistema natilde;o pode encontrar o caminho especificado
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
 DefaultLifecycleExecutor.java:564)
 at


org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
 (DefaultLifecycleExecutor.java:480)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
 DefaultLifecycleExecutor.java:459)
 at


org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
 (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 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 natilde;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: org.apache.maven.surefire.booter.SurefireBooterForkException
:
 Error creating properties files for forking; nested exception is
 java.io.IOException: O sistema natilde;o pode encontrar o caminho
 especificado

Re: Problem with surefire-reports in Continuum 1.1 final

2007-12-17 Thread olivier lamy
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 windows)

--
Olivier

2007/12/17, Claudio Ranieri [EMAIL PROTECTED]:
 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 change
 service´s Log on to a net´s user (following documentation).
 When I use the local system to log on, the problem doesn´t occur.
 Can you do a test changing the user of service´s log on to a net´s user?
 Thanks.

 - Original Message -
 From: olivier lamy [EMAIL PROTECTED]
 To: continuum-users@maven.apache.org
 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 [EMAIL PROTECTED]:
 
  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 natilde;o pode encontrar o
   caminho especificado
  
   ?
   :-)
   Thanks,
   --
   Olivier
  
   2007/12/13, Diego [EMAIL PROTECTED]:
  
   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 is
   java.io.IOException: O sistema natilde;o pode encontrar o caminho
   especificado
  
   [INFO]
  
  
   [INFO] Trace
   org.apache.maven.lifecycle.LifecycleExecutionException: Error creating
   properties files for forking; nested exception is java.io.IOException:
  O
   sistema natilde;o pode encontrar o caminho especificado
   at
   org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
   DefaultLifecycleExecutor.java:564)
   at
  
  
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
   (DefaultLifecycleExecutor.java:480)
   at
   org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
   DefaultLifecycleExecutor.java:459)
   at
  
  
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
   (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 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

Re: Problem with surefire-reports in Continuum 1.1 final

2007-12-13 Thread olivier lamy
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 [EMAIL PROTECTED]:

 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 natilde;o pode encontrar o
  caminho especificado
 
  ?
  :-)
  Thanks,
  --
  Olivier
 
  2007/12/13, Diego [EMAIL PROTECTED]:
 
  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 is
  java.io.IOException: O sistema natilde;o pode encontrar o caminho
  especificado
 
  [INFO]
 
 
  [INFO] Trace
  org.apache.maven.lifecycle.LifecycleExecutionException: Error creating
  properties files for forking; nested exception is java.io.IOException:
 O
  sistema natilde;o pode encontrar o caminho especificado
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
  DefaultLifecycleExecutor.java:564)
  at
 
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
  (DefaultLifecycleExecutor.java:480)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
  DefaultLifecycleExecutor.java:459)
  at
 
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
  (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 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 natilde;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: org.apache.maven.surefire.booter.SurefireBooterForkException
 :
  Error creating properties files for forking; nested exception is
  java.io.IOException: O sistema natilde;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