Project

General

Profile

« Previous | Next » 

Revision 5924

Added by Jing Tao almost 14 years ago

Using echo to replace propertyfile in order to avoiding character escape.

View differences:

build.xml
1576 1576
	
1577 1577
	<target name="change-metacat-properties" depends="warPrepare"
1578 1578
        description="Chage some default values of metacat.properties">
1579
       <propertyfile file="${metacat-properties-file}">
1580
		   <entry  key="configutil.propertiesConfigured" operation="=" value="true"/>
1581
		   <entry  key="configutil.authConfigured" operation="=" value="true"/>
1582
		   <entry  key="configutil.skinsConfigured" operation="=" value="true"/>
1583
		   <entry  key="configutil.databaseConfigured" operation="=" value="true"/>
1584
		   <entry  key="configutil.geoserverConfigured" operation="=" value="true"/>
1585
	   </propertyfile>
1579
       <echo file="${metacat-properties-file}" append="true">
1580
		   configutil.propertiesConfigured=true
1581
		   configutil.authConfigured=true
1582
           configutil.skinsConfigured=true
1583
		   configutil.databaseConfigured=true
1584
		   configutil.geoserverConfigured=true
1585
	   </echo>
1586 1586
    </target>
1587 1587
	
1588
	<target name="install-without-configuration" depends="change-metacat-properties, install"
1588
	<target name="install-configured-metacat" depends="change-metacat-properties, install"
1589 1589
        description="Install a metacat by the default value in metacat.properties without additional configutaion">
1590 1590
    </target>
1591 1591
	

Also available in: Unified diff