You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/03/24 23:15:05 UTC
svn commit: r158955 - lenya/sandbox/jcrsitetree/build.xml
Author: michi
Date: Thu Mar 24 14:15:04 2005
New Revision: 158955
URL: http://svn.apache.org/viewcvs?view=rev&rev=158955
Log:
XSLT for import added
Modified:
lenya/sandbox/jcrsitetree/build.xml
Modified: lenya/sandbox/jcrsitetree/build.xml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/jcrsitetree/build.xml?view=diff&r1=158954&r2=158955
==============================================================================
--- lenya/sandbox/jcrsitetree/build.xml (original)
+++ lenya/sandbox/jcrsitetree/build.xml Thu Mar 24 14:15:04 2005
@@ -28,6 +28,10 @@
<fileset dir="src/java"/>
</copy>
+ <copy todir="${lenya.source.dir}/build/lenya/webapp" overwrite="true">
+ <fileset dir="src/webapp"/>
+ </copy>
+
<!--
<touch>
<fileset dir="${lenya.source.dir}/build/lenya/src"/>
@@ -60,11 +64,38 @@
<echo>Import Authoring and Live Sitetree from ${default.pub.dir} into ${repo.dir}</echo>
+ <xslt
+ in="${default.pub.dir}/content/authoring/sitetree.xml"
+ out="${default.pub.dir}/content/authoring/sitetree.xml.import"
+ style="src/java/org/apache/lenya/cms/publication/ImportSiteTree.xsl"
+ extension="xml"
+ force="true"
+ classpathref="classpath">
+ <outputproperty name="method" value="xml"/>
+ <outputproperty name="encoding" value="utf-8"/>
+ <outputproperty name="indent" value="yes"/>
+ </xslt>
+
+ <xslt
+ in="${default.pub.dir}/content/live/sitetree.xml"
+ out="${default.pub.dir}/content/live/sitetree.xml.import"
+ style="src/java/org/apache/lenya/cms/publication/ImportSiteTree.xsl"
+ extension="xml"
+ force="true"
+ classpathref="classpath">
+ <outputproperty name="method" value="xml"/>
+ <outputproperty name="encoding" value="utf-8"/>
+ <outputproperty name="indent" value="yes"/>
+ </xslt>
+
<java classname="org.apache.lenya.cms.publication.ImportSiteTree">
<arg value="${repo.dir}"/>
<arg value="${default.pub.dir}"/>
<classpath refid="classpath"/>
</java>
+
+ <delete file="${default.pub.dir}/content/authoring/sitetree.xml.import"/>
+ <delete file="${default.pub.dir}/content/live/sitetree.xml.import"/>
</target>
<target name="clear-repository" depends="init" description="Clear Authoring and Live workspace">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org