Hi,
I do also use a project setup script that will import properties from a file (called YYYYY.properties). This should do it.
def props = new Properties()
def projectpath = project.path
//replace the path with your file name below. use / instead of \ as path separator even on windows platform.
new File(projectpath+"/XXXXX/YYYYY.properties").withInputStream { s ->
props.load(s)
}
props.each {
project.setPropertyValue(it.key, it.value)
}
//I also write down the project path into the global properties (just in case)
project.setPropertyValue("projectpath", projectpath)
com.eviware.soapui.SoapUI.globalProperties.setPropertyValue( "projectpathXXXX", projectpath )