Skip to main content



      Home
Home » Archived » Test and Performance Tools Platform (TPTP) » TPTP issues
TPTP issues [message #102239] Mon, 02 July 2007 07:57 Go to next message
Eclipse UserFriend
Hello,

I'm part of team which is starting to develop some testing application. We
want to bulid our solution on TPTP. Currenty I'm using Eclipse 3.3 with
all TPTP Runtimes and SDKs v.4.4. I focus on TPTP Testing project.

After some time of investigation I wasn't able to solve these problems:

1. Where can I find source code for
org.eclipse.hyades.test.core_4.2.200.v200706050100 plugin? I'd expect
plugin org.eclipse.hyades.test.core.source in TPTP Test SDK, but I can't
see anything like this in there. It would be nice to trace the code.

2. How can I know which jars I have to add to my Java project reference to
be able to run example of TestExecutionHarness class presented in javadoc
in this link
http://europa-mirror2.eclipse.org/tptp/4.3.0/javadoc/Testing _Tools/public/org/eclipse/hyades/execution/harness/TestExecu tionHarness.html#main

I bypass this problem by creating Eclipse plugin project and by adding all
TPTP Platform and Testing plugins into Required plugins section but this
is a bit hardcore approach I guess.

Thanks for your help.

Jiri
Re: TPTP issues [message #102331 is a reply to message #102239] Mon, 02 July 2007 13:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jiri,

Thanks for your questions.

1) This is a packaging bug, and I have filed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=195148 to track the issue.
Feel free to add yourself on CC of this defect so you can be kept
abreast of the problem.

2) This method of calling the execution harness has been deprecated (for
exactly the reasons you state) in favor of using the Automatable Service
Framework. You can use ASF to execute TPTP service from command line,
ant, vanilla java or from within eclipse itself. The ASF doc touches on
this briefly -- take a look at Testing Applications -> Testing
Applications -> Launching tests from scripts and applications -> Using
the TPTP automatable services -> Running tests from Java applications
and plug-ins. The second block of code uses the InProcess strategy,
meaning that you are invoking the service from within an eclipse
application. [Note that there are 3 classes called
AutomationClientAdapter in the org.eclipse.haydes.execution plugin, and
you should choose the one from the appropriate package -- in your case,
org.eclipse.hyades.automation.client.adapters.java.Automatio nClientAdapter.]

Hope this helps,
--Joe
Re: TPTP issues [message #102482 is a reply to message #102331] Tue, 03 July 2007 05:55 Go to previous messageGo to next message
Eclipse UserFriend
Hello again,
thanks for your answers, it looks promising to me. But anyway I'm facing
another problem you can hopefully help me with.

I can't see any source code when I try to explore any class from TPTP
framework in Eclipse. In other words just Class File Editor shows with
information that there is no source attached to it.
As I said before I'm using Eclipse SDK 3.3 with TPTP SDK 4.4.0 now, but I
had this problem before when trying this on Eclipse 3.2 with TPTP SDK
4.3.1 or 4.3.0.

The only way I'm able to get class - source binding is to checkout needed
project from CVS repository to my current workspace. And this is far from
ideal for me. I tried to install TPTP by install manager or by manual way
with the same results. Everyting seems all right by I can't see the source
code for TPTP classes.

Thanks for your help.

Jiri
Re: TPTP issues [message #102547 is a reply to message #102482] Tue, 03 July 2007 08:35 Go to previous message
Eclipse UserFriend
Hi Jiri,

https://bugs.eclipse.org/bugs/show_bug.cgi?id=195148 will address this
issue for the 4.4 release. I believe you have an install problem with
4.3.1 -- the source zips are in the SDK download, and I just verified by
stepping into TPTP code from a 4.3.1 driver. The source is there. You
won't get the source by installing from the update manager -- if you
want to be certain, download a fresh eclipse (3.2.2) and the necessary
dependencies, along with the SDK download from the TPTP download page:
http://www.eclipse.org/tptp/home/downloads/?ver=4.3.1

I expect we will get more information on the resolution of 195148 when
my colleagues in Toronto return from holiday. Hopefully this will be
something they can address quickly. I have marked the defect as
critical, but like most release engineering teams, ours is understaffed
and overworked. Please monitor the defect to kept informed of the progress.

Thanks,
--Joe

Jiri Bjalek wrote:
> Hello again,
> thanks for your answers, it looks promising to me. But anyway I'm facing
> another problem you can hopefully help me with.
>
> I can't see any source code when I try to explore any class from TPTP
> framework in Eclipse. In other words just Class File Editor shows with
> information that there is no source attached to it.
> As I said before I'm using Eclipse SDK 3.3 with TPTP SDK 4.4.0 now, but
> I had this problem before when trying this on Eclipse 3.2 with TPTP SDK
> 4.3.1 or 4.3.0.
>
> The only way I'm able to get class - source binding is to checkout
> needed project from CVS repository to my current workspace. And this is
> far from ideal for me. I tried to install TPTP by install manager or by
> manual way with the same results. Everyting seems all right by I can't
> see the source code for TPTP classes.
>
> Thanks for your help.
>
> Jiri
>
Previous Topic:Agent Controller Questions
Next Topic:Re: ClassCastException in GenModel if org.eclipse.xsd is present
Goto Forum:
  


Current Time: Mon Jul 14 07:25:11 EDT 2025

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

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

Back to the top