Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Relative path to datapool
Relative path to datapool [message #17943] Fri, 13 May 2005 12:24 Go to next message
Eclipse User
Originally posted by: roman.bosak.tietoenator.com

Hi,
I have problem with a path to a datapool file. If I write down the path into
my test class in absolute format
(c:/workspace/%pluginName%/%datapoolFileName%.datapool) everythink works
well. But the absoult path is inconvenient.
If I use relative path then it tries to acces it in C:\Documents and
Settings\%userName%\Local Settings\Temp\%relativePath%. But nobody deploys
the datapool file into this location.
What am I doing wrong?

I also tries to make some artifacts, locations and deployments but without
success :-(

Thanks a lot for your suggestions.

Roman Bos
Re: Relative path to datapool [message #18696 is a reply to message #17943] Tue, 24 May 2005 13:39 Go to previous messageGo to next message
Eclipse User
Originally posted by: roman.bosak.tietoenator.com

I workarounded this problem setting SYS_TEMP_DIR variable in
%RASERVER_HOME%/config/serviceconfig.xml to the root directory of my test
resources.

Does anyone know how and where are resources deployed without this
workaround?
(This workaround does not require deployment because the path is hardly
configured to look for resources in their original locations)

Is it possible to deploy also not Hyades files (*.properties, ...)?
(Hayades files I means artifacts - *.datapool, *.testsuit)


"Roman Bos
Re: Relative path to datapool [message #18918 is a reply to message #18696] Thu, 02 June 2005 13:02 Go to previous messageGo to next message
Holger Machens is currently offline Holger Machens
Messages: 57
Registered: July 2009
Member
Hello Roman (?),

it seems to me, that it's the wrong way to change the SYS_TEMP_DIR variable.


As i remember, you can specify datapools as part (artifact) of your test
in the deployment description.
During deployment, TPTP creates a copy of your execution environment
with jar-files and artifacts needed to execute the test on the target (the
machine were your test shall be executed).
After that, the resource - respectivly your datapool - MUST be located in
a path that is relativ to the execution directory used by the agent controller.


May the force be with you!

Greetings
Holger


Roman Bosák wrote:
> I workarounded this problem setting SYS_TEMP_DIR variable in
> %RASERVER_HOME%/config/serviceconfig.xml to the root directory of my test
> resources.
>
> Does anyone know how and where are resources deployed without this
> workaround?
> (This workaround does not require deployment because the path is hardly
> configured to look for resources in their original locations)
>
> Is it possible to deploy also not Hyades files (*.properties, ...)?
> (Hayades files I means artifacts - *.datapool, *.testsuit)
>
>
> "Roman Bosák" <roman.bosak@tietoenator.com> wrote in message
> news:d626q5$t1l$1@news.eclipse.org...
>
>>Hi,
>>I have problem with a path to a datapool file. If I write down the path
>>into my test class in absolute format
>>(c:/workspace/%pluginName%/%datapoolFileName%.datapool) everythink works
>>well. But the absoult path is inconvenient.
>>If I use relative path then it tries to acces it in C:\Documents and
>>Settings\%userName%\Local Settings\Temp\%relativePath%. But nobody deploys
>>the datapool file into this location.
>>What am I doing wrong?
>>
>>I also tries to make some artifacts, locations and deployments but without
>>success :-(
>>
>>Thanks a lot for your suggestions.
>>
>>Roman Bosák
>>roman.bosak@tietoenator.com
>>ICQ: 163393951
>>
>>
>
>
>
Re: Relative path to datapool [message #19266 is a reply to message #18918] Tue, 07 June 2005 11:15 Go to previous messageGo to next message
Eclipse User
Originally posted by: roman.bosak.tietoenator.com

Hi Holger,

"Holger Machens" <machens@informatik.fh-wiesbaden.de> wrote in message
news:d7n00u$fcs$1@news.eclipse.org...
> Hello Roman (?),
>
> it seems to me, that it's the wrong way to change the SYS_TEMP_DIR
> variable.

Yes definetely, but ... :-)

>
>
> As i remember, you can specify datapools as part (artifact) of your test
> in the deployment description.

I did.

> During deployment, TPTP creates a copy of your execution environment
> with jar-files and artifacts needed to execute the test on the target (the
> machine were your test shall be executed).

I think so.

> After that, the resource - respectivly your datapool - MUST be located in
> a path that is relativ to the execution directory used by the agent
> controller.

The path where is Hyades (or AgentControler) looking for "deployed"
resources is relative to SYS_TEMP_DIR property of the configuration. But it
doesn't deploy them there :-(

>
>
> May the force be with you!
>
> Greetings
> Holger
>
>
> Roman Bos
Re: Relative path to datapool [message #19545 is a reply to message #19266] Wed, 08 June 2005 08:10 Go to previous message
Holger Machens is currently offline Holger Machens
Messages: 57
Registered: July 2009
Member
Hi Roman,

ok, if artifacts are not deployed correctly, it must be a bug and you should enter a bug report in the bugzilla.
http://www.eclipse.org/tptp --> "Submit Enhancements & Bugs" --> "Report a new bug"

This might help the tptp group!

Greetings
Holger


Roman Bosák wrote:
> Hi Holger,
>
> "Holger Machens" <machens@informatik.fh-wiesbaden.de> wrote in message
> news:d7n00u$fcs$1@news.eclipse.org...
>
>>Hello Roman (?),
>>
>>it seems to me, that it's the wrong way to change the SYS_TEMP_DIR
>>variable.
>
>
> Yes definetely, but ... :-)
>
>
>>
>>As i remember, you can specify datapools as part (artifact) of your test
>>in the deployment description.
>
>
> I did.
>
>
>>During deployment, TPTP creates a copy of your execution environment
>>with jar-files and artifacts needed to execute the test on the target (the
>>machine were your test shall be executed).
>
>
> I think so.
>
>
>>After that, the resource - respectivly your datapool - MUST be located in
>>a path that is relativ to the execution directory used by the agent
>>controller.
>
>
> The path where is Hyades (or AgentControler) looking for "deployed"
> resources is relative to SYS_TEMP_DIR property of the configuration. But it
> doesn't deploy them there :-(
>
>
>>
>>May the force be with you!
>>
>>Greetings
>> Holger
>>
>>
>>Roman Bosák wrote:
>>
>>>I workarounded this problem setting SYS_TEMP_DIR variable in
>>>%RASERVER_HOME%/config/serviceconfig.xml to the root directory of my test
>>>resources.
>>>
>>>Does anyone know how and where are resources deployed without this
>>>workaround?
>>>(This workaround does not require deployment because the path is hardly
>>>configured to look for resources in their original locations)
>>>
>>>Is it possible to deploy also not Hyades files (*.properties, ...)?
>>>(Hayades files I means artifacts - *.datapool, *.testsuit)
>>>
>>>
>>>"Roman Bosák" <roman.bosak@tietoenator.com> wrote in message
>>>news:d626q5$t1l$1@news.eclipse.org...
>>>
>>>
>>>>Hi,
>>>>I have problem with a path to a datapool file. If I write down the path
>>>>into my test class in absolute format
>>>>(c:/workspace/%pluginName%/%datapoolFileName%.datapool) everythink works
>>>>well. But the absoult path is inconvenient.
>>>>If I use relative path then it tries to acces it in C:\Documents and
>>>>Settings\%userName%\Local Settings\Temp\%relativePath%. But nobody
>>>>deploys the datapool file into this location.
>>>>What am I doing wrong?
>>>>
>>>>I also tries to make some artifacts, locations and deployments but
>>>>without success :-(
>>>>
>>>>Thanks a lot for your suggestions.
>>>>
>>>>Roman Bosák
>>>>roman.bosak@tietoenator.com
>>>>ICQ: 163393951
>>>>
>>>>
>>>
>>>
>
Previous Topic:org.eclipse.tptp.platform.execution interfaces
Next Topic:Pointers for Getting Started
Goto Forum:
  


Current Time: Wed Oct 22 23:56:46 GMT 2014

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

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