Relative path to datapool [message #17943] |
Fri, 13 May 2005 08:24  |
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 #18918 is a reply to message #18696] |
Thu, 02 June 2005 09:02   |
Eclipse User |
|
|
|
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 #19545 is a reply to message #19266] |
Wed, 08 June 2005 04:10  |
Eclipse User |
|
|
|
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
>>>>
>>>>
>>>
>>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03955 seconds