All pastes #90179 Raw Edit

Unnamed

public text v1 · immutable
#90179 ·published 2006-07-17 12:57 UTC
rendered paste body
##############  maven.xml: ##################

<project
  default="jar"
  xmlns:j="jelly:core"
  xmlns:u="jelly:util"
  xmlns:maven="jelly:maven"
  xmlns:ant="jelly:ant"
  >

<!-- property environment="env"/-->

<goal name="test-jboss" description="Starts JBoss, runs Jameleon tests, stops JBoss">
  <cargo-jboss4x homeDir="${maven.jboss.home}" output="${maven.test.dest}/cargo.log" action="start" >
    <configuration dir="${maven.jboss.home}/server/default">
      <property name="cargo.logging" value="high"/>
      <property name="cargo.servlet.port" value="8080"/>
    </configuration> 
  </cargo-jboss4x>
        
  <attainGoal name="cargo:start"/>
        
  <cargo-jboss4x homeDir="${maven.jboss.home}" action="stop"/>
</goal>

</project>

########### maven cargo:start output: ##########################

C:\david\src\...\project>maven cargo:start
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Plugin cache will be regenerated
WARNING: Plugin 'cargo-maven-plugin' is already loaded from cargo-maven-plugin-0
.8; attempting to load cargo-maven-plugin-0.7
Attempting to download cargo-core-uberjar-0.8.jar.
524K downloaded
Attempting to download cargo-ant-0.8.jar.
13K downloaded
build:start:

cargo:start:
    [echo] ========
    [echo] == Cargo initialization ...
    [echo] == done.
    [echo] ========
    [echo] ========
    [echo] == Loading configuration for container "jboss"...
    [echo] == Container Type : jboss4x
    [echo] == Configuration Type : standalone
    [cargo] DEPRECATION WARNING: Please use the configuration home element inste
ad of the configuration dir element which is now deprecated
    [echo] == Configuration for container "jboss" loaded.
    [echo] ========
    [echo] == Starting container "jboss"...

BUILD FAILED
File...... C:\david\dat\maven\cache\cargo-maven-plugin-0.8\plugin.jelly
Element... ant:cargo
Line...... 269
Column.... 62
Failed to start the JBoss 4.0.3 container. Check the [C:\david\src\...\jboss.out] file containing the container logs for more details.
Total time: 15 seconds
Finished at: Mon Jul 17 13:59:21 CEST 2006