From: rkv Date: Fri, 16 Nov 2012 13:14:42 +0000 (+0000) Subject: Use class loader to get som.xml. X-Git-Tag: Root_Delivery1_2012_12_06~64 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a519fc386e872a6ed9d6407b174bd2f9a9eac00b;p=tools%2Fsiman.git Use class loader to get som.xml. --- diff --git a/Workspace/Siman-Common/src/test/splat/service/TestScenarioService.java b/Workspace/Siman-Common/src/test/splat/service/TestScenarioService.java index bd31ec3..1f0e41d 100644 --- a/Workspace/Siman-Common/src/test/splat/service/TestScenarioService.java +++ b/Workspace/Siman-Common/src/test/splat/service/TestScenarioService.java @@ -239,7 +239,7 @@ public class TestScenarioService extends BaseTest { // Load workflow customization try { - _projectSettings.configure("src/test/som.xml"); + _projectSettings.configure(ClassLoader.getSystemResource("test/som.xml").getPath()); } catch (FileNotFoundException e) { Assert.fail("Can't find som.xml: ", e); }