Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
16 years ago

specifying relative path in settings file

Hello,
I am using multiple settings file to point to different variations of my script library. Currently I explicity specify the library location. Is there any way to specify that the scripts are the in same directory as the settings file.

so I have these directories, each of which has its own settings.xml
C:\scripts_integration
C:\script_QA
C:\script_prod

each of them contain something like this
C:\scripts_integration
I want to say something like this
each of them contain something like this
same folder as this file
Thanks

Ali

4 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Ali,

    I've added the possibility to use property-expansion in the script-library field in the upcoming nightly build. Using the new system-property related features, you could enter

    ${#System#scriptlibrary.path}

    and then define the scriptlibrary.path variable at the command-line with

    -Dscriptlibrary.path=...

    Does that help?

    regards!

    /Ole
    eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    Hi Ole,
    We are still one 2.0.3. any chances of releasing this functionality for 2.0.3 ?

    Thanks

    Ali
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Ali,

    hmm.. 2.0.3 was never officially released and is more or less a precursor to 2.5. Do you have a build-date for the version you are using? (check the about dialog)

    regards!

    /Ole
    eviware.com