The xdocs are built using velocity templates derived from the
logging.apache.org/site templates. Therefore they are actually built in
Java using Velocity and Ant. The build file is not compatible with NAnt.
The build.xml file could do with a large comment to warn users of this
anomaly.

It would be possible to change over to using NAnt and NVelocity but the
templates would need to be rewritten to use .NET APIs rather than Java
ones. I am already rather dissatisfied with the Velocity templates and
rather than converting them into .NET versions I would much rather
change over to using XSLT templates. 

Cheers,
Nicko

> -----Original Message-----
> From: Ron Grabowski [mailto:[EMAIL PROTECTED] 
> Sent: 26 February 2006 04:17
> To: log4net-dev@logging.apache.org
> Subject: /log4net/xdocs/build.xml - build failed
> 
> Is NAnt 0.85rc3 the recommended NAnt version to build things? 
> build.cmd compiled everything ok but this failed:
> 
> "
> C:\Projects\log4net\xdocs>nant /f:build.xml NAnt 0.85 (Build 
> 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry 
> Shaw http://nant.sourceforge.net
> 
> Buildfile: file:///C:/Projects/log4net/xdocs/build.xml
> Target framework: Microsoft .NET Framework 1.1
> Target(s) specified: site
> 
> 
> BUILD FAILED
> 
> C:\Projects\log4net\xdocs\build.xml(10,3):
> The <path> type does not support the nested build element \"fileset\".
> 
> Total time: 0 seconds.
> "
> 
> Here's the documentation for the path element:
> 
>  http://nant.sourceforge.net/release/latest/help/types/path.html
> 
> This is the element that is failing:
> 
>  <path id="site.classpath">
>   <fileset dir="${logging-site}/lib">
>    <include name="*.jar" />
>   </fileset>
>  </path>
> 
> According to the documentation, a path node can only contain 
> a pathelement node. A pathelement cannot contain a fileset node.
> 
> These changes would be for LOG4NET-63.
> 

Reply via email to