From 2d6a52015506f1d5a30f9b25ceab8990a26ec0b3 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Wed, 12 Jan 2011 20:44:44 +0000
Subject: [PATCH] Fix build issue aroung generation of snmp MIB when the project path contains space. Found and corrected by Peter Major. 

---
 opendj-sdk/opends/build.xml |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/opendj-sdk/opends/build.xml b/opendj-sdk/opends/build.xml
index 451802e..eb5e651 100644
--- a/opendj-sdk/opends/build.xml
+++ b/opendj-sdk/opends/build.xml
@@ -23,6 +23,7 @@
  !
  !
  !      Copyright 2006-2010 Sun Microsystems, Inc.
+ !      Portions Copyright 2011 ForgeRock AS
  ! -->
 
 <project name="Directory Server" basedir="." default="package">
@@ -2477,10 +2478,10 @@
     <exec dir="${snmp.mib.dir}" executable="java">
       <arg line="-classpath ${opendmktk.path}
         com.sun.jdmk.tools.MibGen -X:use-display-hint
-        -d ${snmp.gen.dir}/org/opends/server/snmp -mc -desc
-        -tp org.opends.server.snmp ${snmp.mib.dir}/rfc2605.txt
-        ${snmp.mib.dir}/mib_core.txt
-        ${snmp.mib.dir}/rfc2021.txt ${snmp.mib.dir}/rfc2788.txt"/>
+        -d &quot;${snmp.gen.dir}/org/opends/server/snmp&quot; -mc -desc
+        -tp org.opends.server.snmp &quot;${snmp.mib.dir}/rfc2605.txt&quot;
+        &quot;${snmp.mib.dir}/mib_core.txt&quot;
+        &quot;${snmp.mib.dir}/rfc2021.txt&quot; &quot;${snmp.mib.dir}/rfc2788.txt&quot;"/>
     </exec>
   </target>
 

--
Gitblit v1.10.0