Return-Path: X-Original-To: apmail-logging-log4net-dev-archive@www.apache.org Delivered-To: apmail-logging-log4net-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 296BF7A11 for ; Sat, 10 Sep 2011 05:02:54 +0000 (UTC) Received: (qmail 69423 invoked by uid 500); 10 Sep 2011 05:02:52 -0000 Delivered-To: apmail-logging-log4net-dev-archive@logging.apache.org Received: (qmail 69267 invoked by uid 500); 10 Sep 2011 05:02:40 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" List-Id: Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 69247 invoked by uid 99); 10 Sep 2011 05:02:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Sep 2011 05:02:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Sep 2011 05:02:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CB5928DE97 for ; Sat, 10 Sep 2011 05:02:08 +0000 (UTC) Date: Sat, 10 Sep 2011 05:02:08 +0000 (UTC) From: "Stefan Bodewig (JIRA)" To: log4net-dev@logging.apache.org Message-ID: <645071555.12700.1315630928829.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (LOG4NET-117) Migrate web content generation of Maven 2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LOG4NET-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Bodewig resolved LOG4NET-117. ------------------------------------ Resolution: Fixed For now I was content with the smaller goal of generating the site with mvn. All the rest stayed where it used to be. > Migrate web content generation of Maven 2.0 > ------------------------------------------- > > Key: LOG4NET-117 > URL: https://issues.apache.org/jira/browse/LOG4NET-117 > Project: Log4net > Issue Type: Task > Components: Builds > Reporter: Curt Arnold > Assignee: Stefan Bodewig > Fix For: 1.2.11 > > > The other LS projects have been migrating to Maven 2.0 for documentation generation and deployment, packaging and, for the Java projects, build and dependency management. Migrating log4net would complete the migration and would allow consistency between the web content of the various projects. > The initial commit overlays the existing source code struction with fragments of the Maven Standard Directory Layout,. The following directories are added: > src/assembly - release packaging info, includes assembly.bin borrowed from another project. > src/changes - project change list. Includes sample changes.xml. log4cxx has an XSLT transform that can generate changes.xml from a downloaded JIRA issue list. Used to generate change-report.html. > src/site - documentation source files, site.xml contains navigation and layout details for all generated pages > src/site/apt - web content in Maven's APT (almost plain text) format > src/site/resources - static content copied over without processing > src/site/xdoc - XDoc content, I copied the existing xdocs content here, but deleted a few no longer needed pages > The existing C# code in src should be relocated to src/main/cs and the build and project files appropriately changed. For extra credit, the following relocations would bring the layout closer to a typical Maven layout: > change log4net.build to generate DLL's in target (maybe target\bin) instead of bin > svn rm docs > svn mv examples src/examples > svn mv extensions src/extensions > svn mv tests/src src/test/cs > svn mv tests/nant.build src/test/nant.build (modified to build test DLL's in target) > svn rm xdocs > pom.xml - Maven project descriptor, contains info used to generate much of the web content > After installing Maven 2.0.7 (which requires a JDK 1.4 or later). Running mvn site will generate the web content in target/site/index.html. > mvn site-deploy should deploy the content to the logging/site/trunk/docs SVN for staging before going live on logging.apache.org. The implementation of site-deploy uses Maven to generate the web content, invoke Nant to checkout the existing content, uses Maven's SCP deployment to copy the generated content over the existing content, and then invokes Nant to set svn:mime-type and finally commit the changes. The deployment stalled on the commit when run from Maven, but if I ctrl+c'd the process and then manually "svn commit", the changes were processed. > I set up a Windows build environment but ran into problems with both NUnit and NDoc that I wasn't able to get around. Setting up the SSHD to receive the "uploaded" web content before deployment was also less than ideal. It may be simpler to add mono, ndoc and nant to the VM used to build the other LS projects for web creation. I have left stubs that should have published the API docs if I had been successful getting them from NDoc. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira