Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Deployement of the material
Deployement of the material [message #107938] Wed, 08 August 2007 16:27 Go to next message
Eclipse UserFriend
Originally posted by: cguibert.axway.com

Hello

I have a problem when using TPTP: I checked out a working eclipse project
from our internal cvs repository and when I tried to run it from my
machine (on a Unix remote server), all my test was failed.
When I analysed the problem, it seems that the material directory was not
deployed on the remote Unix server.
So I have the following questions:
- is the material directory deleted at the end of the TestSuite ?
- where is precisely deployed the material directory (I'm wondering
whether I don't have an environement variable conflict somewhere, because
TPTP is creating a [RA_TEMP_DIR]/Administrator/DOCUMEN~1/... on the Unix
machine wherehas in the TestSuite, the material is located in
[RA_TEMP_DIR]/Administrator/com.axway.xtp.connector.tests/as sets/HTTP_Gtw_Xib/material)
- any idea of what else could be the problem ?

Thanks for your help

Regards

CG
Re: Deployement of the material [message #108157 is a reply to message #107938] Thu, 09 August 2007 10:53 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi CG,
Test dependencies that will be deployed to the remote machine and rooted
under your ROOTDIR should be added to teh CLASSPATH parameter for your
artifact:

http://help.eclipse.org/help32/topic/org.eclipse.hyades.test .doc.user/ref/rdeploymentGroundRules.htm

The following procedure is used to calculate ROOTDIR:

Step 1: TPTP first looks on the remote machine for the ROOTDIR location
property (if specified); if this exists, then its value is taken as the
output from this step.

If the ROOTDIR location property has not been specified, or if it has but
does not exist on the remote machine, TPTP derives one using the temporary
directory found on the remote machine's environment; it looks for
LOCAL_AGENT_TEMP_DIR, TEMP, and TMP, in that order, and, whichever is found
first is taken as the output from this step.

Step 2: TPTP looks for the USR_NAME location property on the local machine.
If this does not exist it pulls the user.name property from Java
(System.getProperty("user.name")).

Step 3: TPTP concatenates the outputs from Steps 1 and 2 and takes this to
be the ROOTDIR to use.

If you still cannot diagnose the problem, please attach your deployment,
artifact and location files to your reply.

Paul
"CG" <cguibert@axway.com> wrote in message
news:47dbfa7fd6658db5e34a249d22128724$1@www.eclipse.org...
> Hello
>
> I have a problem when using TPTP: I checked out a working eclipse project
> from our internal cvs repository and when I tried to run it from my
> machine (on a Unix remote server), all my test was failed.
> When I analysed the problem, it seems that the material directory was not
> deployed on the remote Unix server.
> So I have the following questions:
> - is the material directory deleted at the end of the TestSuite ?
> - where is precisely deployed the material directory (I'm wondering
> whether I don't have an environement variable conflict somewhere, because
> TPTP is creating a [RA_TEMP_DIR]/Administrator/DOCUMEN~1/... on the Unix
> machine wherehas in the TestSuite, the material is located in
> [RA_TEMP_DIR]/Administrator/com.axway.xtp.connector.tests/as sets/HTTP_Gtw_Xib/material)
> - any idea of what else could be the problem ?
>
> Thanks for your help
>
> Regards
>
> CG
>
Previous Topic:TPTP 4.4.0.1 is released!
Next Topic:[TPTP AGR] Path to Logger file in standard mode
Goto Forum:
  


Current Time: Sat Dec 20 05:13:35 GMT 2014

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

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