mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
BDE-73
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user