Permalink
Browse files

syncing with Java version. Update to 6.5 client. Look at the beautifu…

…l EOL mismatches, lovely.
  • Loading branch information...
markpollack committed Dec 1, 2010
1 parent 154a5b0 commit 57406a8cd1c1d3382fe070652774ffcc8f5cb028
Showing with 167,478 additions and 167,522 deletions.
  1. +32 −32 Spring.Data.GemFire.sln
  2. +7 −7 build-release.cmd
  3. +8 −8 build.cmd
  4. +21 −21 changelog.txt
  5. +115 −115 doc/reference/docbook.build
  6. +82 −82 doc/reference/lib/docbook-xsl-snapshot/fo/highlight.xsl
  7. +389 −389 doc/reference/lib/docbook-xsl-snapshot/fo/springnet.xsl
  8. +100 −100 doc/reference/lib/docbook-xsl-snapshot/highlighting/c-hl.xml
  9. +122 −122 doc/reference/lib/docbook-xsl-snapshot/highlighting/common.xsl
  10. +149 −149 doc/reference/lib/docbook-xsl-snapshot/highlighting/cpp-hl.xml
  11. +188 −188 doc/reference/lib/docbook-xsl-snapshot/highlighting/csharp-hl.xml
  12. +199 −199 doc/reference/lib/docbook-xsl-snapshot/highlighting/delphi-hl.xml
  13. +44 −44 doc/reference/lib/docbook-xsl-snapshot/highlighting/ini-hl.xml
  14. +116 −116 doc/reference/lib/docbook-xsl-snapshot/highlighting/java-hl.xml
  15. +146 −146 doc/reference/lib/docbook-xsl-snapshot/highlighting/javascript-hl.xml
  16. +89 −89 doc/reference/lib/docbook-xsl-snapshot/highlighting/m2-hl.xml
  17. +117 −117 doc/reference/lib/docbook-xsl-snapshot/highlighting/myxml-hl.xml
  18. +119 −119 doc/reference/lib/docbook-xsl-snapshot/highlighting/perl-hl.xml
  19. +148 −148 doc/reference/lib/docbook-xsl-snapshot/highlighting/php-hl.xml
  20. +99 −99 doc/reference/lib/docbook-xsl-snapshot/highlighting/python-hl.xml
  21. +108 −108 doc/reference/lib/docbook-xsl-snapshot/highlighting/ruby-hl.xml
  22. +45 −45 doc/reference/lib/docbook-xsl-snapshot/highlighting/xslthl-config.xml
  23. +70 −70 doc/reference/lib/docbook-xsl-snapshot/html/highlight.xsl
  24. +251 −251 doc/reference/lib/docbook-xsl-snapshot/html/springnet.xsl
  25. +22 −22 doc/reference/lib/docbook-xsl-snapshot/htmlhelp/springnet.xsl
  26. BIN doc/reference/lib/docbook-xsl-snapshot/images/admons/Thumbs.db
  27. BIN doc/reference/lib/docbook-xsl-snapshot/images/callouts/Thumbs.db
  28. +83 −83 doc/reference/lib/fop-0.95/fop.bat
  29. +11 −11 doc/reference/lib/fop-0.95/lib/avalon-framework.NOTICE.TXT
  30. +17 −17 doc/reference/lib/fop-0.95/lib/xml-apis.LICENSE-SAX.html
  31. +74 −74 doc/reference/lib/fop-0.95/lib/xml-apis.LICENSE.DOM-documentation.html
  32. +66 −66 doc/reference/lib/fop-0.95/lib/xml-apis.LICENSE.DOM-software.html
  33. +116 −18 doc/reference/src/bootstrap.xml
  34. +32 −32 doc/reference/src/data.xml
  35. +98 −98 doc/reference/src/index.xml
  36. +12 −12 doc/reference/src/links.xml
  37. +19 −19 doc/reference/src/preface.xml
  38. +212 −212 doc/reference/src/samples.xml
  39. +282 −282 doc/reference/src/styles/html.css
  40. +30 −30 example/Spring.Data.Gemfire.HelloWorld/App.config
  41. +59 −59 example/Spring.Data.Gemfire.HelloWorld/ApplicationContext.xml
  42. +274 −274 example/Spring.Data.Gemfire.HelloWorld/CommandProcessor.cs
  43. +70 −70 example/Spring.Data.Gemfire.HelloWorld/HelloWorld.cs
  44. +37 −37 example/Spring.Data.Gemfire.HelloWorld/Program.cs
  45. +42 −42 example/Spring.Data.Gemfire.HelloWorld/Properties/AssemblyInfo.cs
  46. +88 −88 example/Spring.Data.Gemfire.HelloWorld/Spring.Data.Gemfire.HelloWorld.csproj
  47. +20 −20 example/Spring.Data.Gemfire.HelloWorld/cache.xml
  48. +16 −16 example/Spring.Data.Gemfire.HelloWorld/help.txt
  49. +26,340 −26,340 lib/GemFire/net/2.0/GemStone.GemFire.Cache.xml
  50. +5,413 −5,413 lib/net/2.0/Rhino.Mocks.xml
  51. +11,829 −11,829 lib/net/2.0/Spring.Aop.xml
  52. +47,833 −47,833 lib/net/2.0/Spring.Core.xml
  53. +11,521 −11,521 lib/net/2.0/Spring.Data.xml
  54. +8,986 −8,986 lib/net/2.0/nunit.framework.xml
  55. +201 −201 license.txt
  56. +91 −91 readme.txt
  57. +29 −29 src/CommonAssemblyInfo.cs
  58. +17 −17 src/CommonAssemblyInfo.cs.template
  59. +129 −129 src/Spring.Data.GemFire/AllKeysInterest.cs
  60. +269 −262 src/Spring.Data.GemFire/CacheFactoryObject.cs
  61. +107 −107 src/Spring.Data.GemFire/GemFireCacheUtils.cs
  62. +96 −96 src/Spring.Data.GemFire/GemFireSystemException.cs
  63. +46 −46 src/Spring.Data.GemFire/IInterest.cs
  64. +43 −43 src/Spring.Data.GemFire/InterestResultPolicy.cs
  65. +130 −130 src/Spring.Data.GemFire/KeyInterest.cs
  66. +30 −30 src/Spring.Data.GemFire/NamespaceDoc.cs
  67. +128 −128 src/Spring.Data.GemFire/RegexInterest.cs
  68. +367 −612 src/Spring.Data.GemFire/RegionFactoryObject.cs
  69. +98 −84 src/Spring.Data.GemFire/Spring.Data.GemFire.csproj
  70. +29 −29 test/Spring.Data.GemFire.Tests/App.config
  71. +75 −76 test/Spring.Data.GemFire.Tests/CacheIntegrationTests.cs
  72. +55 −37 test/Spring.Data.GemFire.Tests/CacheIntegrationTests.xml
  73. +36 −36 test/Spring.Data.GemFire.Tests/Properties/AssemblyInfo.cs
  74. +148 −115 test/Spring.Data.GemFire.Tests/RegionIntegrationTests.cs
  75. +71 −53 test/Spring.Data.GemFire.Tests/RegionIntegrationTests.xml
  76. +33 −33 test/Spring.Data.GemFire.Tests/SimpleCacheListener.cs
  77. +42 −42 test/Spring.Data.GemFire.Tests/SimpleCacheLoader.cs
  78. +33 −33 test/Spring.Data.GemFire.Tests/SimpleCacheWriter.cs
  79. +119 −105 test/Spring.Data.GemFire.Tests/Spring.Data.GemFire.Tests.csproj
  80. +10 −10 test/Spring.Data.GemFire.Tests/cache-config.xml
  81. +338 −338 tools/NCover/Coverage.xsl
  82. +7 −7 tools/NCover/Microsoft.VC80.CRT.manifest
  83. +5 −5 tools/NCover/NCover.Console.exe.config
  84. +429 −429 tools/NCover/NCoverFAQ.html
  85. +287 −287 tools/NCoverExplorer/ActiproEULA.html
  86. +122 −122 tools/NCoverExplorer/ConsoleConfig.xsd
  87. +93 −93 tools/NCoverExplorer/ConsoleExample.config
  88. +640 −640 tools/NCoverExplorer/CoverageReport.xsl
  89. +467 −467 tools/NCoverExplorer/CoverageReport.xsl.original
  90. +333 −333 tools/NCoverExplorer/LicencePersonal.rtf
  91. +7 −7 tools/NCoverExplorer/NCoverExplorer.exe.config
  92. +303 −303 tools/NCoverExplorer/NCoverExplorerFAQ.html
  93. +874 −874 tools/NCoverExplorer/NCoverExplorerReleaseNotes.html
  94. +711 −711 tools/nant/NAnt.CompressionTasks.xml
  95. +16,141 −16,141 tools/nant/NAnt.Core.xml
  96. +5,341 −5,341 tools/nant/NAnt.DotNetTasks.xml
  97. +579 −579 tools/nant/NAnt.MSNetTasks.xml
  98. +353 −353 tools/nant/NAnt.NUnit.xml
  99. +538 −538 tools/nant/NAnt.NUnit1Tasks.xml
  100. +584 −584 tools/nant/NAnt.NUnit2Tasks.xml
  101. +1,279 −1,279 tools/nant/NAnt.SourceControlTasks.xml
  102. +3,961 −3,961 tools/nant/NAnt.VSNetTasks.xml
  103. +1,211 −1,211 tools/nant/NAnt.VisualCppTasks.xml
  104. +690 −690 tools/nant/NAnt.Win32Tasks.xml
  105. +1,991 −1,991 tools/nant/NAnt.exe.config
  106. +78 −78 tools/nant/NAnt.xml
  107. +36 −36 tools/nant/extensions/common/2.0/NAnt.MSBuild.xml
  108. +277 −277 tools/nunit/net-2.0/NUnitFitTests.html
  109. +84 −84 tools/nunit/net-2.0/NUnitTests.config
  110. +14 −14 tools/nunit/net-2.0/NUnitTests.nunit
  111. +3 −3 tools/nunit/net-2.0/agent.conf
  112. +18 −18 tools/nunit/net-2.0/agent.log.conf
  113. +95 −95 tools/nunit/net-2.0/clr.bat
  114. +10,088 −10,088 tools/nunit/net-2.0/framework/nunit.framework.xml
  115. +18 −18 tools/nunit/net-2.0/launcher.log.conf
  116. +86 −86 tools/nunit/net-2.0/nunit-agent.exe.config
  117. +86 −86 tools/nunit/net-2.0/nunit-console-x86.exe.config
  118. +86 −86 tools/nunit/net-2.0/nunit-console.exe.config
  119. +94 −94 tools/nunit/net-2.0/nunit-x86.exe.config
  120. +94 −94 tools/nunit/net-2.0/nunit.exe.config
  121. +86 −86 tools/nunit/net-2.0/pnunit-agent.exe.config
  122. +86 −86 tools/nunit/net-2.0/pnunit-launcher.exe.config
  123. +43 −43 tools/nunit/net-2.0/runFile.exe.config
  124. +1 −1 tools/nunit/net-2.0/runpnunit.bat
  125. +23 −23 tools/nunit/net-2.0/test.conf
