Moved docs to new subproject

This commit is contained in:
Carlos Sanchez 2004-11-14 21:49:18 +00:00
parent 16b7537db5
commit 2d7e776d84
79 changed files with 68 additions and 53 deletions

View File

Before

Width:  |  Height:  |  Size: 374 B

After

Width:  |  Height:  |  Size: 374 B

View File

Before

Width:  |  Height:  |  Size: 743 B

After

Width:  |  Height:  |  Size: 743 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 321 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1003 B

After

Width:  |  Height:  |  Size: 1003 B

View File

Before

Width:  |  Height:  |  Size: 722 B

After

Width:  |  Height:  |  Size: 722 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 580 B

After

Width:  |  Height:  |  Size: 580 B

View File

Before

Width:  |  Height:  |  Size: 490 B

After

Width:  |  Height:  |  Size: 490 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 598 B

After

Width:  |  Height:  |  Size: 598 B

View File

Before

Width:  |  Height:  |  Size: 449 B

After

Width:  |  Height:  |  Size: 449 B

View File

Before

Width:  |  Height:  |  Size: 318 B

After

Width:  |  Height:  |  Size: 318 B

View File

Before

Width:  |  Height:  |  Size: 259 B

After

Width:  |  Height:  |  Size: 259 B

View File

Before

Width:  |  Height:  |  Size: 264 B

After

Width:  |  Height:  |  Size: 264 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 743 B

After

Width:  |  Height:  |  Size: 743 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 329 B

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 361 B

View File

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 244 B

View File

Before

Width:  |  Height:  |  Size: 565 B

After

Width:  |  Height:  |  Size: 565 B

View File

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 244 B

View File

Before

Width:  |  Height:  |  Size: 617 B

After

Width:  |  Height:  |  Size: 617 B

View File

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 244 B

View File

Before

Width:  |  Height:  |  Size: 623 B

After

Width:  |  Height:  |  Size: 623 B

View File

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 244 B

View File

Before

Width:  |  Height:  |  Size: 411 B

After

Width:  |  Height:  |  Size: 411 B

View File

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 244 B

View File

Before

Width:  |  Height:  |  Size: 640 B

After

Width:  |  Height:  |  Size: 640 B

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 353 B

After

Width:  |  Height:  |  Size: 353 B

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 350 B

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 345 B

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 348 B

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 355 B

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 344 B

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 357 B

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

View File

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 357 B

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

38
doc/maven.xml Normal file
View File

@ -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
doc/project.properties Normal file
View File

@ -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
doc/project.xml Normal file
View File

@ -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
xdocs/faq.xml → doc/xdocs/faq.xml Executable file → Normal file
View File

0
xdocs/navigation.xml → doc/xdocs/navigation.xml Executable file → Normal file
View File

View File

0
xdocs/start/build.xml → doc/xdocs/start/build.xml Executable file → Normal file
View File

View File

0
xdocs/start/index.xml → doc/xdocs/start/index.xml Executable file → Normal file
View File

0
xdocs/status.xml → doc/xdocs/status.xml Executable file → Normal file
View File

View File

@ -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>

View File

@ -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
#------------------------------------------------------------------------

View File

@ -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>