-
Bug
-
Resolution: Done
-
Major
-
4.3.0.GA_CP09
-
None
-
Workaround Exists
-
-
Not Required
The testng.jar has been renamed from testng.jar (EAP 4.3.8) to testng-jdk15.jar (EAP 4.3.9). As a result, the "test" target in a seam-gen project does not work anymore. The error output:
ant test
Buildfile: build.xml
compiletest:
copytestclasses:
buildtest:
[copy] Copying 1 file to /home/jharting/jboss/testing/EAP-4.3.9/workspace/seamgentest/test-build/META-INF
[copy] Copying 1 file to /home/jharting/jboss/testing/EAP-4.3.9/workspace/seamgentest/test-build
test:
[taskdef] Could not load definitions from resource testngtasks. It could not be found.
BUILD FAILED
/home/jharting/jboss/testing/EAP-4.3.9/workspace/seamgentest/build.xml:311: Problem: failed to create task or type testng
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.