Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » [agr] ant execution error???
[agr] ant execution error??? [message #113113] Sun, 23 September 2007 16:08 Go to next message
Eclipse UserFriend
Originally posted by: bmf1972.fastmail.fm

Hi all,

I am using TPTP 4.4 + AGR on Eclipse 3.3 on WinXP SP2.
The agent controller runs as a Windows service (the IAC causes Eclipse
to crash and I couldn't find what I am doing wrong; but that's other
issue...).

From the IDE the test run both in quick and in standard modes.

From Ant the execution fails with this error:

<snip>
C:\documents\administrator\workspace\wirexn-lang-eclipse-wiz ards-tests >ant
-lib
C:\PROGRA~1\Java\ECLIPS~2.0\plugins\OR3A3A~1.V20
Buildfile: build.xml

test:
[tptp:test] java.io.FileNotFoundException: C:\Documents and
Settings\Administrat
or\Local Settings\Temp\memento57791-out.dat (The system cannot find the
file spe
cified)
[tptp:test] at java.io.FileInputStream.open(Native Method)
[tptp:test] at java.io.FileInputStream.<init>(FileInputStream.java:106)
[tptp:test] at java.io.FileInputStream.<init>(FileInputStream.java:66)
[tptp:test] at
org.eclipse.hyades.automation.client.strategies.OutOfProcess S
trategy.restoreMemento(OutOfProcessStrategy.java:363)
[tptp:test] at
org.eclipse.hyades.automation.client.strategies.OutOfProcess S
trategy.execute(OutOfProcessStrategy.java:302)
[tptp:test] at
org.eclipse.hyades.automation.client.ServiceProxy.execute(Se r
viceProxy.java:77)
[tptp:test] at
org.eclipse.hyades.automation.client.AutomationClient$Defaul t
..execute(AutomationClient.java:160)
[tptp:test] at
org.eclipse.hyades.automation.client.adapters.java.Automatio n
ClientAdapter.execute(AutomationClientAdapter.java:168)
[tptp:test] at
org.eclipse.hyades.automation.client.adapters.ant.Automation C
lientAdapter$Automation.execute(AutomationClientAdapter.java :305)
[tptp:test] at
org.eclipse.hyades.automation.client.adapters.ant.Automation C
lientAdapter$Execution.execute(AutomationClientAdapter.java: 611)
[tptp:test] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j a
va:288)
[tptp:test] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[tptp:test] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce s
sorImpl.java:39)
[tptp:test] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe t
hodAccessorImpl.java:25)
[tptp:test] at java.lang.reflect.Method.invoke(Method.java:597)
[tptp:test] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch U
tils.java:105)
[tptp:test] at org.apache.tools.ant.Task.perform(Task.java:348)
[tptp:test] at org.apache.tools.ant.Target.execute(Target.java:357)
[tptp:test] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[tptp:test] at
org.apache.tools.ant.Project.executeSortedTargets(Project.ja v
a:1329)
[tptp:test] at
org.apache.tools.ant.Project.executeTarget(Project.java:1298 )

[tptp:test] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D e
faultExecutor.java:41)
[tptp:test] at
org.apache.tools.ant.Project.executeTargets(Project.java:118 1
)
[tptp:test] at org.apache.tools.ant.Main.runBuild(Main.java:698)
[tptp:test] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[tptp:test] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[tptp:test] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

BUILD FAILED
C:\documents\administrator\workspace\wirexn-lang-eclipse-wiz ards-tests\build.xml
:25: java.lang.NullPointerException

Total time: 1 second
</snip>

The build.xml file used is:

<project name="TPTP Ant Tasks Test Script"
default="test"
xmlns:tptp="antlib:org.eclipse.hyades.automation.client.adapters.ant ">

<property name="tptp.automation.eclipse"
value="C:/PROGRA~1/Java/ECLIPS~2.0"/>

<description>
This Ant script tests the TPTP automation Ant task client adapters
and also can be used to test the underlying execution of TPTP automatable
services via the TPTP automation server
</description>

<!-- Execute TPTP test suites -->
<target name="test" description="Executes TPTP Test Suites using
default TPTP Ant Tasks">

<!--
Execute a TPTP test suite using the test task and providing the workspace
-->
<tptp:test
workspace="file:///C:/documents/administrator/workspace"
project="wirexn-lang-eclipse-wizards-tests"

