Forum Discussion

CLewis's avatar
CLewis
Occasional Contributor
17 years ago

Pretty Print project xmls?

Would it be possible to save the project xmls with "pretty print"?

I ask because we have an automated monitor tool built around soap-ui. Developers create their test cases and check them into CVS, which are pulled onto the test machine by ant.
The problem is that when using ws-security, the keystore paths are absolute and have to be replaced. 

This isn't an issue if there's only one. . I have a regex to do it. However the regex doesn't work correctly when there are multiple, because they are all on the same "line". . .as is a large percentage of the configuration file.

I can fix it by hand and putting each element on a seperate line.

Thanks,
Cory

3 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Cory,

    there is actually a setting for this in the Preferences\WSDL Settings tab (at the bottom), have a go and let me know if it does what you needed..

    regards,

    /Ole
    eviware.com
  • CLewis's avatar
    CLewis
    Occasional Contributor
    Hey, how bout that. Awesome.

    Thanks Ole.
  • omatzura's avatar
    omatzura
    Super Contributor
    Great!

    Also, the upcoming version will be able to handle keystore-files stored relative to the project file/folder, so you shouldn't be required to do this kind of post-processing..

    regards!

    /Ole
    eviware.com