From 19b0f2029f055584e6ae21cfa6c0a914f300cd6c Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 08 Sep 2009 22:12:56 +0000
Subject: [PATCH] Fix for issue 4215 (cannot "setup" with 200 generate entries when the root path is too long) Remove the CLASSPATH variable from the environment to launch the import, this way the resulting command launched by import-ldif is shorter.  Anyway we have to assume that this batch file approach has some limits in terms of the lenght of the path.

---
 opends/src/quicksetup/org/opends/quicksetup/installer/InstallerHelper.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/InstallerHelper.java b/opends/src/quicksetup/org/opends/quicksetup/installer/InstallerHelper.java
index 4cd5a5e..baecd66 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/InstallerHelper.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/InstallerHelper.java
@@ -154,6 +154,7 @@
     Map<String, String> env = pb.environment();
     env.remove(SetupUtils.OPENDS_JAVA_HOME);
     env.remove(SetupUtils.OPENDS_JAVA_ARGS);
+    env.remove("CLASSPATH");
     pb.directory(installPath);
     Process process = null;
     try

--
Gitblit v1.10.0