From c8a995f6aefd8d25ce70eef7671f5e51b6e531c4 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 17 May 2013 13:58:41 +0000
Subject: [PATCH] OPENDJ-842 (CR-1699) On Windows, the setup command hangs when the length of the install path is too long
---
opendj-sdk/opends/build.xml | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/build.xml b/opendj-sdk/opends/build.xml
index a0af7c2..d862db4 100644
--- a/opendj-sdk/opends/build.xml
+++ b/opendj-sdk/opends/build.xml
@@ -1136,7 +1136,23 @@
</copy>
<antcall target="package-snmp" />
-
+
+ <!-- Build the bootstrap jar that avoids getting the error message "The input line is too long" on Windows -->
+ <manifestclasspath property="manifest.classpath"
+ jarfile="${pdir}/lib/bootstrap.jar">
+ <classpath>
+ <fileset dir="${pdir}/lib">
+ <include name="*.jar" />
+ </fileset>
+ </classpath>
+ </manifestclasspath>
+ <jar jarfile="${pdir}/lib/bootstrap.jar">
+ <manifest>
+ <attribute name="Built-By" value="${user.name}" />
+ <attribute name="Class-Path" value="${manifest.classpath}" />
+ </manifest>
+ </jar>
+
<!-- Create buildinfo files -->
<echo message="${MAJOR_VERSION}.${MINOR_VERSION}.${POINT_VERSION}.${REVISION_NUMBER}"
file="${pdir}/template/config/buildinfo" />
--
Gitblit v1.10.0