RE: building the Sample fails after updating from trunk

2011-07-07 Thread Robby Pelssers

Hi Francesco,

after rebooting my system the build works fine.  I should have tried that 
before but to get back into development mode after reboot is a pain-in-the-ass 
;-)

Robby

-Oorspronkelijk bericht-
Van: Francesco Chicchiriccò [mailto:ilgro...@apache.org]
Verzonden: do 7-7-2011 7:31
Aan: dev@cocoon.apache.org
Onderwerp: Re: building the Sample fails after updating from trunk
 
On 06/07/2011 19:18, Robby Pelssers wrote:
 Hi all,

 I just updated from trunk again and tried to run the tests.

 The sample block seems to fail:

Hi Robby,
I've just run all tests (by mean of mvn clean install -P it,archetypes 
from root source or it.sh / it.bat), then a specific mvn clean test 
from cocoon-sample dir, and everything seems to work fine, at least on 
Linux and Mac OS X.

Your issue seems to be related to something specific of your environment 
(does the message Access is denied suggest anything?):

 [...]
 org.apache.cocoon.maven.deployer.monolithic.DeploymentException: Can't deploy 
 'C
 :\development\workspaces\cocoon\trunk\cocoon-rest\target\classes'.
 [...]
 Caused by: java.io.FileNotFoundException: 
 C:\development\workspaces\cocoon\trunk
 \cocoon-rest\target\classes (Access is denied)
-- 
Francesco Chicchiriccò

Apache Cocoon Committer and PMC Member
http://people.apache.org/~ilgrosso/


winmail.dat

building the Sample fails after updating from trunk

2011-07-06 Thread Robby Pelssers
Hi all,

I just updated from trunk again and tried to run the tests.

The sample block seems to fail:

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] Building Apache Cocoon 3: Sample
[INFO]task-segment: [test]
[INFO] 
[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 36 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] Preparing cocoon:prepare
[WARNING] Removing: prepare from forked lifecycle, to prevent recursive invocati
on.
[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 36 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [cocoon:prepare {execution: default}]
[INFO] Preparing a Servlet-Service web application.
[INFO] Deploying string-template to WEB-INF/log4j.xml
[INFO] Adding lib to WEB-INF/lib: commons-logging:commons-logging:1.1:jar
[INFO] Adding lib to WEB-INF/lib: org.apache.commons:commons-jci-core:1.0:jar
[INFO] Adding lib to WEB-INF/lib: commons-io:commons-io:1.3.1:jar
[INFO] Adding lib to WEB-INF/lib: log4j:log4j:1.2.14:jar
[INFO] Adding lib to WEB-INF/lib: commons-logging:commons-logging-api:1.1:jar
[INFO] Adding lib to WEB-INF/lib: javax.servlet:servlet-api:2.3:jar
[INFO] Adding lib to WEB-INF/lib: org.apache.cocoon:cocoon-rcl-webapp-wrapper:1.
0.0:jar
[INFO] Adding lib to WEB-INF/lib: org.apache.commons:commons-jci-fam:1.0:jar
log4j:WARN No appenders could be found for logger (org.apache.commons.configurat
ion.ConfigurationUtils).
log4j:WARN Please initialize the log4j system properly.
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Can't deploy 'C:\development\workspaces\cocoon\trunk\cocoon-rest\target\c
lasses'.
C:\development\workspaces\cocoon\trunk\cocoon-rest\target\classes (Access is den
ied)
[INFO] 
[INFO] Trace
org.apache.cocoon.maven.deployer.monolithic.DeploymentException: Can't deploy 'C
:\development\workspaces\cocoon\trunk\cocoon-rest\target\classes'.
at org.apache.cocoon.maven.deployer.AbstractDeployMojo.xpatch(AbstractDe
ployMojo.java:199)
at org.apache.cocoon.maven.rcl.PrepareWebappMojo.applyXpatchFiles(Prepar
eWebappMojo.java:313)
at org.apache.cocoon.maven.rcl.PrepareWebappMojo.execute(PrepareWebappMo
jo.java:283)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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: java.io.FileNotFoundException: C:\development\workspaces\cocoon\trunk
\cocoon-rest\target\classes (Access is denied)
at java.io.FileInputStream.open(Native 

Re: building the Sample fails after updating from trunk

2011-07-06 Thread Francesco Chicchiriccò

On 06/07/2011 19:18, Robby Pelssers wrote:

Hi all,

I just updated from trunk again and tried to run the tests.

The sample block seems to fail:


Hi Robby,
I've just run all tests (by mean of mvn clean install -P it,archetypes 
from root source or it.sh / it.bat), then a specific mvn clean test 
from cocoon-sample dir, and everything seems to work fine, at least on 
Linux and Mac OS X.


Your issue seems to be related to something specific of your environment 
(does the message Access is denied suggest anything?):



[...]
org.apache.cocoon.maven.deployer.monolithic.DeploymentException: Can't deploy 'C
:\development\workspaces\cocoon\trunk\cocoon-rest\target\classes'.
[...]
Caused by: java.io.FileNotFoundException: C:\development\workspaces\cocoon\trunk
\cocoon-rest\target\classes (Access is denied)

--
Francesco Chicchiriccò

Apache Cocoon Committer and PMC Member
http://people.apache.org/~ilgrosso/