jefft 2003/05/11 17:33:30
Modified: . status.xml
src/resources/forrest-shbat forrest.build.xml
Log:
Simplify and improve backcopy. Now any file that exists in src/documentation/*, and is more
recent in build/webapp/*, will be backcopied
Revision Changes Path
1.158 +4 -0 xml-forrest/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/xml-forrest/status.xml,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -r1.157 -r1.158
--- status.xml 9 May 2003 03:16:43 -0000 1.157
+++ status.xml 12 May 2003 00:33:30 -0000 1.158
@@ -24,6 +24,10 @@
<changes>
<release version="0.5-dev" date="unreleased">
+ <action dev="JT" type="update" context="shbat">
+ The 'backcopy' command will now copy all types of custom content
+ (*.xmap, skinconf.xml, xdocs, images, stylesheets, DTDs).
+ </action>
<action dev="JT" type="update" context="schemas">
Add a @indexfile attribute to tabs.xml, so that the user can specify
which file the tab links to.
1.65 +9 -19 xml-forrest/src/resources/forrest-shbat/forrest.build.xml
Index: forrest.build.xml
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/forrest.build.xml,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- forrest.build.xml 9 May 2003 06:29:50 -0000 1.64
+++ forrest.build.xml 12 May 2003 00:33:30 -0000 1.65
@@ -690,27 +690,17 @@
</target>
<!--
- If you've been editing
- docs in build/webapp/content/xdocs, this target copies them back to
- src/documentation/content/xdocs/. As 'overwrite' is false, this will not
- clobber docs legitimately edited in src/documentation/content/xdocs/.
-
- Hack until we get src/* webapp editing working.
+ If you've been editing docs, images etc in build/webapp/*, this target copies
+ them back to src/documentation/*. As 'overwrite' is false, this will not
+ clobber docs legitimately edited in src/documentation/*
-->
- <target name="backcopy" depends="init-props" description="If xdocs have been
- edited in build/webapps, copies them back to src/*">
- <copy toDir="${project.xdocs-dir}" filtering="false" overwrite="false">
- <fileset dir="${project.webapp}/content/xdocs">
- <exclude name="**/.*.swp"/>
+ <target name="backcopy" depends="init-props" description="If anything has been edited
in build/webapps, copies them
+ back to src/documentation">
+ <copy toDir="${project.content-dir}" filtering="false" overwrite="false">
+ <fileset dir="${project.webapp}">
+ <present targetdir="${project.content-dir}"/>
</fileset>
</copy>
- <copy toDir="${project.real-content-dir}" filtering="false" overwrite="false">
- <fileset dir="${project.webapp}/content">
- <exclude name="xdocs"/>
- <exclude name="**/.*.swp"/>
- </fileset>
- </copy>
- <copy file="${project.webapp}/skinconf.xml" toDir="${project.content-dir}" filtering="false"
overwrite="false"/>
</target>
<!-- ===============================================================
|