From 540304eeec51e9279675e2f3028d044f958f11a0 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Tue, 20 Mar 2007 15:39:55 +0000
Subject: [PATCH] Updated various issues related to the debug logging framework: - Fixed a bug where debug logs are not included on unit test failures. - Weaving is only enabled for targets that run unit-tests (all, weekly, nightly, test, testall, testwithcoverage, testallwithcoverage). - Weaving is disabled for test targets that use test.methods, test.classes, or test.packages properties to specify a smaller set of tests to run. - Weaving is now controlled by the WEAVE_ENABLED property on build instead of DEBUG_BUILD. Use this property to override the default weaving behaviour for any target. - Added package-info.java to the server.loggers.debug package. - Fixed a bug where logger is not enabled when configured with an enabled configuration. - Added supress warning annotations to debug advices. No more advice not matched warnings when weaving.

---
 opends/resource/DynamicConstants.java.stubs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/opends/resource/DynamicConstants.java.stubs b/opends/resource/DynamicConstants.java.stubs
index 7d29305..c254d3d 100644
--- a/opends/resource/DynamicConstants.java.stubs
+++ b/opends/resource/DynamicConstants.java.stubs
@@ -117,6 +117,12 @@
   public static final long REVISION_NUMBER = ${REVISION_NUMBER};
 
   /**
+   * Indicates wheater this build includes AspectJ weaving for the debug logging
+   * framework.
+   */
+  public static final boolean WEAVE_ENABLED = ${WEAVE_ENABLED};
+
+  /**
    * A compact version string for this product, suitable for use in path
    * names and similar cases.
    */

--
Gitblit v1.10.0