Forum Discussion

ptweimer's avatar
17 years ago

<con:setting id="ProjectSettings@projectRoot">.</con:setting> being overwritten

Does anyone know how to prevent from being overwritten with tehe absolute path upon exiting SoapUI?

4 Replies

  • Hi Paul,


    That project setting has actually been removed, meaning it is no longer saved in soapUI project files in soapUI 2.5.x nightly builds and 3.0 beta version.

    What version of soapUI are you using?


    Cheers!
    /Nenad Nikolic a.k.a. Shonzilla
  • jmetzger's avatar
    jmetzger
    New Contributor
    I think the setting we care about is in the workspace file, not the project file.

    I work with the same group as Paul, and have the same interest in the question.  Our group wishes to use a common version of a workspace file by checking it into our source repository.  The problem occurs because we do not have a standard place on our machines for the local version of the repository.  Hence Paul's project root may resolve to C:\OpenPath\InternalUse\SoapUIProjects, while my project root should be C:\j-h\OPSource\OpenPath\InternalUse\SoapUIProjects.  It appears that there is a variable called ${workspaceDir} which hopefully could be different by user/machine.  I tried setting an environment variable with this name, but it didn't work.

    How can we set this up so that we can all use the same workspace file with differing values of projectRoot?
  • Hi!

    the idea is that you should be able to do as follows:

    1) set the project-root property of the workspace to ${workspaceDir}, this will save all project paths relative to the location of the workspace file itself
    2) save your projects in the same folder as the workspace file

    with this setup your project paths should be saved just as "myproject.xml", "CompositeProject", etc..

    There was actually a bug related to this that has been fixed in one of the recent nightly builds, if the above doesn't work out please try upgrading to see if it helps!?

    And don't hesitate to post again in any case :-)

    regards!

    /Ole
    eviware.com