From c7aed188e164769d2bb273c057c275253e563023 Mon Sep 17 00:00:00 2001
From: fguigues <fguigues@localhost>
Date: Thu, 03 Sep 2009 13:24:07 +0000
Subject: [PATCH] Fix 4045 : start-ds -F doesn't return snmp build info

---
 opendj-sdk/opends/build.xml                                  |    7 +++++++
 opendj-sdk/opends/src/snmp/resource/admin/extension.manifest |    0 
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/build.xml b/opendj-sdk/opends/build.xml
index 54337f3..ba52b19 100644
--- a/opendj-sdk/opends/build.xml
+++ b/opendj-sdk/opends/build.xml
@@ -156,6 +156,7 @@
   <property name="snmp.mib.dir"      location="src/snmp/resource/mib" />
   <property name="snmp.security.dir" location="src/snmp/resource/security" />
   <property name="snmp.config.dir"   location="src/snmp/resource/config" />
+  <property name="snmp.resource.dir" location="src/snmp/resource" />
   <property name="snmp.gen.dir"      location="src/snmp/generated" />
   <property name="snmp.src.dir"      location="src/snmp/src" />
 
@@ -2544,6 +2545,12 @@
         <attribute name="Revision-Number" value="${REVISION_NUMBER}"/>
       </manifest>
     </jar>
+    <!-- Add admin/extension.manifest into the extension jar file -->
+    <jar jarfile="${pdir}/lib/extensions/snmp-mib2605.jar"
+         basedir="${snmp.resource.dir}"
+         includes="admin/**"
+         compress="true" index="true" update="yes">
+    </jar>
     <echo message="SNMP Extension is built"/>
     <echo message="${pdir}/lib/extensions/snmp-mib2605.jar"/>
   </target>
diff --git a/opendj-sdk/opends/src/snmp/resource/admin/extension.manifest b/opendj-sdk/opends/src/snmp/resource/admin/extension.manifest
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/opendj-sdk/opends/src/snmp/resource/admin/extension.manifest

--
Gitblit v1.10.0