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

<config>
    <group>
		<!--yoho-search-autoconfig-->
		<property name="yoho.search.service.env.webapphome" defaultValue="/home/test/yoho-search-service/deploy" description="应用根目录"/>
        <property name="yoho.search.service.env.serverport" defaultValue="22" 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>