auto-config.xml 1.07 KB
<?xml version="1.0" encoding="UTF-8"?>

<config>
    <group>
		<property name="yoho.search.service.env.webapphome" defaultValue="/home/master/yoho-search-service/deploy" description="应用根目录"/>
        <property name="yoho.search.service.env.serverport" defaultValue="0" description="应用端口"/>
        <property name="yoho.search.service.env.namespace" defaultValue="search-service" description="应用命名空间"/>
		<property name="yoho.env.javahome" defaultValue="/usr/local/java" description="" />
		<property name="yoho.env.productmode" defaultValue="TEST" description="" />
		<property name="yoho.env.serverhome" defaultValue="/usr/local/tomcat" description="" />
		<property name="yoho.env.servertype" defaultValue="tomcat" description="" />
	</group>
    <script>
    	<generate template="META-INF/autoconf/bin/env.sh" destfile="bin/env.sh"/>
    	<generate template="META-INF/autoconf/bin/env.bat" destfile="bin/env.bat"/>
    	<generate template="META-INF/autoconf/conf/tomcat/server.xml" destfile="conf/tomcat/server.xml"/>
    </script>
</config>