tptp execuation task issue [message #127839] |
Wed, 02 April 2008 18:12 |
Eclipse User |
|
|
|
Originally posted by: ponraj_007.yahoomail.com
Hi All,
I am trying to run my AGR scripts through ant. So i has written ant build
script like,
<project name="TPTP Automatable Services Tutorial" default="main"
xmlns:tptp="antlib:org.eclipse.hyades.automation.client.adapters.ant ">
<!-- Define common properties for all automatable services -->
<property name="tptp.test.workspace"
value="/root/tptp/workspace1/" />
<property name="tptp.test.project" value="TestContainer"/>
<property name="tptp.automation.eclipse"
value="/root/Eclipse3.2.1/eclipse"/>
<!-- Define script-local properties, that vary by installation -->
<property name="project.dir"
value="${tptp.test.workspace}${tptp.test.project}" />
<!-- Continuous integration process start -->
<target name="main" depends="test-execution" />
<!-- Execute test suites using default results name -->
<target name="test-execution">
<echo message="Executing test suite..." />
<tptp:execution resultsrefid="tptp.test.results">
<fileset dir="${project.dir}">
<include name="**/*.testsuite" />
</fileset>
</tptp:execution>
</target>
</project>
When i run this script, i am getting this following messages,
Buildfile: build1.xml
test-execution:
[echo] Executing test suite...
[tptp:execution] adding file test-resources/ProjectCreation.testsuite
[tptp:execution] Test started!
[tptp:execution] Test 'test-resources/ProjectCreation.testsuite' executing
after that it hangs. It is not even coming out.
So i press ctr + c to kill this process. after that i am getting the
following error message,
/root/testscripts/build1.xml:17: java.lang.NullPointerException
I don't how to resolve this issue.
I am using tptp 4.3 and eclipse 3.2
Thanks for your help.
Ponraj.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03033 seconds