View
@@ -1,32 +1,32 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.GemFire", "src\Spring.Data.GemFire\Spring.Data.GemFire.csproj", "{DEF3AEDA-E85F-4F64-A0FF-98C317424177}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.GemFire.Tests", "test\Spring.Data.GemFire.Tests\Spring.Data.GemFire.Tests.csproj", "{1835C0BE-44BF-4CFB-B11D-EE3BAE204641}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.Gemfire.HelloWorld", "example\Spring.Data.Gemfire.HelloWorld\Spring.Data.Gemfire.HelloWorld.csproj", "{D0809E00-491C-4894-A319-965AB15F06E3}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {DEF3AEDA-E85F-4F64-A0FF-98C317424177}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DEF3AEDA-E85F-4F64-A0FF-98C317424177}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DEF3AEDA-E85F-4F64-A0FF-98C317424177}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DEF3AEDA-E85F-4F64-A0FF-98C317424177}.Release|Any CPU.Build.0 = Release|Any CPU
- {1835C0BE-44BF-4CFB-B11D-EE3BAE204641}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1835C0BE-44BF-4CFB-B11D-EE3BAE204641}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1835C0BE-44BF-4CFB-B11D-EE3BAE204641}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1835C0BE-44BF-4CFB-B11D-EE3BAE204641}.Release|Any CPU.Build.0 = Release|Any CPU
- {D0809E00-491C-4894-A319-965AB15F06E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {D0809E00-491C-4894-A319-965AB15F06E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {D0809E00-491C-4894-A319-965AB15F06E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {D0809E00-491C-4894-A319-965AB15F06E3}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.GemFire", "src\Spring.Data.GemFire\Spring.Data.GemFire.csproj", "{DEF3AEDA-E85F-4F64-A0FF-98C317424177}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.GemFire.Tests", "test\Spring.Data.GemFire.Tests\Spring.Data.GemFire.Tests.csproj", "{1835C0BE-44BF-4CFB-B11D-EE3BAE204641}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.Gemfire.HelloWorld", "example\Spring.Data.Gemfire.HelloWorld\Spring.Data.Gemfire.HelloWorld.csproj", "{D0809E00-491C-4894-A319-965AB15F06E3}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {DEF3AEDA-E85F-4F64-A0FF-98C317424177}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {DEF3AEDA-E85F-4F64-A0FF-98C317424177}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {DEF3AEDA-E85F-4F64-A0FF-98C317424177}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {DEF3AEDA-E85F-4F64-A0FF-98C317424177}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1835C0BE-44BF-4CFB-B11D-EE3BAE204641}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1835C0BE-44BF-4CFB-B11D-EE3BAE204641}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1835C0BE-44BF-4CFB-B11D-EE3BAE204641}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1835C0BE-44BF-4CFB-B11D-EE3BAE204641}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D0809E00-491C-4894-A319-965AB15F06E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D0809E00-491C-4894-A319-965AB15F06E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D0809E00-491C-4894-A319-965AB15F06E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D0809E00-491C-4894-A319-965AB15F06E3}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
@@ -1,7 +1,7 @@
-REM other targets are:
-REM 'build'
-
-@ECHO OFF
-cls
-
-.\tools\nant\nant.exe -f:Spring.Data.GemFire.build package-zip -D:project.sign=true -D:project.releasetype=release
+REM other targets are:
+REM 'build'
+
+@ECHO OFF
+cls
+
+.\tools\nant\nant.exe -f:Spring.Data.GemFire.build package-zip -D:project.sign=true -D:project.releasetype=release
View
@@ -1,8 +1,8 @@
-REM other targets are:
-REM 'build'
-REM 'test'
-REM 'test-integration'
-
-@ECHO OFF
-cls
-tools\nant\nant.exe daily -f:Spring.Data.GemFire.build
+REM other targets are:
+REM 'build'
+REM 'test'
+REM 'test-integration'
+
+@ECHO OFF
+cls
+tools\nant\nant.exe daily -f:Spring.Data.GemFire.build
View
@@ -1,21 +1,21 @@
-SPRING GEMFIRE FOR .NET CHANGELOG
-=================================
-http://springsource.org/spring-gemfire
-
-Release Version 1.0.0 M1 August 3, 2010
-
-Release Notes - Spring Gemfire for .NET - Version 1.0.0 M1
-
-New Feature
-[SGFNET-1] - IoC configuration of Cache, Regions, and associated CacheLoaders, CacheListener, and CacheWriters
-[SGFNET-2] - Create sample application
-[SGFNET-4] - Exception translation into Spring's DAO exception hierarchy for use with PersistenceExceptionTranslationPostProcessor
-
-Task
-[SGFNET-3] - Create reference documentation
-
-
-
-
-
-
+SPRING GEMFIRE FOR .NET CHANGELOG
+=================================
+http://springsource.org/spring-gemfire
+
+Release Version 1.0.0 M1 August 3, 2010
+
+Release Notes - Spring Gemfire for .NET - Version 1.0.0 M1
+
+New Feature
+[SGFNET-1] - IoC configuration of Cache, Regions, and associated CacheLoaders, CacheListener, and CacheWriters
+[SGFNET-2] - Create sample application
+[SGFNET-4] - Exception translation into Spring's DAO exception hierarchy for use with PersistenceExceptionTranslationPostProcessor
+
+Task
+[SGFNET-3] - Create reference documentation
+
+
+
+
+
+
View
@@ -1,115 +1,115 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<project name="DocBook" default="all" xmlns="http://nant.sf.net/release/0.85/nant.xsd">
-
- <property name="project.basedir" value="${project::get-base-directory()}" />
- <property name="project.targetdir" value="${project.basedir}\target" />
-
- <target name="help">
- <echo message="Available tasks :" />
- <echo message=" all" />
- <echo message=" html" />
- <echo message=" html-help" />
- <echo message=" pdf" />
- <echo message=" variables"/>
- </target>
-
- <target name="variables">
- <echo message="project.basedir = ${project.basedir}"/>
- <echo message="project.targetdir = ${project.targetdir}"/>
- </target>
- <target name="all" depends="html,html-help,pdf"/>
-
- <target name="html">
- <echo message="Generating HTML format..." />
- <mkdir dir="${project.targetdir}" />
- <!-- docbook -> html -->
- <exec workingdir="${project.targetdir}" program="java" commandline='-cp "..\lib\saxon6-5-5\saxon.jar;..\lib\xslthl-2.0.0\xslthl-2.0.0.jar" com.icl.saxon.StyleSheet ../src/index.xml "..\lib\docbook-xsl-snapshot\html\springnet.xsl" highlight.xslthl.config="file:///${project.basedir}/lib/docbook-xsl-snapshot/highlighting/xslthl-config.xml"' />
- <!-- copy css to html dir -->
- <copy todir="${project.targetdir}\html\styles">
- <fileset basedir="${project.basedir}\src\styles">
- <include name="**"/>
- </fileset>
- </copy>
- <!-- copy images to html dir -->
- <copy todir="${project.targetdir}\html\images">
- <fileset basedir="${project.basedir}\src\images">
- <include name="*.gif"/>
- <include name="*.svg"/>
- <include name="*.jpg"/>
- <include name="*.png"/>
- </fileset>
- </copy>
- <copy todir="${project.targetdir}\html\images">
- <fileset basedir="${project.basedir}\lib\docbook-xsl-snapshot\images">
- <include name="**"/>
- </fileset>
- </copy>
- </target>
-
- <target name="html-help">
- <echo message="Generating HTML Help format..." />
- <mkdir dir="${project.targetdir}" />
- <!-- copy css to html dir -->
- <copy todir="${project.targetdir}\htmlhelp\styles">
- <fileset basedir="${project.basedir}\src\styles">
- <include name="**"/>
- </fileset>
- </copy>
- <!-- copy images to htmlhelp dir -->
- <copy todir="${project.targetdir}\htmlhelp\images">
- <fileset basedir="${project.basedir}\src\images">
- <include name="*.gif"/>
- <include name="*.svg"/>
- <include name="*.jpg"/>
- <include name="*.png"/>
- </fileset>
- </copy>
- <copy todir="${project.targetdir}\htmlhelp\images">
- <fileset basedir="${project.basedir}\lib\docbook-xsl-snapshot\images">
- <include name="**"/>
- </fileset>
- </copy>
-
- <!-- docbook -> HTML Help Workshop project (.hhp) -->
- <exec workingdir="${project.targetdir}" program="java" commandline='-cp "..\lib\saxon6-5-5\saxon.jar;..\lib\xslthl-2.0.0\xslthl-2.0.0.jar" com.icl.saxon.StyleSheet ../src/index.xml "..\lib\docbook-xsl-snapshot\htmlhelp\springnet.xsl" highlight.xslthl.config="file:///${project.basedir}/lib/docbook-xsl-snapshot/highlighting/xslthl-config.xml"' />
- <!-- HTML Help Workshop project (.hhp) -> HTML Help file (.chm) -->
- <!--<readregistry property="hhc.path" key="SOFTWARE\Microsoft\HTML Help Workshop\InstallDir" hive="CurrentUser" />-->
- <exec program="C:\Program Files\HTML Help Workshop\hhc.exe" commandline="${project.targetdir}\htmlhelp\htmlhelp.hhp" failonerror="false" />
- <!-- cleanup -->
-
- <delete>
- <fileset basedir="${project.targetdir}\htmlhelp" >
- <include name="**/**"/>
- <exclude name="*.chm"/>
- </fileset>
- </delete>
- <delete file="${project.targetdir}\htmlhelp\spring-gemfire-net-reference.chm"/>
- <move file="${project.targetdir}\htmlhelp\htmlhelp.chm"
- tofile="${project.targetdir}\htmlhelp\spring-gemfire-net-reference.chm" verbose="true"/>
- </target>
-
- <target name="pdf">
- <echo message="Generating PDF format..." />
- <mkdir dir="${project.targetdir}" />
- <!-- docbook -> fop -->
- <exec workingdir="${project.targetdir}" program="java" commandline='-cp "..\lib\saxon6-5-5\saxon.jar;..\lib\xslthl-2.0.0\xslthl-2.0.0.jar" com.icl.saxon.StyleSheet -o pdf/spring-net-reference.fo ../src/index.xml "..\lib\docbook-xsl-snapshot\fo\springnet.xsl" highlight.xslthl.config="file:///${project.basedir}/lib/docbook-xsl-snapshot/highlighting/xslthl-config.xml"'/>
- <!-- fop -> pdf -->
- <exec program="${project.basedir}\lib\fop-0.95\fop.bat" commandline='-fo "${project.targetdir}\pdf\spring-net-reference.fo" -pdf "${project.targetdir}\pdf\spring-gemfire-net-reference.pdf"'/>
- <!-- Delete temporary fop file -->
- <delete file="${project.targetdir}\pdf\spring-net-reference.fo"/>
- </target>
-
- <target name="clean" description="Deletes current reference doc build configuration">
- <call target="cleanall"/>
- </target>
-
- <target name="cleanall" description="Deletes every format of reference docs">
- <property name="target.dir" value="${path::combine(project::get-base-directory(),'build')}"/>
- <echo message="Deleting all reference documentation builds from all configurations : '${project.basedir}\html'"/>
- <delete
- dir="${project.targetdir}"
- if="${directory::exists(project.targetdir)}"
- failonerror="false"/>
- </target>
-
-</project>
+<?xml version="1.0" encoding="utf-8" ?>
+<project name="DocBook" default="all" xmlns="http://nant.sf.net/release/0.85/nant.xsd">
+
+ <property name="project.basedir" value="${project::get-base-directory()}" />
+ <property name="project.targetdir" value="${project.basedir}\target" />
+
+ <target name="help">
+ <echo message="Available tasks :" />
+ <echo message=" all" />
+ <echo message=" html" />
+ <echo message=" html-help" />
+ <echo message=" pdf" />
+ <echo message=" variables"/>
+ </target>
+
+ <target name="variables">
+ <echo message="project.basedir = ${project.basedir}"/>
+ <echo message="project.targetdir = ${project.targetdir}"/>
+ </target>
+ <target name="all" depends="html,html-help,pdf"/>
+
+ <target name="html">
+ <echo message="Generating HTML format..." />
+ <mkdir dir="${project.targetdir}" />
+ <!-- docbook -> html -->
+ <exec workingdir="${project.targetdir}" program="java" commandline='-cp "..\lib\saxon6-5-5\saxon.jar;..\lib\xslthl-2.0.0\xslthl-2.0.0.jar" com.icl.saxon.StyleSheet ../src/index.xml "..\lib\docbook-xsl-snapshot\html\springnet.xsl" highlight.xslthl.config="file:///${project.basedir}/lib/docbook-xsl-snapshot/highlighting/xslthl-config.xml"' />
+ <!-- copy css to html dir -->
+ <copy todir="${project.targetdir}\html\styles">
+ <fileset basedir="${project.basedir}\src\styles">
+ <include name="**"/>
+ </fileset>
+ </copy>
+ <!-- copy images to html dir -->
+ <copy todir="${project.targetdir}\html\images">
+ <fileset basedir="${project.basedir}\src\images">
+ <include name="*.gif"/>
+ <include name="*.svg"/>
+ <include name="*.jpg"/>
+ <include name="*.png"/>
+ </fileset>
+ </copy>
+ <copy todir="${project.targetdir}\html\images">
+ <fileset basedir="${project.basedir}\lib\docbook-xsl-snapshot\images">
+ <include name="**"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="html-help">
+ <echo message="Generating HTML Help format..." />
+ <mkdir dir="${project.targetdir}" />
+ <!-- copy css to html dir -->
+ <copy todir="${project.targetdir}\htmlhelp\styles">
+ <fileset basedir="${project.basedir}\src\styles">
+ <include name="**"/>
+ </fileset>
+ </copy>
+ <!-- copy images to htmlhelp dir -->
+ <copy todir="${project.targetdir}\htmlhelp\images">
+ <fileset basedir="${project.basedir}\src\images">
+ <include name="*.gif"/>
+ <include name="*.svg"/>
+ <include name="*.jpg"/>
+ <include name="*.png"/>
+ </fileset>
+ </copy>
+ <copy todir="${project.targetdir}\htmlhelp\images">
+ <fileset basedir="${project.basedir}\lib\docbook-xsl-snapshot\images">
+ <include name="**"/>
+ </fileset>
+ </copy>
+
+ <!-- docbook -> HTML Help Workshop project (.hhp) -->
+ <exec workingdir="${project.targetdir}" program="java" commandline='-cp "..\lib\saxon6-5-5\saxon.jar;..\lib\xslthl-2.0.0\xslthl-2.0.0.jar" com.icl.saxon.StyleSheet ../src/index.xml "..\lib\docbook-xsl-snapshot\htmlhelp\springnet.xsl" highlight.xslthl.config="file:///${project.basedir}/lib/docbook-xsl-snapshot/highlighting/xslthl-config.xml"' />
+ <!-- HTML Help Workshop project (.hhp) -> HTML Help file (.chm) -->
+ <!--<readregistry property="hhc.path" key="SOFTWARE\Microsoft\HTML Help Workshop\InstallDir" hive="CurrentUser" />-->
+ <exec program="C:\Program Files\HTML Help Workshop\hhc.exe" commandline="${project.targetdir}\htmlhelp\htmlhelp.hhp" failonerror="false" />
+ <!-- cleanup -->
+
+ <delete>
+ <fileset basedir="${project.targetdir}\htmlhelp" >
+ <include name="**/**"/>
+ <exclude name="*.chm"/>
+ </fileset>
+ </delete>
+ <delete file="${project.targetdir}\htmlhelp\spring-gemfire-net-reference.chm"/>
+ <move file="${project.targetdir}\htmlhelp\htmlhelp.chm"
+ tofile="${project.targetdir}\htmlhelp\spring-gemfire-net-reference.chm" verbose="true"/>
+ </target>
+
+ <target name="pdf">
+ <echo message="Generating PDF format..." />
+ <mkdir dir="${project.targetdir}" />
+ <!-- docbook -> fop -->
+ <exec workingdir="${project.targetdir}" program="java" commandline='-cp "..\lib\saxon6-5-5\saxon.jar;..\lib\xslthl-2.0.0\xslthl-2.0.0.jar" com.icl.saxon.StyleSheet -o pdf/spring-net-reference.fo ../src/index.xml "..\lib\docbook-xsl-snapshot\fo\springnet.xsl" highlight.xslthl.config="file:///${project.basedir}/lib/docbook-xsl-snapshot/highlighting/xslthl-config.xml"'/>
+ <!-- fop -> pdf -->
+ <exec program="${project.basedir}\lib\fop-0.95\fop.bat" commandline='-fo "${project.targetdir}\pdf\spring-net-reference.fo" -pdf "${project.targetdir}\pdf\spring-gemfire-net-reference.pdf"'/>
+ <!-- Delete temporary fop file -->
+ <delete file="${project.targetdir}\pdf\spring-net-reference.fo"/>
+ </target>
+
+ <target name="clean" description="Deletes current reference doc build configuration">
+ <call target="cleanall"/>
+ </target>
+
+ <target name="cleanall" description="Deletes every format of reference docs">
+ <property name="target.dir" value="${path::combine(project::get-base-directory(),'build')}"/>
+ <echo message="Deleting all reference documentation builds from all configurations : '${project.basedir}\html'"/>
+ <delete
+ dir="${project.targetdir}"
+ if="${directory::exists(project.targetdir)}"
+ failonerror="false"/>
+ </target>
+
+</project>
Oops, something went wrong.

0 comments on commit 57406a8

Please sign in to comment.