Bläddra i källkod

Moved docs to new subproject

Carlos Sanchez 21 år sedan
förälder
incheckning
2d7e776d84
79 ändrade filer med 68 tillägg och 53 borttagningar
  1. 0 0
      doc/docbook/images/admons/blank.png
  2. 0 0
      doc/docbook/images/admons/caution.gif
  3. 0 0
      doc/docbook/images/admons/caution.png
  4. 0 0
      doc/docbook/images/admons/caution.tif
  5. 0 0
      doc/docbook/images/admons/draft.png
  6. 0 0
      doc/docbook/images/admons/home.gif
  7. 0 0
      doc/docbook/images/admons/home.png
  8. 0 0
      doc/docbook/images/admons/important.gif
  9. 0 0
      doc/docbook/images/admons/important.png
  10. 0 0
      doc/docbook/images/admons/important.tif
  11. 0 0
      doc/docbook/images/admons/next.gif
  12. 0 0
      doc/docbook/images/admons/next.png
  13. 0 0
      doc/docbook/images/admons/note.gif
  14. 0 0
      doc/docbook/images/admons/note.png
  15. 0 0
      doc/docbook/images/admons/note.tif
  16. 0 0
      doc/docbook/images/admons/prev.gif
  17. 0 0
      doc/docbook/images/admons/prev.png
  18. 0 0
      doc/docbook/images/admons/tip.gif
  19. 0 0
      doc/docbook/images/admons/tip.png
  20. 0 0
      doc/docbook/images/admons/tip.tif
  21. 0 0
      doc/docbook/images/admons/toc-blank.png
  22. 0 0
      doc/docbook/images/admons/toc-minus.png
  23. 0 0
      doc/docbook/images/admons/toc-plus.png
  24. 0 0
      doc/docbook/images/admons/up.gif
  25. 0 0
      doc/docbook/images/admons/up.png
  26. 0 0
      doc/docbook/images/admons/warning.gif
  27. 0 0
      doc/docbook/images/admons/warning.png
  28. 0 0
      doc/docbook/images/admons/warning.tif
  29. 0 0
      doc/docbook/images/callouts/1.gif
  30. 0 0
      doc/docbook/images/callouts/1.png
  31. 0 0
      doc/docbook/images/callouts/10.gif
  32. 0 0
      doc/docbook/images/callouts/10.png
  33. 0 0
      doc/docbook/images/callouts/11.gif
  34. 0 0
      doc/docbook/images/callouts/11.png
  35. 0 0
      doc/docbook/images/callouts/12.gif
  36. 0 0
      doc/docbook/images/callouts/12.png
  37. 0 0
      doc/docbook/images/callouts/13.gif
  38. 0 0
      doc/docbook/images/callouts/13.png
  39. 0 0
      doc/docbook/images/callouts/14.gif
  40. 0 0
      doc/docbook/images/callouts/14.png
  41. 0 0
      doc/docbook/images/callouts/15.gif
  42. 0 0
      doc/docbook/images/callouts/15.png
  43. 0 0
      doc/docbook/images/callouts/2.gif
  44. 0 0
      doc/docbook/images/callouts/2.png
  45. 0 0
      doc/docbook/images/callouts/3.gif
  46. 0 0
      doc/docbook/images/callouts/3.png
  47. 0 0
      doc/docbook/images/callouts/4.gif
  48. 0 0
      doc/docbook/images/callouts/4.png
  49. 0 0
      doc/docbook/images/callouts/5.gif
  50. 0 0
      doc/docbook/images/callouts/5.png
  51. 0 0
      doc/docbook/images/callouts/6.gif
  52. 0 0
      doc/docbook/images/callouts/6.png
  53. 0 0
      doc/docbook/images/callouts/7.gif
  54. 0 0
      doc/docbook/images/callouts/7.png
  55. 0 0
      doc/docbook/images/callouts/8.gif
  56. 0 0
      doc/docbook/images/callouts/8.png
  57. 0 0
      doc/docbook/images/callouts/9.gif
  58. 0 0
      doc/docbook/images/callouts/9.png
  59. 0 0
      doc/docbook/images/logo.gif
  60. 0 0
      doc/docbook/images/logo.psd
  61. 0 0
      doc/docbook/index.xml
  62. 0 0
      doc/docbook/styles/fo/docbook.xsl
  63. 0 0
      doc/docbook/styles/html.css
  64. 0 0
      doc/docbook/styles/html/docbook.xsl
  65. 0 0
      doc/docbook/styles/html_chunk.xsl
  66. 38 0
      doc/maven.xml
  67. 5 0
      doc/project.properties
  68. 25 0
      doc/project.xml
  69. 0 0
      doc/xdocs/faq.xml
  70. 0 0
      doc/xdocs/index.html
  71. 0 0
      doc/xdocs/navigation.xml
  72. 0 0
      doc/xdocs/reference/index.xml
  73. 0 0
      doc/xdocs/start/build.xml
  74. 0 0
      doc/xdocs/start/download.xml
  75. 0 0
      doc/xdocs/start/index.xml
  76. 0 0
      doc/xdocs/status.xml
  77. 0 30
      maven.xml
  78. 0 8
      project.properties
  79. 0 15
      project.xml

