From 62bd02edbff24b487e49bbb47e93fe06a7ffb160 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Tue, 20 May 2008 18:23:45 +0000
Subject: [PATCH] Fix SNMP tests execution issue on Windows
---
opends/tests/shared/functions/topology.xml | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/opends/tests/shared/functions/topology.xml b/opends/tests/shared/functions/topology.xml
index a4bfee0..e92311d 100755
--- a/opends/tests/shared/functions/topology.xml
+++ b/opends/tests/shared/functions/topology.xml
@@ -378,19 +378,22 @@
'name' : 'STAF/Config/STAFRoot'
}
</call>
- <script>jstaf_jarfile = '%s/lib/JSTAF.jar' % STAFResult</script>
+ <script>jstaf_jarfile='%s/lib/JSTAF.jar' % STAFResult</script>
<!--- Compile snmp java files on controler host -->
<message>
'Compile Java files under %s on %s' \
% (javaLocalDir, STAXServiceMachine)
</message>
+ <script>
+ opends_jarfile='%s/%s' % (TMPDIR,SNMP_OPENDS_JARFILE)
+ </script>
<call function="'compileJava'" >
{
'location' : STAXServiceMachine,
'foldername' : javaLocalDir,
- 'classpath' : '%s/%s:%s:%s' \
- % (TMPDIR,SNMP_OPENDS_JARFILE, SNMP_OPENDMK_JARFILE, jstaf_jarfile)
+ 'classpath' : '%s%s%s%s%s' \
+ % (opends_jarfile,pathSeparator,SNMP_OPENDMK_JARFILE,pathSeparator,jstaf_jarfile)
}
</call>
--
Gitblit v1.10.0