From 47075ba2acb72e7e98a93b9c96573589a7b169d6 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Mon, 28 Jun 2010 15:16:10 +0000
Subject: [PATCH] Add nightly build targets

---
 opendj-sdk/sdk/build.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/sdk/build.xml b/opendj-sdk/sdk/build.xml
index af2b296..97fd7c8 100755
--- a/opendj-sdk/sdk/build.xml
+++ b/opendj-sdk/sdk/build.xml
@@ -1159,4 +1159,22 @@
             <zipfileset dir="${srcgen.dir}" filemode="644" dirmode="755" />
         </zip>
     </target>
+    <!-- The build target that should be used for nightly builds. -->
+    <target name="nightly"
+       depends="nightlybuild,nightlytests"
+       description="Perform all processing needed for nightly builds.">
+    </target>
+
+    <!-- The build target that should be used for build part of nightly builds. -->
+    <target name="nightlybuild"
+       depends="package,checkprecommit,checkstyle,srczip,javadoc"
+       description="Perform all processing related to build  for nightly builds.">
+    </target>
+
+    <!-- The build target that should be used for test part of nightly builds. -->
+    <target name="nightlytests"
+       depends="testwithcoverage"
+       description="Perform all processing related to unit tests for nightly builds.">
+    </target>
+
 </project>

--
Gitblit v1.10.0