Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-42

Error creating JUnitXML when using TestNG unders Windows XP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • 1.3
    • 1.3
    • Test frameworks
    • None
    • Windows XP SP1

    Description

      Building ear package containing testng code generates errors creating JUnitXML file. Possibly because of bad path/filename handling.

      Error generated during package task

      (in D:/work/PROJEC~2, development)

        • Invoke buildr:initialize (first_time)
        • Execute buildr:initialize
        • Invoke projectpermissions (first_time)
        • Execute projectpermissions
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/ant/ant-trax/1.7.0/ant-trax-1.7.0.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/ant/ant-junit/1.7.0/ant-junit-1.7.0.jar (first_time, not_needed)
        • Invoke d:/ruby/lib/ruby/gems/1.8/gems/buildr-1.3.0/lib/java (first_time, not_needed)
        • Invoke d:/jdk/lib/tools.jar (first_time, not_needed)
        • Invoke projectpermissions:ejbproj (first_time)
        • Execute projectpermissions:ejbproj
        • Invoke projectpermissions:ejb-client (first_time)
        • Execute projectpermissions:ejb-client
        • Invoke projectpermissions:war (first_time)
        • Execute projectpermissions:war
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions:war
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions
        • Invoke projectpermissions:war
        • Invoke package (first_time)
        • Invoke build (first_time)
        • Execute build
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions:war
        • Invoke projectpermissions
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions
        • Invoke projectpermissions:war
          Building projectpermissions
        • Invoke projectpermissions:build (first_time)
        • Invoke projectpermissions:ejbproj:build (first_time)
        • Invoke D:/work/PROJEC~2/ejbproj/target/classes (first_time)
        • Invoke projectpermissions:ejbproj:compile (first_time)
        • Invoke projectpermissions:ejbproj:resources (first_time)
        • Execute projectpermissions:ejbproj:resources
        • Invoke D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar (first_time)
        • Invoke projectpermissions:ejb-client:build (first_time)
        • Invoke D:/work/PROJEC~2/ejb-client/target/classes (first_time)
        • Invoke projectpermissions:ejb-client:compile (first_time)
        • Invoke projectpermissions:ejb-client:resources (first_time)
        • Execute projectpermissions:ejb-client:resources
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar (first_time, not_needed)
        • Invoke D:/work/PROJEC~2/ejb-client/src/main/java (first_time, not_needed)
        • Execute projectpermissions:ejb-client:compile
          Compiling projectpermissions:ejb-client
          javac -cp C:\Documents and Settings\Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar;d:/jdk/lib/tools.jar -sourcepath D:/work/PROJEC~2/ejb-client/src/main/java -d D:/work/PROJEC~2/ejb-client/target/classes -verbose -g -target 1.5 D:/work/PROJEC~2/ejb-client/src/main/java/com/ajazam/MyService.java
        • Execute projectpermissions:ejb-client:build
        • Invoke D:/work/PROJEC~2/ejb-client/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/ejb-client/target/resources (first_time)
        • Invoke projectpermissions:ejb-client:resources
        • Execute D:/work/PROJEC~2/ejb-client/target/resources
        • Execute D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar
          Adding com
          Adding com/ajazam
          Adding com/ajazam/MyService.class
          Adding META-INF/MANIFEST.MF
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/src/main/java (first_time, not_needed)
        • Execute projectpermissions:ejbproj:compile
          Compiling projectpermissions:ejbproj
          javac -cp D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar;C:\Documents and Settings\Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar;d:/jdk/lib/tools.jar -sourcepath D:/work/PROJEC~2/ejbproj/src/main/java -d D:/work/PROJEC~2/ejbproj/target/classes -verbose -g -target 1.5 D:/work/PROJEC~2/ejbproj/src/main/java/com/ajazam/MyServiceBean.java
        • Execute projectpermissions:ejbproj:build
        • Invoke projectpermissions:ejb-client:build
        • Invoke projectpermissions:war:build (first_time)
        • Invoke D:/work/PROJEC~2/war/target/classes (first_time)
        • Invoke projectpermissions:war:compile (first_time)
        • Invoke projectpermissions:war:resources (first_time)
        • Execute projectpermissions:war:resources
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-core/5.0.9/tapestry-core-5.0.9.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-annotations/5.0.9/tapestry-annotations-5.0.9.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/jboss/javassist/3.6.ga/javassist-3.6.ga.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.8.1/selenium-java-client-driver-0.8.1.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/openqa/selenium/server/selenium-server/0.8.1/selenium-server-0.8.1.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/testng/testng/5.7/testng-5.7-jdk15.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-ioc/5.0.9/tapestry-ioc-5.0.9.jar (first_time, not_needed)
        • Invoke D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar (not_needed)
        • Invoke D:/work/PROJEC~2/war/src/main/java (first_time, not_needed)
        • Execute projectpermissions:war:compile
          Compiling projectpermissions:war
          javac -cp C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-core/5.0.9/tapestry-core-5.0.9.jar;C:\Documents and Settings\Jabbar/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar;C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-annotations/5.0.9/tapestry-annotations-5.0.9.jar;C:\Documents and Settings\Jabbar/.m2/repository/jboss/javassist/3.6.ga/javassist-3.6.ga.jar;C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar;C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar;C:\Documents and Settings\Jabbar/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar;C:\Documents and Settings\Jabbar/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar;C:\Documents and Settings\Jabbar/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar;C:\Documents and Settings\Jabbar/.m2/repository/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.8.1/selenium-java-client-driver-0.8.1.jar;C:\Documents and Settings\Jabbar/.m2/repository/org/openqa/selenium/server/selenium-server/0.8.1/selenium-server-0.8.1.jar;C:\Documents and Settings\Jabbar/.m2/repository/org/testng/testng/5.7/testng-5.7-jdk15.jar;C:\Documents and Settings\Jabbar/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar;C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-ioc/5.0.9/tapestry-ioc-5.0.9.jar;D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar;d:/jdk/lib/tools.jar -sourcepath D:/work/PROJEC~2/war/src/main/java -d D:/work/PROJEC~2/war/target/classes -verbose -g -target 1.5 D:/work/PROJEC~2/war/src/main/java/com/technolog/projectpermissions/war/pages/Start.java D:/work/PROJEC~2/war/src/main/java/com/technolog/projectpermissions/war/services/AppModule.java
        • Execute projectpermissions:war:build
        • Execute projectpermissions:build
        • Invoke test (first_time)
        • Execute test
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions:war
        • Invoke projectpermissions
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions
        • Invoke projectpermissions:war
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions:war
          Testing projectpermissions
        • Invoke projectpermissions:test (first_time)
        • Invoke projectpermissions:test:compile (first_time, not_needed)
        • Invoke projectpermissions:compile (first_time, not_needed)
        • Invoke projectpermissions:resources (first_time)
        • Execute projectpermissions:resources
        • Invoke projectpermissions:ejbproj:compile (not_needed)
        • Invoke projectpermissions:ejb-client:compile (not_needed)
        • Invoke projectpermissions:war:compile (not_needed)
        • Invoke projectpermissions:test:resources (first_time)
        • Execute projectpermissions:test:resources
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/testng/testng/5.5/testng-5.5-jdk15.jar (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar (first_time, not_needed)
        • Invoke D:/work/PROJEC~2/target/resources (first_time)
        • Invoke projectpermissions:resources
        • Execute D:/work/PROJEC~2/target/resources
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/testng/testng/5.5/testng-5.5-jdk15.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar (not_needed)
        • Invoke D:/work/PROJEC~2/target/resources
        • Invoke D:/work/PROJEC~2/target/test/resources (first_time, not_needed)
        • Invoke projectpermissions:test:setup (first_time)
        • Execute projectpermissions:test:setup
        • Execute projectpermissions:test
        • Invoke projectpermissions:test:teardown (first_time)
        • Execute projectpermissions:test:teardown
          Testing projectpermissions:ejb-client
        • Invoke projectpermissions:ejb-client:test (first_time)
        • Invoke projectpermissions:ejb-client:test:compile (first_time, not_needed)
        • Invoke projectpermissions:ejb-client:compile (not_needed)
        • Invoke projectpermissions:ejb-client:test:resources (first_time)
        • Execute projectpermissions:ejb-client:test:resources
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar (not_needed)
        • Invoke D:/work/PROJEC~2/ejb-client/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/ejb-client/target/resources
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar (not_needed)
        • Invoke D:/work/PROJEC~2/ejb-client/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/ejb-client/target/resources
        • Invoke D:/work/PROJEC~2/ejb-client/target/test/resources (first_time, not_needed)
        • Invoke projectpermissions:ejb-client:test:setup (first_time)
        • Execute projectpermissions:ejb-client:test:setup
        • Execute projectpermissions:ejb-client:test
        • Invoke projectpermissions:ejb-client:test:teardown (first_time)
        • Execute projectpermissions:ejb-client:test:teardown
          Testing projectpermissions:ejbproj
        • Invoke projectpermissions:ejbproj:test (first_time)
        • Invoke projectpermissions:ejbproj:test:compile (first_time)
        • Invoke projectpermissions:ejbproj:compile (not_needed)
        • Invoke projectpermissions:ejbproj:test:resources (first_time)
        • Execute projectpermissions:ejbproj:test:resources
        • Invoke D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/target/resources (first_time)
        • Invoke projectpermissions:ejbproj:resources
        • Execute D:/work/PROJEC~2/ejbproj/target/resources
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/testng/testng/5.5/testng-5.5-jdk15.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/src/test/java (first_time, not_needed)
        • Execute projectpermissions:ejbproj:test:compile
          Compiling projectpermissions:ejbproj:test
          javac -cp D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar;C:\Documents and Settings\Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar;D:/work/PROJEC~2/ejbproj/target/classes;D:/work/PROJEC~2/ejbproj/target/resources;C:\Documents and Settings\Jabbar/.m2/repository/org/testng/testng/5.5/testng-5.5-jdk15.jar;C:\Documents and Settings\Jabbar/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar;d:/jdk/lib/tools.jar -sourcepath D:/work/PROJEC~2/ejbproj/src/test/java -d D:/work/PROJEC~2/ejbproj/target/test/classes -verbose -g -target 1.5 D:/work/PROJEC~2/ejbproj/src/test/java/com/ajazam/SimpleTest.java
        • Invoke D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/target/resources
        • Invoke D:/work/PROJEC~2/ejbproj/target/test/classes (first_time, not_needed)
        • Invoke projectpermissions:ejbproj:test:compile (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/target/test/resources (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/testng/testng/5.5/testng-5.5-jdk15.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar (not_needed)
        • Invoke projectpermissions:ejbproj:test:setup (first_time)
        • Execute projectpermissions:ejbproj:test:setup
        • Execute projectpermissions:ejbproj:test
          Running tests in projectpermissions:ejbproj
        • Invoke D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar (not_needed)
        • Invoke C:/Documents and Settings/Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar (first_time)
        • Execute C:/Documents and Settings/Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar
        • Invoke D:/work/PROJEC~2/ejbproj/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/target/resources
        • Invoke D:/work/PROJEC~2/ejbproj/target/test/classes (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/target/test/resources (not_needed)
        • Invoke C:/Documents and Settings/Jabbar/.m2/repository/org/testng/testng/5.5/testng-5.5-jdk15.jar (first_time)
        • Execute C:/Documents and Settings/Jabbar/.m2/repository/org/testng/testng/5.5/testng-5.5-jdk15.jar
        • Invoke C:/Documents and Settings/Jabbar/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar (first_time)
        • Execute C:/Documents and Settings/Jabbar/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar
          Running com.ajazam.SimpleTest
          d:\jdk/bin/java -cp D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar;C:/Documents and Settings/Jabbar/.m2/repository/javaee/javaee-api/5/javaee-api-5.jar;D:/work/PROJEC~2/ejbproj/target/classes;D:/work/PROJEC~2/ejbproj/target/resources;D:/work/PROJEC~2/ejbproj/target/test/classes;D:/work/PROJEC~2/ejbproj/target/test/resources;C:/Documents and Settings/Jabbar/.m2/repository/org/testng/testng/5.5/testng-5.5-jdk15.jar;C:/Documents and Settings/Jabbar/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar org.testng.TestNG -sourcedir D:/work/PROJEC~2/ejbproj/src/test/java -suitename projectpermissions:ejbproj -d D:/work/PROJEC~2/ejbproj/reports/testng -testclass com.ajazam.SimpleTest
          [Parser] Running:
          projectpermissions:ejbproj

      [[Utils]] The filename, directory name, or volume label syntax is incorrect

      ===============================================
      projectpermissions:ejbproj
      Total tests run: 1, Failures: 0, Skips: 0
      ===============================================

      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect
      [[Utils]] The filename, directory name, or volume label syntax is incorrect

        • Invoke projectpermissions:ejbproj:test:teardown (first_time)
        • Execute projectpermissions:ejbproj:test:teardown
          Testing projectpermissions:war
        • Invoke projectpermissions:war:test (first_time)
        • Invoke projectpermissions:war:test:compile (first_time, not_needed)
        • Invoke projectpermissions:war:compile (not_needed)
        • Invoke projectpermissions:war:test:resources (first_time)
        • Execute projectpermissions:war:test:resources
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-core/5.0.9/tapestry-core-5.0.9.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-annotations/5.0.9/tapestry-annotations-5.0.9.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/jboss/javassist/3.6.ga/javassist-3.6.ga.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.8.1/selenium-java-client-driver-0.8.1.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/openqa/selenium/server/selenium-server/0.8.1/selenium-server-0.8.1.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/testng/testng/5.7/testng-5.7-jdk15.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-ioc/5.0.9/tapestry-ioc-5.0.9.jar (not_needed)
        • Invoke D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar (not_needed)
        • Invoke D:/work/PROJEC~2/war/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/war/target/resources (first_time)
        • Invoke projectpermissions:war:resources
        • Execute D:/work/PROJEC~2/war/target/resources
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-core/5.0.9/tapestry-core-5.0.9.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-annotations/5.0.9/tapestry-annotations-5.0.9.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/jboss/javassist/3.6.ga/javassist-3.6.ga.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/easymock/easymock/2.3/easymock-2.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.8.1/selenium-java-client-driver-0.8.1.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/openqa/selenium/server/selenium-server/0.8.1/selenium-server-0.8.1.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/testng/testng/5.7/testng-5.7-jdk15.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-ioc/5.0.9/tapestry-ioc-5.0.9.jar (not_needed)
        • Invoke D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar (not_needed)
        • Invoke D:/work/PROJEC~2/war/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/war/target/resources
        • Invoke D:/work/PROJEC~2/war/target/test/resources (first_time, not_needed)
        • Invoke projectpermissions:war:test:setup (first_time)
        • Execute projectpermissions:war:test:setup
        • Execute projectpermissions:war:test
        • Invoke projectpermissions:war:test:teardown (first_time)
        • Execute projectpermissions:war:test:teardown
        • Execute package
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions:war
        • Invoke projectpermissions
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions
        • Invoke projectpermissions:war
          Packaging projectpermissions
        • Invoke projectpermissions:package (first_time)
        • Invoke projectpermissions:build
        • Invoke D:/work/PROJEC~2/target/projectpermissions-1.0.ear (first_time)
        • Invoke projectpermissions:build
        • Invoke D:/work/PROJEC~2/ejbproj/target/projectpermissions-ejbproj-1.0.jar (first_time)
        • Invoke projectpermissions:ejbproj:build
        • Invoke D:/work/PROJEC~2/ejbproj/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/ejbproj/target/resources
        • Execute D:/work/PROJEC~2/ejbproj/target/projectpermissions-ejbproj-1.0.jar
          Adding com
          Adding com/ajazam
          Adding com/ajazam/MyServiceBean.class
          Adding META-INF/MANIFEST.MF
        • Invoke D:/work/PROJEC~2/war/target/projectpermissions-war-1.0.war (first_time)
        • Invoke projectpermissions:war:build
        • Invoke D:/work/PROJEC~2/war/src/main/webapp (first_time, not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-core/5.0.9/tapestry-core-5.0.9.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-annotations/5.0.9/tapestry-annotations-5.0.9.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/jboss/javassist/3.6.ga/javassist-3.6.ga.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar (not_needed)
        • Invoke C:\Documents and Settings\Jabbar/.m2/repository/org/apache/tapestry/tapestry-ioc/5.0.9/tapestry-ioc-5.0.9.jar (not_needed)
        • Invoke D:/work/PROJEC~2/war/target/classes (not_needed)
        • Invoke D:/work/PROJEC~2/war/target/resources
        • Execute D:/work/PROJEC~2/war/target/projectpermissions-war-1.0.war
          Adding favicon.ico
          Adding Start.tml
          Adding WEB-INF
          Adding WEB-INF/web.xml
          Adding WEB-INF/lib/tapestry-core-5.0.9.jar
          Adding WEB-INF/lib/commons-codec-1.3.jar
          Adding WEB-INF/lib/tapestry-annotations-5.0.9.jar
          Adding WEB-INF/lib/javassist-3.6.ga.jar
          Adding WEB-INF/lib/slf4j-api-1.4.3.jar
          Adding WEB-INF/lib/slf4j-log4j12-1.4.3.jar
          Adding WEB-INF/lib/tapestry-ioc-5.0.9.jar
          Adding META-INF/MANIFEST.MF
          Adding WEB-INF/classes/com
          Adding WEB-INF/classes/com/technolog
          Adding WEB-INF/classes/com/technolog/projectpermissions
          Adding WEB-INF/classes/com/technolog/projectpermissions/war
          Adding WEB-INF/classes/com/technolog/projectpermissions/war/pages
          Adding WEB-INF/classes/com/technolog/projectpermissions/war/pages/Start.class
          Adding WEB-INF/classes/com/technolog/projectpermissions/war/services
          Adding WEB-INF/classes/com/technolog/projectpermissions/war/services/AppModule$1.class
          Adding WEB-INF/classes/com/technolog/projectpermissions/war/services/AppModule.class
          Adding WEB-INF/classes/log4j.properties
        • Invoke D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar (not_needed)
        • Invoke D:/work/PROJEC~2/target/ear/target/projectpermissions/META-INF/application.xml (first_time)
        • Execute D:/work/PROJEC~2/target/ear/target/projectpermissions/META-INF/application.xml
          Creating EAR Descriptor: D:/work/PROJEC~2/target/ear/target/projectpermissions/META-INF/application.xml
        • Execute D:/work/PROJEC~2/target/projectpermissions-1.0.ear
          Adding projectpermissions-ejbproj-1.0.jar
          Adding projectpermissions-war-1.0.war
          Adding lib/projectpermissions-ejb-client-1.0.jar
          Adding META-INF/application.xml
          Adding META-INF/MANIFEST.MF
        • Invoke projectpermissions:ejbproj:package (first_time)
        • Invoke projectpermissions:ejbproj:build
        • Invoke D:/work/PROJEC~2/ejbproj/target/projectpermissions-ejbproj-1.0.jar (not_needed)
        • Execute projectpermissions:ejbproj:package
        • Invoke projectpermissions:ejbproj:check (first_time)
        • Execute projectpermissions:ejbproj:check
        • Invoke projectpermissions:ejb-client:package (first_time)
        • Invoke projectpermissions:ejb-client:build
        • Invoke D:/work/PROJEC~2/ejb-client/target/projectpermissions-ejb-client-1.0.jar (not_needed)
        • Execute projectpermissions:ejb-client:package
        • Invoke projectpermissions:ejb-client:check (first_time)
        • Execute projectpermissions:ejb-client:check
        • Invoke projectpermissions:war:package (first_time)
        • Invoke projectpermissions:war:build
        • Invoke D:/work/PROJEC~2/war/target/projectpermissions-war-1.0.war (not_needed)
        • Execute projectpermissions:war:package
        • Invoke projectpermissions:war:check (first_time)
        • Execute projectpermissions:war:check
        • Execute projectpermissions:package
        • Invoke projectpermissions:check (first_time)
        • Execute projectpermissions:check
        • Invoke integration (first_time)
        • Invoke integration:setup (first_time)
        • Execute integration:setup
        • Execute integration
          Running integration tests...
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions:war
        • Invoke projectpermissions
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions
        • Invoke projectpermissions
        • Invoke projectpermissions:war
        • Invoke projectpermissions:ejb-client
        • Invoke projectpermissions:ejbproj
        • Invoke projectpermissions:war
        • Invoke integration:teardown (first_time)
        • Execute integration:teardown
          Completed in 3.547s

      buildfile contents are,

      require "buildr"

      VERSION_NUMBER = "1.0"

      #--------------------------------
      #tapestry project compile dependencies
      #compile
      TAPESTRY5 = ["org.apache.tapestry:tapestry-core:jar:5.0.9"]
      COMMONS_CODEC = ["commons-codec:commons-codec:jar:1.3"]
      TAPESTRY_ANNOTATIONS = ["org.apache.tapestry:tapestry-annotations:jar:5.0.9"]

      #provided
      TAPESTRY_IOC = ["org.apache.tapestry:tapestry-ioc:jar:5.0.9"]
      SERVLET_API = ["javax.servlet:servlet-api:jar:2.4"]
      EASYMOCK = ["org.easymock:easymock:jar:2.3"]
      #---------------------------------

      #--------------------------------
      #tapestry project transitive dependencies
      #compile
      JAVAASSIST = ["jboss:javassist:jar:3.6.ga"]
      LOG4J = ["log4j:log4j:jar:1.2.14"]
      SLF4J_API = ["org.slf4j:slf4j-api:jar:1.4.3"]
      SLF4J_LOG4J12 = ["org.slf4j:slf4j-log4j12:jar:1.4.3"]

      #provided
      JUNIT = ["junit:junit:jar:3.8.1"]
      SELENIUM=["org.openqa.selenium.client-drivers:selenium-java-client-driver:jar:0.8.1"]
      SELENIUM_SERVER=["org.openqa.selenium.server:selenium-server:jar:0.8.1"]
      TESTNG=["org.testng:testng:jar:jdk15:5.7"]
      #--------------------------------

      JEE5 = ["javaee:javaee-api:jar:5"]

      TAPESTRY_COMPILE = [TAPESTRY5, COMMONS_CODEC, TAPESTRY_ANNOTATIONS, JAVAASSIST, SLF4J_API, SLF4J_LOG4J12]
      TAPESTRY_PROVIDED = [SERVLET_API, EASYMOCK, JUNIT, SELENIUM, SELENIUM_SERVER, TESTNG, LOG4J]

      TAPESTRY_INCLUDE = TAPESTRY_COMPILE, TAPESTRY_IOC

      repositories.remote << "http://repo1.maven.org/maven2"
      repositories.remote << "http://tapestry.formos.com/maven-snapshot-repository"
      repositories.remote << "http://mirrors.ibiblio.org/pub/mirrors/maven2"
      repositories.remote << "http://ibiblio.lsu.edu/main/pub/packages/maven2"
      repositories.remote << "http://maven.openqa.org"
      repositories.remote << "http://repository.jboss.com/maven2"
      repositories.remote << "http://download.java.net/maven/1"

      PERSISTENCE = ["jboss:jboss-persistence-api:jar:3.0.0-SNAPSHOT"]
      EJB = ["jboss:jboss-ejb-api:jar:4.2.0.GA"]

      define 'projectpermissions' do

      project.version = VERSION_NUMBER
      project.group = "acme"
      manifest["Copyright"] = "Jabbar Azam (C) 2008"
      compile.options.target = "1.5"
      test.using :testng

      define 'war' do
      compile.with TAPESTRY_COMPILE, TAPESTRY_PROVIDED, TAPESTRY_INCLUDE, project('ejb-client')
      package(:war).with :libs=>TAPESTRY_INCLUDE
      end

      define 'ejb-client' do
      compile.with JEE5
      package(:jar)
      end

      define 'ejbproj' do
      compile.with project('ejb-client'), JEE5
      package(:jar)
      end

      package(:ear).add :ejb=>project('ejbproj').package(:jar),:path=>'/', :display_name=>'ejbproj'
      package(:ear).add project('war').package('war'), :context_root => '/',:path=>'/', :display_name=>'war'
      package(:ear).add project('ejb-client').package(:jar)
      #package(:ear).map[:ejb]=nil
      #package(:ear).map[:war]=nil

      end

      Attachments

        Activity

          People

            Unassigned Unassigned
            ajazam A Jabbar Azam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: