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

<config>
    <group>
		<property name="yohomars.search.service.env.webapphome" defaultValue="/home/test/yohomars-search/deploy" description="应用根目录"/>
        <property name="yohomars.search.service.env.serverport" defaultValue="7" description="应用端口"/>
        <property name="yohomars.search.service.env.namespace" defaultValue="yohomars-search" 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>