+ 0 - 0
docbook/images/admons/blank.png → doc/docbook/images/admons/blank.png


+ 0 - 0
docbook/images/admons/caution.gif → doc/docbook/images/admons/caution.gif


+ 0 - 0
docbook/images/admons/caution.png → doc/docbook/images/admons/caution.png


+ 0 - 0
docbook/images/admons/caution.tif → doc/docbook/images/admons/caution.tif


+ 0 - 0
docbook/images/admons/draft.png → doc/docbook/images/admons/draft.png


+ 0 - 0
docbook/images/admons/home.gif → doc/docbook/images/admons/home.gif


+ 0 - 0
docbook/images/admons/home.png → doc/docbook/images/admons/home.png


+ 0 - 0
docbook/images/admons/important.gif → doc/docbook/images/admons/important.gif


+ 0 - 0
docbook/images/admons/important.png → doc/docbook/images/admons/important.png


+ 0 - 0
docbook/images/admons/important.tif → doc/docbook/images/admons/important.tif


+ 0 - 0
docbook/images/admons/next.gif → doc/docbook/images/admons/next.gif


+ 0 - 0
docbook/images/admons/next.png → doc/docbook/images/admons/next.png


+ 0 - 0
docbook/images/admons/note.gif → doc/docbook/images/admons/note.gif


+ 0 - 0
docbook/images/admons/note.png → doc/docbook/images/admons/note.png


+ 0 - 0
docbook/images/admons/note.tif → doc/docbook/images/admons/note.tif


+ 0 - 0
docbook/images/admons/prev.gif → doc/docbook/images/admons/prev.gif


+ 0 - 0
docbook/images/admons/prev.png → doc/docbook/images/admons/prev.png


+ 0 - 0
docbook/images/admons/tip.gif → doc/docbook/images/admons/tip.gif


+ 0 - 0
docbook/images/admons/tip.png → doc/docbook/images/admons/tip.png


+ 0 - 0
docbook/images/admons/tip.tif → doc/docbook/images/admons/tip.tif


+ 0 - 0
docbook/images/admons/toc-blank.png → doc/docbook/images/admons/toc-blank.png


+ 0 - 0
docbook/images/admons/toc-minus.png → doc/docbook/images/admons/toc-minus.png


+ 0 - 0
docbook/images/admons/toc-plus.png → doc/docbook/images/admons/toc-plus.png


+ 0 - 0
docbook/images/admons/up.gif → doc/docbook/images/admons/up.gif


+ 0 - 0
docbook/images/admons/up.png → doc/docbook/images/admons/up.png


+ 0 - 0
docbook/images/admons/warning.gif → doc/docbook/images/admons/warning.gif


+ 0 - 0
docbook/images/admons/warning.png → doc/docbook/images/admons/warning.png


+ 0 - 0
docbook/images/admons/warning.tif → doc/docbook/images/admons/warning.tif


+ 0 - 0
docbook/images/callouts/1.gif → doc/docbook/images/callouts/1.gif


+ 0 - 0
docbook/images/callouts/1.png → doc/docbook/images/callouts/1.png


+ 0 - 0
docbook/images/callouts/10.gif → doc/docbook/images/callouts/10.gif


+ 0 - 0
docbook/images/callouts/10.png → doc/docbook/images/callouts/10.png


+ 0 - 0
docbook/images/callouts/11.gif → doc/docbook/images/callouts/11.gif


+ 0 - 0
docbook/images/callouts/11.png → doc/docbook/images/callouts/11.png


+ 0 - 0
docbook/images/callouts/12.gif → doc/docbook/images/callouts/12.gif


+ 0 - 0
docbook/images/callouts/12.png → doc/docbook/images/callouts/12.png


+ 0 - 0
docbook/images/callouts/13.gif → doc/docbook/images/callouts/13.gif


+ 0 - 0
docbook/images/callouts/13.png → doc/docbook/images/callouts/13.png


+ 0 - 0
docbook/images/callouts/14.gif → doc/docbook/images/callouts/14.gif


+ 0 - 0
docbook/images/callouts/14.png → doc/docbook/images/callouts/14.png


+ 0 - 0
docbook/images/callouts/15.gif → doc/docbook/images/callouts/15.gif


+ 0 - 0
docbook/images/callouts/15.png → doc/docbook/images/callouts/15.png


+ 0 - 0
docbook/images/callouts/2.gif → doc/docbook/images/callouts/2.gif


