You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by js...@apache.org on 2006/07/28 15:52:41 UTC
svn commit: r426534 - in /incubator/activemq/trunk/activemq-dotnet:
README.txt nant.build
Author: jstrachan
Date: Fri Jul 28 06:52:41 2006
New Revision: 426534
URL: http://svn.apache.org/viewvc?rev=426534&view=rev
Log:
automatically copy the generated documentation to the website checkout (ready for deploying) and added a little readme to describe how to use NAnt
Added:
incubator/activemq/trunk/activemq-dotnet/README.txt
Modified:
incubator/activemq/trunk/activemq-dotnet/nant.build
Added: incubator/activemq/trunk/activemq-dotnet/README.txt
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-dotnet/README.txt?rev=426534&view=auto
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/README.txt (added)
+++ incubator/activemq/trunk/activemq-dotnet/README.txt Fri Jul 28 06:52:41 2006
@@ -0,0 +1,32 @@
+Welcome to the NMS API and the .Net Client for Apache ActiveMQ
+==============================================================
+
+For more information see http://incubator.apache.org/activemq/nms.html
+
+
+
+To build the code using NAnt type
+
+ nant
+
+To run the unit tests you need to run an Apache ActiveMQ Broker first then type
+
+ nant test
+
+To generate the documentation type
+
+ nant doc
+
+Assuming that you have checked out the ActiveMQ code and the Site in peer directories such as
+
+
+activemq/
+ activemq-dotnet/
+
+activemq-site/
+ nms/
+ ndoc/
+
+So that generating the ndoc will copy the generate content into the ndoc directory so it can be deployed on the Apache website.
+
+
Modified: incubator/activemq/trunk/activemq-dotnet/nant.build
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-dotnet/nant.build?rev=426534&r1=426533&r2=426534&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-dotnet/nant.build (original)
+++ incubator/activemq/trunk/activemq-dotnet/nant.build Fri Jul 28 06:52:41 2006
@@ -41,6 +41,7 @@
<property name="build.debug" value="true" />
<property name="build.dir"
value="${project::get-base-directory()}/build/${framework::get-target-framework()}.${platform::get-name()}/${project.name}-${project.version}-${project.config}" />
+ <property name="site.dir" value="../../activemq-site/nms/ndoc" />
</target>
<target name="release" description="Perform a 'release' build">
@@ -200,9 +201,9 @@
-->
</csc>
</target>
-
+
<target name="doc" depends="build-main">
- <ndoc>
+ <ndoc failonerror="false">
<assemblies basedir="${build.dir}">
<include name="bin/${project.name}.dll" />
</assemblies>
@@ -219,12 +220,12 @@
<property name="SplitTOCs" value="False" />
<property name="DefaulTOC" value="" />
<!--
- <property name="ShowVisualBasic" value="True" />
- <property name="ShowMissingSummaries" value="True" />
- <property name="ShowMissingRemarks" value="True" />
- <property name="ShowMissingParams" value="True" />
- <property name="ShowMissingReturns" value="True" />
- <property name="ShowMissingValues" value="True" />
+ <property name="ShowVisualBasic" value="True" />
+ <property name="ShowMissingSummaries" value="True" />
+ <property name="ShowMissingRemarks" value="True" />
+ <property name="ShowMissingParams" value="True" />
+ <property name="ShowMissingReturns" value="True" />
+ <property name="ShowMissingValues" value="True" />
-->
<property name="DocumentInternals" value="False" />
<property name="DocumentProtected" value="True" />
@@ -236,9 +237,18 @@
</documenter>
</documenters>
</ndoc>
+
+ <echo>Copying documentation to ${site.dir}</echo>
+ <mkdir dir="${site.dir}" />
+
+ <copy todir="${site.dir}">
+ <fileset basedir="${build.dir}/doc/ndoc_msdn_temp">
+ <include name="*.*" />
+ </fileset>
+ </copy>
</target>
-
-
+
+
<target name="build-test" depends="create-common-assemblyinfo, build-main">
<csc target="library" define="${current.build.defines}" warnaserror="false" debug="${build.debug}"
output="${build.dir}/bin/${project.name}.test.dll">
@@ -271,7 +281,7 @@
</target>
<target name="build" depends="build-test"></target>
-
+
<target name="test" depends="build-test">
<nunit2>
<formatter type="Plain" />