Scarab commit: svn commit: r10878 - trunk: . xdocs xdocs/howto

Johannes Höchstädter <[email protected]>
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: jhoech
Date: 2010-01-22 02:53:16-0800
New Revision: 10878

Added:
   trunk/properties.xsl
      - copied unchanged from r10877, /trunk/xdocs/properties.xsl
   trunk/scarab_properties.xml
      - copied unchanged from r10875, /trunk/xdocs/scarab_properties.xml
Removed:
   trunk/xdocs/properties.xsl
   trunk/xdocs/scarab_properties.xml
Modified:
   trunk/maven.xml
   trunk/xdocs/howto/release-howto.xml

Log:
ENH - Moved scarab_properties.xml file into root directory, because its primarily functionality is not to be a xdoc file, but source file for all property files, which are place in the root directory.

Modified: trunk/maven.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/maven.xml?view=diff&pathrev=10878&r1=10877&r2=10878
==============================================================================
--- trunk/maven.xml	(original)
+++ trunk/maven.xml	2010-01-22 02:53:16-0800
@@ -122,21 +122,21 @@
         prereqs="set-xml-transformer">
 
         <ant:style  
-             in="xdocs/scarab_properties.xml"
+             in="scarab_properties.xml"
              out="project.properties"
              style="project.xsl">
              <outputproperty name="method" value="text"/>
         </ant:style> 
 
         <ant:style  
-             in="xdocs/scarab_properties.xml"
+             in="scarab_properties.xml"
              out="minimal.properties"
              style="minimal.xsl">
              <outputproperty name="method" value="text"/>
         </ant:style> 
 
         <ant:style  
-             in="xdocs/scarab_properties.xml"
+             in="scarab_properties.xml"
              out="wizzard.properties"
              style="wizzard.xsl">
              <outputproperty name="method" value="text"/>
@@ -269,11 +269,12 @@
         </ant:ant>
     </postGoal>
 
+	<!-- generates source file for properties guide from scarab_properties file --> 
     <postGoal name="xdoc:init"> 
         <attainGoal name="set-xml-transformer"/>
         <j:set var="genDocs" value="${maven.gen.docs}"/> 
-        <ant:style basedir="xdocs/" destdir="${genDocs}" extension=".xml" 
-        style="xdocs/properties.xsl" includes="**/scarab_properties.xml" /> 
+        <ant:style destdir="${genDocs}" in="scarab_properties.xml" out="${genDocs}/scarab_properties_final.xml"
+        style="properties.xsl" /> 
     </postGoal>
       
     <!-- ===================================================== -->
@@ -283,7 +284,7 @@
     <goal name="scarab:check-locales"
           prereqs="java:compile"
           description="Check language translations">
-        <ant:taskdef
+		<ant:taskdef
             name="checkLocaleBundles" 
             classname="org.tigris.scarab.util.build.AntL10AnalysisTask" >
             <ant:classpath>

Modified: trunk/xdocs/howto/release-howto.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/xdocs/howto/release-howto.xml?view=diff&pathrev=10878&r1=10877&r2=10878
==============================================================================
--- trunk/xdocs/howto/release-howto.xml	(original)
+++ trunk/xdocs/howto/release-howto.xml	2010-01-22 02:53:16-0800
@@ -42,7 +42,7 @@
       If you find any failures or errors, <b>fix them</b> and <b>commit</b> the changes. Then <a href="#buildtest">build and run the tests again</a>.
 	</p>
 	<p>
-	  Edit scarab/xdocs/scarab_properties.xml and change the 
+	  Edit scarab/scarab_properties.xml and change the 
       property with name "version" removing the "-dev" appendix from
       the final version number for the release.<br/>
       Do the same in the &lt;currentVersion&gt; tag in project.xml file.

Removed: trunk/xdocs/properties.xsl
Url: http://scarab.tigris.org/source/browse/scarab/trunk/xdocs/properties.xsl?view=markup&pathrev=10877

Removed: trunk/xdocs/scarab_properties.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/xdocs/scarab_properties.xml?view=markup&pathrev=10877

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=2441155
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.