+ 0 - 0
docbook/images/callouts/2.png → doc/docbook/images/callouts/2.png


+ 0 - 0
docbook/images/callouts/3.gif → doc/docbook/images/callouts/3.gif


+ 0 - 0
docbook/images/callouts/3.png → doc/docbook/images/callouts/3.png


+ 0 - 0
docbook/images/callouts/4.gif → doc/docbook/images/callouts/4.gif


+ 0 - 0
docbook/images/callouts/4.png → doc/docbook/images/callouts/4.png


+ 0 - 0
docbook/images/callouts/5.gif → doc/docbook/images/callouts/5.gif


+ 0 - 0
docbook/images/callouts/5.png → doc/docbook/images/callouts/5.png


+ 0 - 0
docbook/images/callouts/6.gif → doc/docbook/images/callouts/6.gif


+ 0 - 0
docbook/images/callouts/6.png → doc/docbook/images/callouts/6.png


+ 0 - 0
docbook/images/callouts/7.gif → doc/docbook/images/callouts/7.gif


+ 0 - 0
docbook/images/callouts/7.png → doc/docbook/images/callouts/7.png


+ 0 - 0
docbook/images/callouts/8.gif → doc/docbook/images/callouts/8.gif


+ 0 - 0
docbook/images/callouts/8.png → doc/docbook/images/callouts/8.png


+ 0 - 0
docbook/images/callouts/9.gif → doc/docbook/images/callouts/9.gif


+ 0 - 0
docbook/images/callouts/9.png → doc/docbook/images/callouts/9.png


+ 0 - 0
docbook/images/logo.gif → doc/docbook/images/logo.gif


+ 0 - 0
docbook/images/logo.psd → doc/docbook/images/logo.psd


+ 0 - 0
docbook/index.xml → doc/docbook/index.xml


+ 0 - 0
docbook/styles/fo/docbook.xsl → doc/docbook/styles/fo/docbook.xsl


+ 0 - 0
docbook/styles/html.css → doc/docbook/styles/html.css


+ 0 - 0
docbook/styles/html/docbook.xsl → doc/docbook/styles/html/docbook.xsl


+ 0 - 0
docbook/styles/html_chunk.xsl → doc/docbook/styles/html_chunk.xsl


+ 38 - 0
doc/maven.xml

@@ -0,0 +1,38 @@
+<project
+   xmlns:j="jelly:core"
+   xmlns:ant="jelly:ant"
+   xmlns:util="jelly:util"
+   xmlns:maven="jelly:maven"
+  >
+
+    <postGoal name="sdocbook:prepare-filesystem">
+        <j:set var="unzipped" value="false" />
+        <util:available file="${maven.sdocbook.generated.fo}">
+            <j:set var="unzipped" value="true" />
+            <echo>Using previusly unzipped docbook files</echo>
+        </util:available>
+        <j:if test="${!unzipped}">
+            <!-- unzip docbook files -->
+            <ant:unzip dest="${maven.build.dir}"
+                src="${pom.getDependencyPath('docbook:docbook-xsl')}"/>
+                
+            <!-- use a custom fo stylesheet -->
+            <move file="${maven.sdocbook.stylesheets.dir}/fo/docbook.xsl"
+                tofile="${maven.sdocbook.stylesheets.dir}/fo/docbook-bak.xsl"/>
+            <copy file="${maven.sdocbook.src.dir}/styles/fo/docbook.xsl"
+                todir="${maven.sdocbook.stylesheets.dir}/fo"/>
+
+            <!-- use a custom html stylesheet -->
+            <move file="${maven.sdocbook.stylesheets.dir}/html/docbook.xsl"
+                tofile="${maven.sdocbook.stylesheets.dir}/html/docbook-bak.xsl"/>
+            <copy file="${maven.sdocbook.src.dir}/styles/html/docbook.xsl"
+                todir="${maven.sdocbook.stylesheets.dir}/html"/>
+
+            <copy todir="${maven.sdocbook.stylesheets.dir}">
+                <fileset dir="${maven.sdocbook.src.dir}/images"/>
+            </copy>
+        </j:if>
+
+    </postGoal>
+
+</project>

+ 5 - 0
doc/project.properties

