Skip to content

Commit

Permalink
Updated build file to force XSLT generation even if target files are …
Browse files Browse the repository at this point in the history
…newer than source files (the stylesheet itself may have been changed), and to eliminate deploy targets dependency on the "clean" target (it's easy to run 'ant clean deploy' if this is the behavior you want)

git-svn-id: https://svn.apache.org/repos/asf/incubator/pivot/trunk@887300 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Todd Volkert committed Dec 4, 2009
1 parent 848dc41 commit 353fe85
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.xml
Expand Up @@ -417,7 +417,7 @@ limitations under the License.
</target>

<!-- Generate deployment files -->
<target name="deploy" depends="clean, package">
<target name="deploy" depends="package">
<!-- Sign JARS -->
<mkdir dir="${folder.lib}/signed"/>
<copy todir="${folder.lib}/signed">
Expand Down Expand Up @@ -457,13 +457,15 @@ limitations under the License.
<xslt basedir="demos/www"
destdir="demos/${folder.deploy}"
extension=".html"
force="true"
style="demos/xsl/index.xsl"
includes="index.xml"/>

<!-- Transform demos html -->
<xslt basedir="demos/www"
destdir="demos/${folder.deploy}"
extension=".html"
force="true"
style="demos/xsl/demo.html.xsl"
includes="*.xml"
excludes="index.xml">
Expand All @@ -475,6 +477,7 @@ limitations under the License.
<xslt basedir="demos/www"
destdir="demos/${folder.deploy}"
extension=".jnlp"
force="true"
style="demos/xsl/demo.jnlp.xsl"
includes="*.xml"
excludes="index.xml">
Expand Down Expand Up @@ -505,13 +508,15 @@ limitations under the License.
<xslt basedir="tutorials/www"
destdir="tutorials/${folder.deploy}"
extension=".html"
force="true"
style="tutorials/xsl/index.xsl"
includes="index.xml"/>

<!-- Transform tutorials html -->
<xslt basedir="tutorials/www"
destdir="tutorials/${folder.deploy}"
extension=".html"
force="true"
style="tutorials/xsl/tutorial.xsl"
includes="*.xml"
excludes="index.xml">
Expand Down

0 comments on commit 353fe85

Please sign in to comment.