|
|
|
|
Re: How to get "project.basedir" path in a Test Case [message #1696907 is a reply to message #1696641] |
Fri, 29 May 2015 10:21 |
|
There is no predefined variable for RCPTT workspace, but it's possible to get this path from osgi.configuration.area java property as I've done it in the following script:
str [get-java-property "osgi.configuration.area"] | invoke substring 0 [str [get-java-property "osgi.configuration.area"] | invoke indexOf ".metadata/.plugins/org.eclipse.pde.core/build-347/"]
AUT location you can find this way:
get-java-property "osgi.install.area"
You can add it to procedure and then add the procedure to ECL context.
Do you want to manipulate with files somehow? You may use folder context for that. In RCPTT it is the most convenient way to prepare files on filesystem.
Yours sincerely,
Olga.
|
|
|
Powered by
FUDForum. Page generated in 0.23780 seconds