Add web-service-client project
   Allow to override the location of test resources using a system property


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@39743 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Samuel Langlois
2012-07-25 14:11:36 +00:00
parent e41c921df2
commit b7b3e48342

View File

@@ -627,9 +627,9 @@ public class Schema2XFormsTest
throws Exception
{
final ChibaBean chibaBean = new ChibaBean();
chibaBean.setConfig(this.getResourcesDir() + File.separator +
".." + File.separator +
"web" + File.separator +
String webResourceDir = System.getProperty("alfresco.web.resources.dir",
this.getResourcesDir() + File.separator + ".." + File.separator + "web");
chibaBean.setConfig(webResourceDir + File.separator +
"WEB-INF" + File.separator + "chiba.xml");
chibaBean.setXMLContainer(xformsDocument);
chibaBean.init();
@@ -676,4 +676,4 @@ public class Schema2XFormsTest
: Integer.parseInt(bindElement.getAttributeNS(NamespaceConstants.XFORMS_NS, "maxOccurs")))
: 1);
}
}
}