Return-Path:
X-Original-To: apmail-logging-commits-archive@minotaur.apache.org
Delivered-To: apmail-logging-commits-archive@minotaur.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id 816311064B
for ;
Mon, 22 Apr 2013 14:50:29 +0000 (UTC)
Received: (qmail 85398 invoked by uid 500); 22 Apr 2013 14:50:29 -0000
Delivered-To: apmail-logging-commits-archive@logging.apache.org
Received: (qmail 85378 invoked by uid 500); 22 Apr 2013 14:50:29 -0000
Mailing-List: contact commits-help@logging.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@logging.apache.org
Delivered-To: mailing list commits@logging.apache.org
Received: (qmail 85371 invoked by uid 99); 22 Apr 2013 14:50:29 -0000
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2013 14:50:29 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2013 14:50:27 +0000
Received: from eris.apache.org (localhost [127.0.0.1])
by eris.apache.org (Postfix) with ESMTP id 672F823889FA;
Mon, 22 Apr 2013 14:50:06 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r1470559 -
/logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm
Date: Mon, 22 Apr 2013 14:50:06 -0000
To: commits@logging.apache.org
From: ggregory@apache.org
X-Mailer: svnmailer-1.0.8-patched
Message-Id: <20130422145006.672F823889FA@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: ggregory
Date: Mon Apr 22 14:50:06 2013
New Revision: 1470559
URL: http://svn.apache.org/r1470559
Log:
Better instructions for site generation.
Modified:
logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm
Modified: logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm?rev=1470559&r1=1470558&r2=1470559&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm Mon Apr 22 14:50:06 2013
@@ -19,13 +19,13 @@
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
- Build and Use
+ Building and Using Log4J
-
+
-
+
Log4j 2.x is hosted in the Apache Software Foundation's subversion repository. Details on obtaining the
most current source code can be found at
@@ -33,9 +33,31 @@
obtained by downloading it using the instructions at Log4j Downloads.
- Log4j 2.x uses Maven 2 or 3 as its build tool. To build Log4j simply run "mvn install" from the root
- directory. Then to build the site, run "mvn site". To rebuild only what's changed and execute the tests, run
- "mvn test". To rebuild from scratch, add "clean", for example: "mvn clean test".
+ Log4j 2.x uses Maven 2 or 3 as its build tool. To build and install Log4j in your local Maven cache, from
+ the root directory run:
+
+
+
mvn install
+
+
+ Then to build the full site, you must use a local staging directory:
+
+
+
mvn site
+[Windows] mvn site:stage-deploy -DstagingSiteURL=file:///%HOME%/log4j
+[Unix] mvn site:stage-deploy -DstagingSiteURL=file:///$HOME/log4j
+
+
+ To rebuild only what's changed and execute the tests, run:
+
+
+
mvn test
+
+
+ To rebuild from scratch, add "clean", for example:
+
+
+
mvn clean test