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/16 12:21:09 UTC

svn commit: r157734 - in lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone: README.txt build.xml

Author: michi
Date: Wed Mar 16 03:21:05 2005
New Revision: 157734

URL: http://svn.apache.org/viewcvs?view=rev&rev=157734
Log:
touching the source of the clone publication added and the README improved

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/README.txt
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/build.xml

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/README.txt
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/README.txt?view=diff&r1=157733&r2=157734
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/README.txt (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/README.txt Wed Mar 16 03:21:05 2005
@@ -1,13 +1,37 @@
 
   HOWTO CLONE THE DEFAULT PUBLICATION
-  -----------------------------------
+  ===================================
 
-Build Apache Lenya first by executing build.sh resp. build.bat
+  Clone Publication
+  -----------------
 
-Change to the directory src/webapp/lenya/pubs/default/tools/clone
+    - Build Apache Lenya first by executing build.sh resp. build.bat
 
-Copy build.properties to local.build.properties and modify the properties to your needs
+    - Change to the directory src/webapp/lenya/pubs/default/tools/clone
 
-Run ant in order to start the build process to clone the default publication
+    - Copy build.properties to local.build.properties and modify the properties to your needs
 
-Startup Apache Lenya according to your settings
+    - Run ant in order to start the build process to clone the default publication
+
+    - "Re-Build" Apache Lenya by executing build.sh resp. build.bat once more, whereas
+      do not forget to add the source dir of the clone publication to the local.build.properties
+      of the Apache Lenya build process
+
+    - Startup Apache Lenya according to your settings
+
+
+
+  Best Practice
+  -------------
+
+    It's very recommended to keep the modifications (e.g. XSLT and CSS) separate from the copy
+    of the default publication. Otherwise one might have trouble in upgrading to a new version
+    of Apache Lenya.
+
+
+  A Note on Development
+  ---------------------
+
+    After cloning the default publication it's sufficient to run build.sh resp. build.bat.
+    The clone process needs only to be replied if the default publication might have been updated by the 
+    Apache Lenya committers.

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/build.xml
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/build.xml?view=diff&r1=157733&r2=157734
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/build.xml (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/tools/clone/build.xml Wed Mar 16 03:21:05 2005
@@ -34,7 +34,7 @@
       <fileset dir="${default.build.dir}"/>
     </copy>
 
-    <echo>Overwrite ...</echo>
+    <echo>Replace default specifics ...</echo>
     <xslt
       in="${default.build.dir}/config/ac/ac.xconf"
       out="${clone.build.dir}/config/ac/ac.xconf"
@@ -61,6 +61,15 @@
       >
       <param name="publicationName" expression="${clone.publication.name}"/>
     </xslt>
+
+    <echo>Touch source of clone publication ${clone.publication.source.dir}</echo>
+    <touch>
+      <fileset dir="${clone.publication.source.dir}">
+        <patternset>
+          <include name="**"/>
+        </patternset>
+      </fileset>
+    </touch>
   </target>
 
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org