cancel
Showing results for 
Search instead for 
Did you mean: 

Using relative paths in project files

Highlighted
Contributor

Using relative paths in project files

My soapui-project.xml files have absolute paths to wsdl and xsd files. How do I change this so that only relative paths are used? or can I use some sort of properties file instead to save paths to directories?
3 REPLIES 3
Highlighted
Super Contributor

Re: Using relative paths in project files

Hi!

If you set the "Resource Root" property on the project level, all relevant file paths in your project (property files, datasources, etc) will be saved relative to that path (existing ones will not be converted though, you will have to "re-configure" them).

regards!

/Ole
eviware.com
Highlighted
Contributor

Re: Using relative paths in project files

Can I use a variable for the 'Resource Root' value, like ${projectDir}?
Then all relative filename can be relative to the project root directory.
This would be particularly useful for "composite projects". Please advise. Thanks.
Highlighted
Contributor

Re: Using relative paths in project files

Yes. Looks like this was a previously answered question.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors