cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.com>
Subject building the Sample fails after updating from trunk
Date Wed, 06 Jul 2011 17:18:00 GMT
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 Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:120)
        at org.apache.cocoon.maven.deployer.monolithic.RuleBasedZipExtractor.ext
ract(RuleBasedZipExtractor.java:67)
        at org.apache.cocoon.maven.deployer.AbstractDeployMojo.xpatch(AbstractDe
ployMojo.java:197)
        ... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Wed Jul 06 19:14:59 CEST 2011
[INFO] Final Memory: 57M/384M
[INFO] ------------------------------------------------------------------------


Mime
View raw message