Project

General

Profile

« Previous | Next » 

Revision 5919

Added by Jing Tao over 13 years ago

Add a target to change the configuration value to be true.

View differences:

build.xml
201 201
		<property name="eml-module.default.css" value="default.css" />
202 202
		<property name="systemidserver" value="" />
203 203
		<property name="html-path" value="" />
204
		<property name ="metacat-properties-file" value="build/war/WEB-INF/metacat.properties"/>
204 205

  
205 206

  
206 207
		<!-- Config for registry variables -->
......
1572 1573
			<fileset dir="${dist.dir}" />
1573 1574
		</copy>
1574 1575
	</target>
1576
	
1577
	<target name="change-metacat-properties" depends="warPrepare"
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>
1586
    </target>
1587
	
1588
	<target name="install-without-configuration" depends="change-metacat-properties, install"
1589
        description="Install a metacat by the default value in metacat.properties without additional configutaion">
1590
    </target>
1591
	
1575 1592

  
1576 1593
    <!-- Build the dataone service, but only if it is checked out as a
1577 1594
         sibling of the current build directory. Requires maven2 to

Also available in: Unified diff