Manjunatha Hosur [
http://community.jboss.org/people/mhosur] commented on the document
"JBoss AS7 User Guide"
To view all comments on this document, visit:
http://community.jboss.org/docs/DOC-16068#comment-4902
--------------------------------------------------
While running demo's
1. I started Jboss AS domain. In another window i executed mvn package
-Dexample=domain.configs.
When I do that its trying to clear build directory and hence examples are not executed.
[INFO] JBoss Application Server: Arquillian: Service ..... SUCCESS [0.562s]
[INFO] JBoss Application Server: Build ................... FAILURE [1.875s]
[INFO] JBoss Application Server: Arquillian: Common Container SKIPPED
[INFO] JBoss Application Server: Arquillian: Embedded Container SKIPPED
[INFO] JBoss Application Server: Arquillian: Managed Container SKIPPED
[INFO] JBoss Application Server: Arquillian: Remote Container SKIPPED
[INFO] JBoss Application Server: Test Suite: Aggregator .. SKIPPED
[INFO] JBoss Application Server: Test Suite: Integration Tests SKIPPED
[INFO] JBoss AS Demos .................................... SKIPPED
[INFO] JBoss Application Server: Test Suite: Smoke Tests . SKIPPED
[INFO] JBoss Application Server: Test Suite: Stress Tests SKIPPED
[INFO] JBoss Application Server: Test Suite: Benchmark Tests SKIPPED
[INFO] JBoss Application Server: Microcontainer Subsystem SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:39.094s
[INFO] Finished at: Wed Dec 08 16:40:29 CST 2010
[INFO] Final Memory: 38M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.4:
run (build-dist) on project jboss-as-build: An Ant BuildException has occured: T
he following error occurred while executing this line:
C:\manju\projects\jboss\jboss-as\build\build.xml:501: Unable to delete directory
C:\manju\projects\jboss\jboss-as\build\target\jboss-7.0.0.Alpha2\bin
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :jboss-as-build
--------------------------------------------------