From ef8f2835a4de081a7891a7f54b0867cdd99fd967 Mon Sep 17 00:00:00 2001
From: al_xipe <al_xipe@localhost>
Date: Mon, 14 May 2007 14:52:22 +0000
Subject: [PATCH] Added debug option for the STAX gui

---
 opendj-sdk/opends/tests/functional-tests/staf-installer.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/staf-installer.xml b/opendj-sdk/opends/tests/functional-tests/staf-installer.xml
index 6adf8e0..377774b 100644
--- a/opendj-sdk/opends/tests/functional-tests/staf-installer.xml
+++ b/opendj-sdk/opends/tests/functional-tests/staf-installer.xml
@@ -34,7 +34,7 @@
   <dirname file="${basedir}/.." property="project.home"/>
   
   <!-- installer wide settings - top -->
-    <property file="${project.home}//PRODUCT"/>
+    <property file="${project.home}/PRODUCT"/>
     <property name="product.name"
               value="${SHORT_NAME}-${MAJOR_VERSION}.${MINOR_VERSION}" />
     <!-- load user properties first if they have been set -->
@@ -282,13 +282,13 @@
   <target name="gui"
           depends="status-do"
           description="brings up the stax gui" >
-    <!--
-    <echo>${java.home}/bin/java -classpath ${staf.install.dir}/services/stax/STAXMon.jar${path.separator}${staf.lib.dir}/JSTAF.jar</echo>
-    -->
+    <condition property="gui.spawn" value="false" else="true">
+      <isset property="DEBUG"/>
+    </condition>
     <exec
       dir="${staf.install.dir}"
       executable="${java.home}/bin/java"
-      spawn="true">
+      spawn="${gui.spawn}">
       <env key="${path.var}" path="${java.home}${file.separator}bin${path.separator}${staf.install.dir}${file.separator}bin${path.separator}${path.current}"/>
       <env key="LD_LIBRARY_PATH" path="${staf.lib.dir}"/>
       <env key="CLASSPATH" path="${staf.lib.dir}/JSTAF.jar${path.separator}${e.CLASSPATH}"/>

--
Gitblit v1.10.0