|
From: <fab...@us...> - 2009-07-14 22:53:16
|
Revision: 4632
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4632&view=rev
Author: fabiomaulo
Date: 2009-07-14 22:53:11 +0000 (Tue, 14 Jul 2009)
Log Message:
-----------
Merge r4631
Modified Paths:
--------------
trunk/nhibernate/default.build
trunk/nhibernate/doc/documentation.build
trunk/nhibernate/doc/reference/reference.build
Added Paths:
-----------
trunk/nhibernate/doc/NHibernate.shfbproj.template
Modified: trunk/nhibernate/default.build
===================================================================
--- trunk/nhibernate/default.build 2009-07-14 22:46:00 UTC (rev 4631)
+++ trunk/nhibernate/default.build 2009-07-14 22:53:11 UTC (rev 4632)
@@ -156,6 +156,11 @@
description="Builds the Help Documentation">
<nant buildfile="doc/documentation.build" target="manual" />
</target>
+
+ <target name="api" depends="init binaries"
+ description="Builds the API Documentation">
+ <nant buildfile="doc/documentation.build" target="api" />
+ </target>
<target name="build-all-frameworks" depends="init">
<!-- Save the current framework -->
@@ -299,7 +304,7 @@
<nant buildfile="src/NHibernate.Setup/NHibernate.Setup.build" target="msi" />
</target>
- <target name="package" depends="init set-release-project-configuration test binaries manual sources-zip binaries-zip"
+ <target name="package" depends="init binaries manual sources-zip binaries-zip"
description="Creates files for the File Release System on SourceForge">
<property name="dist.output.dir" value="${project::get-base-directory()}/build/" />
Added: trunk/nhibernate/doc/NHibernate.shfbproj.template
===================================================================
--- trunk/nhibernate/doc/NHibernate.shfbproj.template (rev 0)
+++ trunk/nhibernate/doc/NHibernate.shfbproj.template 2009-07-14 22:53:11 UTC (rev 4632)
@@ -0,0 +1,42 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+ <PropertyGroup>
+ <!-- The configuration and platform will be used to determine which
+ assemblies to include from solution and project documentation
+ sources -->
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{91f431cd-23fb-4ed4-a690-0344073c65f0}</ProjectGuid>
+ <SHFBSchemaVersion>1.8.0.0</SHFBSchemaVersion>
+ <!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual
+ Studio adds them anyway -->
+ <AssemblyName>Documentation</AssemblyName>
+ <RootNamespace>Documentation</RootNamespace>
+ <Name>Documentation</Name>
+ <!-- SHFB properties -->
+ <OutputPath>${doc.out.dir}</OutputPath>
+ <HtmlHelpName>NHibernateAPI</HtmlHelpName>
+ <HelpFileFormat>HtmlHelp1x</HelpFileFormat>
+ <CopyrightText>NHibernate</CopyrightText>
+ <CopyrightHref>www.nhforge.org</CopyrightHref>
+ <FeedbackEMailAddress>http://groups.google.com/group/nhibernate-development</FeedbackEMailAddress>
+ <FeedbackEMailLinkText>nhibernate team</FeedbackEMailLinkText>
+ <HelpTitle>NHibernate API Reference</HelpTitle>
+ <IndentHtml>False</IndentHtml>
+ <HelpFileVersion>${project.version.numeric}</HelpFileVersion>
+ <DocumentationSources>
+ <DocumentationSource sourceFile="${bin.dir}/Iesi.Collections.dll" />
+ <DocumentationSource sourceFile="${bin.dir}/Iesi.Collections.xml" />
+ <DocumentationSource sourceFile="${bin.dir}/NHibernate.dll" />
+ <DocumentationSource sourceFile="${bin.dir}/Nhibernate.xml" />
+ </DocumentationSources>
+ </PropertyGroup>
+ <!-- There are no properties for these two groups but they need to appear in
+ order for Visual Studio to perform the build. -->
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ </PropertyGroup>
+ <!-- Import the SHFB build targets -->
+ <Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" />
+</Project>
Modified: trunk/nhibernate/doc/documentation.build
===================================================================
--- trunk/nhibernate/doc/documentation.build 2009-07-14 22:46:00 UTC (rev 4631)
+++ trunk/nhibernate/doc/documentation.build 2009-07-14 22:53:11 UTC (rev 4632)
@@ -7,7 +7,6 @@
>
<property name="root.dir" value=".." />
- <include buildfile="${root.dir}/build-common/common.xml"/>
<include buildfile="${root.dir}/build-common/common-project.xml" />
<target name="init" depends="common.init">
@@ -22,7 +21,7 @@
<target name="clean" depends="init">
<nant target="clean" buildfile="reference/reference.build" />
<delete dir="${doc.out.dir}" />
- <delete file="NHibernate.ndoc" />
+ <delete file="NHibernate.shfbproj" />
</target>
<target name="manual" depends="init">
@@ -34,15 +33,15 @@
</nant>
</target>
- <target name="ndoc-project" depends="init">
- <copy file="NHibernate.ndoc.in" tofile="NHibernate.ndoc" overwrite="true">
+ <target name="apidocbuilder-project" depends="init">
+ <copy file="NHibernate.shfbproj.template" tofile="NHibernate.shfbproj" overwrite="true">
<filterchain>
<expandproperties />
</filterchain>
</copy>
</target>
- <target name="api" depends="init common.find-ndoc ndoc-project" description="Generates the API documentation (in MSDN style and VS.NET 2003 if available)">
+ <target name="api" depends="init apidocbuilder-project" description="Generates the API documentation (in MSDN style and VS.NET 2005 if available)">
<uptodate property="api.uptodate">
<sourcefiles>
<include name="${bin.dir}/*.dll" />
@@ -57,14 +56,10 @@
<echo if="${api.uptodate}">API documentation is up to date, skipping generation step.</echo>
<if test="${not api.uptodate}">
- <exec program="${ndoc-console}">
- <arg line="-documenter=MSDN-Help2" />
- <arg line="-project=NHibernate.ndoc" />
+ <property name="apidocbuilder.exe" value="${directory::get-parent-directory(environment::get-folder-path('System'))}\Microsoft.NET\Framework\v3.5\MSBuild.exe" />
+ <exec program="${apidocbuilder.exe}">
+ <arg line="NHibernate.shfbproj" />
</exec>
- <exec program="${ndoc-console}">
- <arg line="-documenter=MSDN-CHM" />
- <arg line="-project=NHibernate.ndoc" />
- </exec>
</if>
</target>
Modified: trunk/nhibernate/doc/reference/reference.build
===================================================================
--- trunk/nhibernate/doc/reference/reference.build 2009-07-14 22:46:00 UTC (rev 4631)
+++ trunk/nhibernate/doc/reference/reference.build 2009-07-14 22:53:11 UTC (rev 4632)
@@ -12,7 +12,7 @@
<property name="lang" value="en" />
<property name="output.dir" value="${build.dir}/doc" />
- <property name="output.html.basename" value="NHibernate.Documentation" />
+ <property name="output.html.basename" value="NHibernate.Reference" />
<property name="output.help2.dir" value="${output.dir}/help2" />
<property name="build.html.dir" value="${output.dir}" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|