Forum Discussion

infomaven's avatar
infomaven
Occasional Contributor
12 years ago

Cross Platform: sharing projects between windows and others

Has anyone tried creating a SOAPUI project on one platform and then using it on a different platform?

I'm considering doing this with window 7 and a macbook.
  • SiKing's avatar
    SiKing
    Community Expert
    Yes. I create my projects on Windows and run them on Jenkins/Maven/Linux without problems.
    Make sure that any resources you are specifying use relative paths and UNIX denominators ("/" instead of "\").
  • nmrao's avatar
    nmrao
    Champion Level 3
    @infomaven, do not face any issues while using across the plotforms, please follow as SiKing rightly pointed.
  • nmrao's avatar
    nmrao
    Champion Level 3
    In groovy scripts, when required to use separator

    def SEP=java.io.File.separator


    And some times need to call external java programs where it can have classpath with multiple jar files the following piece of groovy can be used

    def colon = null
    if (System.properties['os.name'].toLowerCase().contains('windows')) {
    colon = ';'
    } else {
    colon = ':'
    }


    for eg, there are two libraries needs to be included
    def USER_CLASSPATH=<somepath>+SEP+library1.jar+colon+<somepath>+SEP+library2.jar