From: Carlos S. <car...@us...> - 2005-01-05 21:51:34
|
carlossg 05/01/05 13:51:28 Modified: sdocbook plugin.jelly Log: Reordered goals Revision Changes Path 1.13 +34 -34 maven-plugins/sdocbook/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/sdocbook/plugin.jelly,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- plugin.jelly 5 Jan 2005 21:47:43 -0000 1.12 +++ plugin.jelly 5 Jan 2005 21:51:27 -0000 1.13 @@ -22,40 +22,6 @@ </goal> <!-- ================================================================== --> - <!-- P R E P A R E F I L E S Y S T E M --> - <!-- ================================================================== --> - - <goal name="sdocbook:prepare-filesystem"> - - <attainGoal name="xdoc:init"/> - - <!-- create target directory for generated documentation --> - <mkdir dir="${maven.sdocbook.target.dir}"/> - - <!-- get source docbook files --> - <fileScanner var="scanner"> - <fileset dir="${maven.sdocbook.src.dir}"> - <util:tokenize var="files" delim=",">${maven.sdocbook.files}</util:tokenize> - <j:forEach var="file" items="${files}"> - <include name="${file}"/> - </j:forEach> - </fileset> - </fileScanner> - - <j:set var="unzipped" value="false" /> - <util:available file="${maven.sdocbook.stylesheets.dir}"> - <j:set var="unzipped" value="true" /> - <echo>Using previusly unzipped docbook stylesheets in ${maven.sdocbook.stylesheets.dir}</echo> - </util:available> - <j:if test="${!unzipped}"> - <!-- unzip docbook files --> - <ant:unzip dest="${maven.sdocbook.stylesheets.dir}/.." - src="${docbookZipPath}"/> - </j:if> - - </goal> - - <!-- ================================================================== --> <!-- I N I T --> <!-- ================================================================== --> @@ -113,6 +79,40 @@ </goal> <!-- ================================================================== --> + <!-- P R E P A R E F I L E S Y S T E M --> + <!-- ================================================================== --> + + <goal name="sdocbook:prepare-filesystem"> + + <attainGoal name="xdoc:init"/> + + <!-- create target directory for generated documentation --> + <mkdir dir="${maven.sdocbook.target.dir}"/> + + <!-- get source docbook files --> + <fileScanner var="scanner"> + <fileset dir="${maven.sdocbook.src.dir}"> + <util:tokenize var="files" delim=",">${maven.sdocbook.files}</util:tokenize> + <j:forEach var="file" items="${files}"> + <include name="${file}"/> + </j:forEach> + </fileset> + </fileScanner> + + <j:set var="unzipped" value="false" /> + <util:available file="${maven.sdocbook.stylesheets.dir}"> + <j:set var="unzipped" value="true" /> + <echo>Using previusly unzipped docbook stylesheets in ${maven.sdocbook.stylesheets.dir}</echo> + </util:available> + <j:if test="${!unzipped}"> + <!-- unzip docbook files --> + <ant:unzip dest="${maven.sdocbook.stylesheets.dir}/.." + src="${docbookZipPath}"/> + </j:if> + + </goal> + + <!-- ================================================================== --> <!-- G E N E R A T E H T M L --> <!-- ================================================================== --> |