@@ -0,0 +1,5 @@
+# sdocbook
+maven.sdocbook.fo.params=-PARAM paper.type A4 -PARAM use.extensions 1 -PARAM tablecolumns.extension 0 -PARAM callout.extensions 1 -PARAM fop.extensions=1
+maven.sdocbook.src.dir=${basedir}/docbook
+maven.sdocbook.resources.include=**/*.gif,**/*.svg,**/*.jpg
+maven.sdocbook.stylesheets.dir=${maven.build.dir}/docbook-xsl-1.66.1

+ 25 - 0
doc/project.xml

@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <extend>${basedir}/../project.xml</extend>
+  <artifactId>acegi-security-doc</artifactId>
+  <name>Acegi Security System for Spring - Documentation</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>maven-plugins</groupId>
+      <artifactId>maven-sdocbook-plugin</artifactId>
+      <version>1.4-SNAPSHOT</version>
+      <type>plugin</type>
+    </dependency>
+
+    <!-- docbook -->
+    <dependency>
+      <groupId>docbook</groupId>
+      <artifactId>docbook-xsl</artifactId>
+      <version>1.66.1</version>
+      <url>http://docbook.sourceforge.net</url>
+      <type>zip</type>
+    </dependency>
+  </dependencies>
+</project>
+

+ 0 - 0
xdocs/faq.xml → doc/xdocs/faq.xml


+ 0 - 0
xdocs/index.html → doc/xdocs/index.html


+ 0 - 0
xdocs/navigation.xml → doc/xdocs/navigation.xml


+ 0 - 0
xdocs/reference/index.xml → doc/xdocs/reference/index.xml


+ 0 - 0
xdocs/start/build.xml → doc/xdocs/start/build.xml


+ 0 - 0
xdocs/start/download.xml → doc/xdocs/start/download.xml


+ 0 - 0
xdocs/start/index.xml → doc/xdocs/start/index.xml


+ 0 - 0
xdocs/status.xml → doc/xdocs/status.xml


+ 0 - 30
maven.xml

@@ -168,34 +168,4 @@
           tofile="${maven.build.dir}/docs/ref/acegi-security-reference.html"/>
    </goal>
 
-    <postGoal name="sdocbook:prepare-filesystem">
-        <j:set var="unzipped" value="false" />
-        <util:available file="${maven.sdocbook.generated.fo}">
-            <j:set var="unzipped" value="true" />
-            <echo>Using previusly unzipped docbook files</echo>
-        </util:available>
-        <j:if test="${!unzipped}">
-            <!-- unzip docbook files -->
-            <ant:unzip dest="${maven.build.dir}"
-                src="${pom.getDependencyPath('docbook:docbook-xsl')}"/>
-                
-            <!-- use a custom fo stylesheet -->
-            <move file="${maven.sdocbook.stylesheets.dir}/fo/docbook.xsl"
-                tofile="${maven.sdocbook.stylesheets.dir}/fo/docbook-bak.xsl"/>
-            <copy file="${maven.sdocbook.src.dir}/styles/fo/docbook.xsl"
-                todir="${maven.sdocbook.stylesheets.dir}/fo"/>
-
-            <!-- use a custom html stylesheet -->
-            <move file="${maven.sdocbook.stylesheets.dir}/html/docbook.xsl"
-                tofile="${maven.sdocbook.stylesheets.dir}/html/docbook-bak.xsl"/>
-            <copy file="${maven.sdocbook.src.dir}/styles/html/docbook.xsl"
-                todir="${maven.sdocbook.stylesheets.dir}/html"/>
-
-            <copy todir="${maven.sdocbook.stylesheets.dir}">
-                <fileset dir="${maven.sdocbook.src.dir}/images"/>
-            </copy>
-        </j:if>
-
-    </postGoal>
-
 </project>

+ 0 - 8
project.properties

@@ -112,14 +112,6 @@ maven.site.deploy.method = fs
 maven.multiproject.basedir=.
 maven.multiproject.includes=core/project.xml,adapters/*/project.xml
 
-
-# sdocbook
-#maven.sdocbook.fo.params=-PARAM paper.type A4 -PARAM use.extensions 1 -PARAM tablecolumns.extension 0 -PARAM callout.extensions 1 -PARAM fop.extensions=1
-#maven.sdocbook.fo.params=draft.mode=no
-maven.sdocbook.src.dir=${basedir}/docbook
-maven.sdocbook.resources.include=**/*.gif,**/*.svg,**/*.jpg
-maven.sdocbook.stylesheets.dir=${maven.build.dir}/docbook-xsl-1.66.1
-
 #------------------------------------------------------------------------
 # Commons Attributes
 #------------------------------------------------------------------------

+ 0 - 15
project.xml

@@ -247,21 +247,6 @@
       <version>2.5</version>
       <type>plugin</type>
     </dependency>
-    <dependency>
-      <groupId>maven-plugins</groupId>
-      <artifactId>maven-sdocbook-plugin</artifactId>
-      <version>1.4-SNAPSHOT</version>
-      <type>plugin</type>
-    </dependency>
-
-    <!-- docbook -->
-    <dependency>
-      <groupId>docbook</groupId>
-      <artifactId>docbook-xsl</artifactId>
-      <version>1.66.1</version>
-      <url>http://docbook.sourceforge.net</url>
-      <type>zip</type>
-    </dependency>
   </dependencies>
   <build>
     <sourceDirectory>${basedir}/src/main/java</sourceDirectory>