]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
Use class loader to get som.xml.
authorrkv <rkv@opencascade.com>
Fri, 16 Nov 2012 13:14:42 +0000 (13:14 +0000)
committerrkv <rkv@opencascade.com>
Fri, 16 Nov 2012 13:14:42 +0000 (13:14 +0000)
Workspace/Siman-Common/src/test/splat/service/TestScenarioService.java

index bd31ec3f2f710e8eed2aac026f65a5b8d063f022..1f0e41d1158d5185cd89cb981f9a7c8f61368449 100644 (file)
@@ -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);
                }