suite=" src/test/resources/org/wirexn/lang/eclipse/wizards/tests/gui .testsuite "
synchronicity="synchronous"
vmargs="-XX:+UseParallelGC -XX:MaxPermSize=256M -Xmx512M -Xss4M"
connection="tptp:rac://localhost:10002"/>

</target>
</project>

Please help,
Adrian.
Re: [agr] ant execution error??? [message #113780 is a reply to message #113113] Mon, 01 October 2007 17:04 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
Hi Adrian,

The exception you are seeing implies that the eclipse workbench launched
by ASF experienced an uncaught exception. ASF currently does a poor job
of marshalling errors from the workbench process back to the invoking
client adapter. This is a bug, covered by
https://bugs.eclipse.org/bugs/show_bug.cgi?id=194503 .

The implication here is that you probably have an error in your ant
script / configuration, and bug 194503 is preventing you from seeing
what that error is. Looking at your script, the first thing I see is an
invalid workspace location. You have provided a URI, but you should
instead provide a fully qualified path (i.e.
"C:/documents/administrator/workspace").

If that doesn't solve your problem, I'd suggest running a simple TPTP
JUnit test from your ant script. If that runs correctly, then we will
have narrowed the problem down to the AGR test type. (And my next
question would ask to confirm that TPTP, all its dependencies and the
AGR feature are installed into "C:/PROGRA~1/Java/ECLIPS~2.0".)

Hope this helps,
--Joe

Adrian Herscu wrote:
> Hi all,
>
> I am using TPTP 4.4 + AGR on Eclipse 3.3 on WinXP SP2.
> The agent controller runs as a Windows service (the IAC causes Eclipse
> to crash and I couldn't find what I am doing wrong; but that's other
> issue...).
>
> From the IDE the test run both in quick and in standard modes.
>
> From Ant the execution fails with this error:
>
> <snip>
> C:\documents\administrator\workspace\wirexn-lang-eclipse-wiz ards-tests >ant
> -lib
> C:\PROGRA~1\Java\ECLIPS~2.0\plugins\OR3A3A~1.V20
> Buildfile: build.xml
>
> test:
> [tptp:test] java.io.FileNotFoundException: C:\Documents and
> Settings\Administrat
> or\Local Settings\Temp\memento57791-out.dat (The system cannot find the
> file spe
> cified)
> [tptp:test] at java.io.FileInputStream.open(Native Method)
> [tptp:test] at java.io.FileInputStream.<init>(FileInputStream.java:106)
> [tptp:test] at java.io.FileInputStream.<init>(FileInputStream.java:66)
> [tptp:test] at
> org.eclipse.hyades.automation.client.strategies.OutOfProcess S
> trategy.restoreMemento(OutOfProcessStrategy.java:363)
> [tptp:test] at
> org.eclipse.hyades.automation.client.strategies.OutOfProcess S
> trategy.execute(OutOfProcessStrategy.java:302)
> [tptp:test] at
> org.eclipse.hyades.automation.client.ServiceProxy.execute(Se r
> viceProxy.java:77)
> [tptp:test] at
> org.eclipse.hyades.automation.client.AutomationClient$Defaul t
> .execute(AutomationClient.java:160)
> [tptp:test] at
> org.eclipse.hyades.automation.client.adapters.java.Automatio n
> ClientAdapter.execute(AutomationClientAdapter.java:168)
> [tptp:test] at
> org.eclipse.hyades.automation.client.adapters.ant.Automation C
> lientAdapter$Automation.execute(AutomationClientAdapter.java :305)
> [tptp:test] at
> org.eclipse.hyades.automation.client.adapters.ant.Automation C
> lientAdapter$Execution.execute(AutomationClientAdapter.java: 611)
> [tptp:test] at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j a
> va:288)
> [tptp:test] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [tptp:test] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce s
> sorImpl.java:39)
> [tptp:test] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe t
> hodAccessorImpl.java:25)
> [tptp:test] at java.lang.reflect.Method.invoke(Method.java:597)
> [tptp:test] at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch U
> tils.java:105)
> [tptp:test] at org.apache.tools.ant.Task.perform(Task.java:348)
> [tptp:test] at org.apache.tools.ant.Target.execute(Target.java:357)
> [tptp:test] at
> org.apache.tools.ant.Target.performTasks(Target.java:385)
> [tptp:test] at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja v
> a:1329)
> [tptp:test] at
> org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
>
> [tptp:test] at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D e
> faultExecutor.java:41)
> [tptp:test] at
> org.apache.tools.ant.Project.executeTargets(Project.java:118 1
> )
> [tptp:test] at org.apache.tools.ant.Main.runBuild(Main.java:698)
> [tptp:test] at org.apache.tools.ant.Main.startAnt(Main.java:199)
> [tptp:test] at
> org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> [tptp:test] at
> org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>
> BUILD FAILED
> C:\documents\administrator\workspace\wirexn-lang-eclipse-wiz ards-tests\build.xml
>
> :25: java.lang.NullPointerException
>
> Total time: 1 second
> </snip>
>
> The build.xml file used is:
>
> <project name="TPTP Ant Tasks Test Script"
> default="test"
> xmlns:tptp="antlib:org.eclipse.hyades.automation.client.adapters.ant ">
>
> <property name="tptp.automation.eclipse"
> value="C:/PROGRA~1/Java/ECLIPS~2.0"/>
>
> <description>
> This Ant script tests the TPTP automation Ant task client adapters
> and also can be used to test the underlying execution of TPTP automatable
> services via the TPTP automation server
> </description>
>
> <!-- Execute TPTP test suites -->
> <target name="test" description="Executes TPTP Test Suites using
> default TPTP Ant Tasks">
>
> <!--
> Execute a TPTP test suite using the test task and providing the workspace
> -->
> <tptp:test
> workspace="file:///C:/documents/administrator/workspace"
> project="wirexn-lang-eclipse-wizards-tests"
>
> suite=" src/test/resources/org/wirexn/lang/eclipse/wizards/tests/gui .testsuite "
>
> synchronicity="synchronous"
> vmargs="-XX:+UseParallelGC -XX:MaxPermSize=256M -Xmx512M -Xss4M"
> connection="tptp:rac://localhost:10002"/>
>
> </target>
> </project>
>
> Please help,
> Adrian.
Re: [agr] ant execution error??? [message #114537 is a reply to message #113780] Sun, 07 October 2007 09:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bmf1972.fastmail.fm

Hi Joe, and thanks for the hint.

It tried your suggestion and it seems that it solved the previous
problem. However, it runs into another problem now :-(

Here is the output:

<snip>
Buildfile: build.xml

test:
[tptp:test] Test started!
[tptp:test] Test
'C:\documents\pm\eclipse-3.3-workspace\wirexn-lang-eclipse-w iza
rds-tests\src\test\resources\org\wirexn\lang\eclipse\wizards \tests\gui.testsuite
' executing
[tptp:test]
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrapp
edException: org.eclipse.core.internal.resources.ResourceException:
Resource '/w
irexn-lang-eclipse-wizards-tests/documents/pm/eclipse-3.3-wo rkspace/wirexn-lang-
eclipse-wizards-tests/src/test/resources/org/wirexn/lang/ecl ipse/wizards/tests/g
ui.testsuite' does not exist.
[tptp:test] at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe m
andLoadException(ResourceSetImpl.java:316)
[tptp:test] at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo a
dHelper(ResourceSetImpl.java:275)
[tptp:test] at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou r
ce(ResourceSetImpl.java:398)
[tptp:test] at
org.eclipse.hyades.test.core.services.AbstractTestExecutionS e
rvice.loadModelElement(AbstractTestExecutionService.java:757 )
[tptp:test] at
org.eclipse.hyades.test.core.services.AbstractTestExecutionS e
rvice.loadTestSuite(AbstractTestExecutionService.java:776)
[tptp:test] at
org.eclipse.hyades.test.core.services.AbstractTestExecutionS e
rvice.beforeLaunch(AbstractTestExecutionService.java:255)
[tptp:test] at
org.eclipse.hyades.test.core.services.AbstractTestExecutionS e
rvice.execute(AbstractTestExecutionService.java:519)
[tptp:test] at
org.eclipse.hyades.automation.server.AbstractService.execute (
AbstractService.java:43)
[tptp:test] at
org.eclipse.hyades.automation.server.ServiceProxy$1.run(Serv i
ceProxy.java:141)
[tptp:test] at
org.eclipse.hyades.automation.core.utils.ReusableThread.run( R
eusableThread.java:131)
[tptp:test] at java.lang.Thread.run(Unknown Source)
[tptp:test] Caused by:
org.eclipse.core.internal.resources.ResourceException: Re
source
'/wirexn-lang-eclipse-wizards-tests/documents/pm/eclipse-3.3 -workspace/wi
rexn-lang-eclipse-wizards-tests/src/test/resources/org/wirex n/lang/eclipse/wizar
ds/tests/gui.testsuite' does not exist.
[tptp:test] at
org.eclipse.core.internal.resources.Resource.checkExists(Res o
urce.java:310)
[tptp:test] at
org.eclipse.core.internal.resources.Resource.checkAccessible (
Resource.java:193)
[tptp:test] at
org.eclipse.core.internal.resources.File.getContents(File.ja v
a:285)
[tptp:test] at
org.eclipse.core.internal.resources.File.getContents(File.ja v
a:276)
[tptp:test] at
org.eclipse.hyades.models.hierarchy.util.HierarchyURIConvert e
rImpl$WorkbenchHelper.createPlatformResourceInputStream(Hier archyURIConverterImp
l.java:290)
[tptp:test] at
org.eclipse.hyades.models.hierarchy.util.HierarchyURIConvert e
rImpl.createPlatformResourceInputStream(HierarchyURIConverte rImpl.java:368)
[tptp:test] at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI n
putStream(URIConverterImpl.java:538)
[tptp:test] at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour c
eImpl.java:1152)
[tptp:test] at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo a
d(ResourceSetImpl.java:256)
[tptp:test] at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo a
dHelper(ResourceSetImpl.java:271)
[tptp:test] ... 9 more

BUILD FAILED
C:\documents\pm\eclipse-3.3-workspace\wirexn-lang-eclipse-wi zards-tests\build.xm
l:25: java.lang.NullPointerException

Total time: 8 seconds
</snip>

It looks like something gets confused about the supplied paths, which
eventually causes the following error message:
" '/wirexn-lang-eclipse-wizards-tests/documents/pm/eclipse-3.3 -workspace/wirexn-lang-
eclipse-wizards-tests/src/test/resources/org/wirexn/lang/ecl ipse/wizards/tests/g
ui.testsuite' does not exist"
Adrian.

Joe Toomey wrote:
> Hi Adrian,
>
> The exception you are seeing implies that the eclipse workbench launched
> by ASF experienced an uncaught exception. ASF currently does a poor job
> of marshalling errors from the workbench process back to the invoking
> client adapter. This is a bug, covered by
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=194503 .
>
> The implication here is that you probably have an error in your ant
> script / configuration, and bug 194503 is preventing you from seeing
> what that error is. Looking at your script, the first thing I see is an
> invalid workspace location. You have provided a URI, but you should
> instead provide a fully qualified path (i.e.
> "C:/documents/administrator/workspace").
>
> If that doesn't solve your problem, I'd suggest running a simple TPTP
> JUnit test from your ant script. If that runs correctly, then we will
> have narrowed the problem down to the AGR test type. (And my next
> question would ask to confirm that TPTP, all its dependencies and the
> AGR feature are installed into "C:/PROGRA~1/Java/ECLIPS~2.0".)
>
> Hope this helps,
> --Joe
>
> Adrian Herscu wrote:
>> Hi all,
>>
>> I am using TPTP 4.4 + AGR on Eclipse 3.3 on WinXP SP2.
>> The agent controller runs as a Windows service (the IAC causes Eclipse
>> to crash and I couldn't find what I am doing wrong; but that's other
>> issue...).
>>
>> From the IDE the test run both in quick and in standard modes.
>>
>> From Ant the execution fails with this error:
>>
>> <snip>
>> C:\documents\administrator\workspace\wirexn-lang-eclipse-wiz ards-tests >ant
>> -lib
>> C:\PROGRA~1\Java\ECLIPS~2.0\plugins\OR3A3A~1.V20
>> Buildfile: build.xml
>>
>> test:
>> [tptp:test] java.io.FileNotFoundException: C:\Documents and
>> Settings\Administrat
>> or\Local Settings\Temp\memento57791-out.dat (The system cannot find
>> the file spe
>> cified)
>> [tptp:test] at java.io.FileInputStream.open(Native Method)
>> [tptp:test] at
>> java.io.FileInputStream.<init>(FileInputStream.java:106)
>> [tptp:test] at
>> java.io.FileInputStream.<init>(FileInputStream.java:66)
>> [tptp:test] at
>> org.eclipse.hyades.automation.client.strategies.OutOfProcess S
>> trategy.restoreMemento(OutOfProcessStrategy.java:363)
>> [tptp:test] at
>> org.eclipse.hyades.automation.client.strategies.OutOfProcess S
>> trategy.execute(OutOfProcessStrategy.java:302)
>> [tptp:test] at
>> org.eclipse.hyades.automation.client.ServiceProxy.execute(Se r
>> viceProxy.java:77)
>> [tptp:test] at
>> org.eclipse.hyades.automation.client.AutomationClient$Defaul t
>> .execute(AutomationClient.java:160)
>> [tptp:test] at
>> org.eclipse.hyades.automation.client.adapters.java.Automatio n
>> ClientAdapter.execute(AutomationClientAdapter.java:168)
>> [tptp:test] at
>> org.eclipse.hyades.automation.client.adapters.ant.Automation C
>> lientAdapter$Automation.execute(AutomationClientAdapter.java :305)
>> [tptp:test] at
>> org.eclipse.hyades.automation.client.adapters.ant.Automation C
>> lientAdapter$Execution.execute(AutomationClientAdapter.java: 611)
>> [tptp:test] at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j a
>> va:288)
>> [tptp:test] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> [tptp:test] at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce s
>> sorImpl.java:39)
>> [tptp:test] at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe t
>> hodAccessorImpl.java:25)
>> [tptp:test] at java.lang.reflect.Method.invoke(Method.java:597)
>> [tptp:test] at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch U
>> tils.java:105)
>> [tptp:test] at org.apache.tools.ant.Task.perform(Task.java:348)
>> [tptp:test] at org.apache.tools.ant.Target.execute(Target.java:357)
>> [tptp:test] at
>> org.apache.tools.ant.Target.performTasks(Target.java:385)
>> [tptp:test] at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.ja v
>> a:1329)
>> [tptp:test] at
>> org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
>>
>> [tptp:test] at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D e
>> faultExecutor.java:41)
>> [tptp:test] at
>> org.apache.tools.ant.Project.executeTargets(Project.java:118 1
>> )
>> [tptp:test] at org.apache.tools.ant.Main.runBuild(Main.java:698)
>> [tptp:test] at org.apache.tools.ant.Main.startAnt(Main.java:199)
>> [tptp:test] at
>> org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>> [tptp:test] at
>> org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>>
>> BUILD FAILED
>> C:\documents\administrator\workspace\wirexn-lang-eclipse-wiz ards-tests\build.xml
>>
>> :25: java.lang.NullPointerException
>>
>> Total time: 1 second
>> </snip>
>>
>> The build.xml file used is:
>>
>> <project name="TPTP Ant Tasks Test Script"
>> default="test"
>> xmlns:tptp="antlib:org.eclipse.hyades.automation.client.adapters.ant ">
>>
>> <property name="tptp.automation.eclipse"
>> value="C:/PROGRA~1/Java/ECLIPS~2.0"/>
>>
>> <description>
>> This Ant script tests the TPTP automation Ant task client adapters
>> and also can be used to test the underlying execution of TPTP
>> automatable
>> services via the TPTP automation server
>> </description>
>>
>> <!-- Execute TPTP test suites -->
>> <target name="test" description="Executes TPTP Test Suites using
>> default TPTP Ant Tasks">
>>
>> <!--
>> Execute a TPTP test suite using the test task and providing the workspace
>> -->
>> <tptp:test
>> workspace="file:///C:/documents/administrator/workspace"
>> project="wirexn-lang-eclipse-wizards-tests"
>>
>> suite=" src/test/resources/org/wirexn/lang/eclipse/wizards/tests/gui .testsuite "
>>
>> synchronicity="synchronous"
>> vmargs="-XX:+UseParallelGC -XX:MaxPermSize=256M -Xmx512M -Xss4M"
>> connection="tptp:rac://localhost:10002"/>
>>
>> </target>
>> </project>
>>
>> Please help,
>> Adrian.
Re: [agr] ant execution error??? [message #114610 is a reply to message #114537] Mon, 08 October 2007 14:47 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
Hi Adrian,

Can you please post your modified ant script?

Thanks,
--Joe

Adrian Herscu wrote:
> Hi Joe, and thanks for the hint.
>
> It tried your suggestion and it seems that it solved the previous
> problem. However, it runs into another problem now :-(
<snip>
Re: [agr] ant execution error??? [message #114645 is a reply to message #114610] Mon, 08 October 2007 16:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bmf1972.fastmail.fm

Here it is:

<snip>
<project name="TPTP Ant Tasks Test Script"
default="test"
xmlns:tptp="antlib:org.eclipse.hyades.automation.client.adapters.ant ">

<property name="tptp.automation.eclipse"
value="C:/PROGRA~1/Java/ECLIPS~2.0"/>

<description>
This Ant script tests the TPTP automation Ant task client adapters
and also can be used to test the underlying execution of TPTP automatable
services via the TPTP automation server
</description>

<!-- Execute TPTP test suites -->
<target name="test" description="Executes TPTP Test Suites using
default TPTP Ant Tasks">

<!--
Execute a TPTP test suite using the test task and providing the workspace
-->
<tptp:test
workspace="C:/documents/pm/eclipse-3.3-workspace"
project="wirexn-lang-eclipse-wizards-tests"

suite=" src/test/resources/org/wirexn/lang/eclipse/wizards/tests/gui .testsuite "
synchronicity="synchronous"
vmargs="-XX:+UseParallelGC -XX:MaxPermSize=256M -Xmx512M -Xss4M"
connection="tptp:rac://localhost:10002"/>

</target>
</project>

</snip>

Joe Toomey wrote:
> Hi Adrian,
>
> Can you please post your modified ant script?
>
> Thanks,
> --Joe
>
> Adrian Herscu wrote:
>> Hi Joe, and thanks for the hint.
>>
>> It tried your suggestion and it seems that it solved the previous
>> problem. However, it runs into another problem now :-(
> <snip>
Re: [agr] ant execution error??? [message #114766 is a reply to message #114645] Wed, 10 October 2007 01:35 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
Hi Adrian,

I just tested a copy of this script, with the appropriate changes to my
use paths on my machine, (with TPTP 4.4.0.3 and TPTP 4.4.1) and it
worked fine. Can you confirm which TPTP build you're using?

--Joe

Adrian Herscu wrote:
> Here it is:
>
> <snip>
> <project name="TPTP Ant Tasks Test Script"
> default="test"
> xmlns:tptp="antlib:org.eclipse.hyades.automation.client.adapters.ant ">
>
> <property name="tptp.automation.eclipse"
> value="C:/PROGRA~1/Java/ECLIPS~2.0"/>
>
> <description>
> This Ant script tests the TPTP automation Ant task client adapters
> and also can be used to test the underlying execution of TPTP automatable
> services via the TPTP automation server
> </description>
>
> <!-- Execute TPTP test suites -->
> <target name="test" description="Executes TPTP Test Suites using
> default TPTP Ant Tasks">
>
> <!--
> Execute a TPTP test suite using the test task and providing the workspace
> -->
> <tptp:test
> workspace="C:/documents/pm/eclipse-3.3-workspace"
> project="wirexn-lang-eclipse-wizards-tests"
>
> suite=" src/test/resources/org/wirexn/lang/eclipse/wizards/tests/gui .testsuite "
>
> synchronicity="synchronous"
> vmargs="-XX:+UseParallelGC -XX:MaxPermSize=256M -Xmx512M -Xss4M"
> connection="tptp:rac://localhost:10002"/>
>
> </target>
> </project>
>
> </snip>
>
> Joe Toomey wrote:
>> Hi Adrian,
>>
>> Can you please post your modified ant script?
>>
>> Thanks,
>> --Joe
>>
>> Adrian Herscu wrote:
>>> Hi Joe, and thanks for the hint.
>>>
>>> It tried your suggestion and it seems that it solved the previous
>>> problem. However, it runs into another problem now :-(
>> <snip>
Re: [agr] ant execution error??? [message #115185 is a reply to message #114766] Wed, 10 October 2007 19:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bmf1972.fastmail.fm

I believe this is the right version info:

TPTP Core
Version: 4.4.0.v200707090100-8Q82EN-JEPilAkj70nCro
Build id: TPTP-4.4.0.1-200707090100B

TPTP Automated GUI Recording and Playback
Version: 4.1.100.v200705040100-773_70r733G3B8A3C76
Build id: TPTP-4.4.0.2-200708100100

Adrian.

Joe Toomey wrote:
> Hi Adrian,
>
> I just tested a copy of this script, with the appropriate changes to my
> use paths on my machine, (with TPTP 4.4.0.3 and TPTP 4.4.1) and it
> worked fine. Can you confirm which TPTP build you're using?
>
> --Joe
>
> Adrian Herscu wrote:
>> Here it is:
>>
>> <snip>
>> <project name="TPTP Ant Tasks Test Script"
>> default="test"
>> xmlns:tptp="antlib:org.eclipse.hyades.automation.client.adapters.ant ">
>>
>> <property name="tptp.automation.eclipse"
>> value="C:/PROGRA~1/Java/ECLIPS~2.0"/>
>>
>> <description>
>> This Ant script tests the TPTP automation Ant task client adapters
>> and also can be used to test the underlying execution of TPTP
>> automatable
>> services via the TPTP automation server
>> </description>
>>
>> <!-- Execute TPTP test suites -->
>> <target name="test" description="Executes TPTP Test Suites using
>> default TPTP Ant Tasks">
>>
>> <!--
>> Execute a TPTP test suite using the test task and providing the workspace
>> -->
>> <tptp:test
>> workspace="C:/documents/pm/eclipse-3.3-workspace"
>> project="wirexn-lang-eclipse-wizards-tests"
>>
>> suite=" src/test/resources/org/wirexn/lang/eclipse/wizards/tests/gui .testsuite "
>>
>> synchronicity="synchronous"
>> vmargs="-XX:+UseParallelGC -XX:MaxPermSize=256M -Xmx512M -Xss4M"
>> connection="tptp:rac://localhost:10002"/>
>>
>> </target>
>> </project>
>>
>> </snip>
>>
>> Joe Toomey wrote:
>>> Hi Adrian,
>>>
>>> Can you please post your modified ant script?
>>>
>>> Thanks,
>>> --Joe
>>>
>>> Adrian Herscu wrote:
>>>> Hi Joe, and thanks for the hint.
>>>>
>>>> It tried your suggestion and it seems that it solved the previous
>>>> problem. However, it runs into another problem now :-(
>>> <snip>
Re: [agr] ant execution error??? [message #115341 is a reply to message #115185] Fri, 12 October 2007 19:51 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
This is perplexing. Can you please confirm that you have the correct
version of ant-tptp.jar in your ant/lib directory and not some older
version? (This file should be copied from the
org.eclipse.hyades.execution plug-in. The correct one for 4.4.0.1
should be 70k.)

--Joe

Adrian Herscu wrote:
> I believe this is the right version info:
>
> TPTP Core
> Version: 4.4.0.v200707090100-8Q82EN-JEPilAkj70nCro
> Build id: TPTP-4.4.0.1-200707090100B
>
> TPTP Automated GUI Recording and Playback
> Version: 4.1.100.v200705040100-773_70r733G3B8A3C76
> Build id: TPTP-4.4.0.2-200708100100
>
> Adrian.
>
> Joe Toomey wrote:
>> Hi Adrian,
>>
>> I just tested a copy of this script, with the appropriate changes to
>> my use paths on my machine, (with TPTP 4.4.0.3 and TPTP 4.4.1) and it
>> worked fine. Can you confirm which TPTP build you're using?
>>
>> --Joe
>>
>> Adrian Herscu wrote:
>>> Here it is:
>>>
>>> <snip>
>>> <project name="TPTP Ant Tasks Test Script"
>>> default="test"
>>> xmlns:tptp="antlib:org.eclipse.hyades.automation.client.adapters.ant ">
>>>
>>> <property name="tptp.automation.eclipse"
>>> value="C:/PROGRA~1/Java/ECLIPS~2.0"/>
>>>
>>> <description>
>>> This Ant script tests the TPTP automation Ant task client adapters
>>> and also can be used to test the underlying execution of TPTP
>>> automatable
>>> services via the TPTP automation server
>>> </description>
>>>
>>> <!-- Execute TPTP test suites -->
>>> <target name="test" description="Executes TPTP Test Suites using
>>> default TPTP Ant Tasks">
>>>
>>> <!--
>>> Execute a TPTP test suite using the test task and providing the
>>> workspace
>>> -->
>>> <tptp:test
>>> workspace="C:/documents/pm/eclipse-3.3-workspace"
>>> project="wirexn-lang-eclipse-wizards-tests"
>>>
>>> suite=" src/test/resources/org/wirexn/lang/eclipse/wizards/tests/gui .testsuite "
>>>
>>> synchronicity="synchronous"
>>> vmargs="-XX:+UseParallelGC -XX:MaxPermSize=256M -Xmx512M -Xss4M"
>>> connection="tptp:rac://localhost:10002"/>
>>>
>>> </target>
>>> </project>
>>>
>>> </snip>
>>>
>>> Joe Toomey wrote:
>>>> Hi Adrian,
>>>>
>>>> Can you please post your modified ant script?
>>>>
>>>> Thanks,
>>>> --Joe
>>>>
>>>> Adrian Herscu wrote:
>>>>> Hi Joe, and thanks for the hint.
>>>>>
>>>>> It tried your suggestion and it seems that it solved the previous
>>>>> problem. However, it runs into another problem now :-(
>>>> <snip>
Re: [agr] ant execution error??? [message #115366 is a reply to message #115341] Sat, 13 October 2007 11:55 Go to previous message
Eclipse UserFriend
Originally posted by: bmf1972.fastmail.fm

Hi Joe,

I never copied the ant-tptp.jar file to my ${ant.home}/lib directory.
I have always used the -lib option with ant.

Adrian.

Joe Toomey wrote:
> This is perplexing. Can you please confirm that you have the correct
> version of ant-tptp.jar in your ant/lib directory and not some older
> version? (This file should be copied from the
> org.eclipse.hyades.execution plug-in. The correct one for 4.4.0.1
> should be 70k.)
>
> --Joe
>
> Adrian Herscu wrote:
>> I believe this is the right version info:
>>
>> TPTP Core
>> Version: 4.4.0.v200707090100-8Q82EN-JEPilAkj70nCro
>> Build id: TPTP-4.4.0.1-200707090100B
>>
>> TPTP Automated GUI Recording and Playback
>> Version: 4.1.100.v200705040100-773_70r733G3B8A3C76
>> Build id: TPTP-4.4.0.2-200708100100
>>
>> Adrian.
>>
>> Joe Toomey wrote:
>>> Hi Adrian,
>>>
>>> I just tested a copy of this script, with the appropriate changes to
>>> my use paths on my machine, (with TPTP 4.4.0.3 and TPTP 4.4.1) and it
>>> worked fine. Can you confirm which TPTP build you're using?
>>>
>>> --Joe
>>>
>>> Adrian Herscu wrote:
>>>> Here it is:
>>>>
>>>> <snip>
>>>> <project name="TPTP Ant Tasks Test Script"
>>>> default="test"
>>>> xmlns:tptp="antlib:org.eclipse.hyades.automation.client.adapters.ant ">
>>>>
>>>> <property name="tptp.automation.eclipse"
>>>> value="C:/PROGRA~1/Java/ECLIPS~2.0"/>
>>>>
>>>> <description>
>>>> This Ant script tests the TPTP automation Ant task client adapters
>>>> and also can be used to test the underlying execution of TPTP
>>>> automatable
>>>> services via the TPTP automation server
>>>> </description>
>>>>
>>>> <!-- Execute TPTP test suites -->
>>>> <target name="test" description="Executes TPTP Test Suites using
>>>> default TPTP Ant Tasks">
>>>>
>>>> <!--
>>>> Execute a TPTP test suite using the test task and providing the
>>>> workspace
>>>> -->
>>>> <tptp:test
>>>> workspace="C:/documents/pm/eclipse-3.3-workspace"
>>>> project="wirexn-lang-eclipse-wizards-tests"
>>>>
>>>> suite=" src/test/resources/org/wirexn/lang/eclipse/wizards/tests/gui .testsuite "
>>>>
>>>> synchronicity="synchronous"
>>>> vmargs="-XX:+UseParallelGC -XX:MaxPermSize=256M -Xmx512M
>>>> -Xss4M"
>>>> connection="tptp:rac://localhost:10002"/>
>>>>
>>>> </target>
>>>> </project>
>>>>
>>>> </snip>
>>>>
>>>> Joe Toomey wrote:
>>>>> Hi Adrian,
>>>>>
>>>>> Can you please post your modified ant script?
>>>>>
>>>>> Thanks,
>>>>> --Joe
>>>>>
>>>>> Adrian Herscu wrote:
>>>>>> Hi Joe, and thanks for the hint.
>>>>>>
>>>>>> It tried your suggestion and it seems that it solved the previous
>>>>>> problem. However, it runs into another problem now :-(
>>>>> <snip>
Previous Topic:test
Next Topic:TPTP environments
Goto Forum:
  


Current Time: Thu Nov 27 07:03:41 GMT 2014

Powered by FUDForum. Page generated in 0.02340 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software