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

<config>
    <group>
		<!-- **************************  web namespace ***************************** -->
		<property name="ufo.platform.env.namespace" defaultValue="ufoPlatform" description="应用命名空间"/>
        <property name="ufo.platform.env.serverport" defaultValue="8" description="应用端口"/>

        <property name="file.uploadTempDir" defaultValue="/home/test" description="spring  mvc upload temp dir"/>
        <property name="file.saveDir" defaultValue="/home/test/cache"  description="file save dir"/>
        
        <property name="file.image.size" defaultValue="512000"  description="file.image.size"/>

        <!--<property name="rabbitAddress" defaultValue="192.168.102.162:32810" description="RabbitMQ address"/>-->
        <property name="erp.domain" defaultValue="http://192.168.102.47:9098/erp-gateway-web" description="" />
    </group>
    <script>
        <generate template="META-INF/autoconf/logback.xml" destfile="WEB-INF/classes/logback.xml"/>
        <generate template="META-INF/autoconf/config.properties" destfile="WEB-INF/classes/config.properties"/>
        <generate template="META-INF/autoconf/databases.yml" destfile="WEB-INF/classes/databases.yml"/>
        <generate template="META-INF/autoconf/rabbitmq.yml" destfile="WEB-INF/classes/rabbitmq.yml"/>
        <generate template="META-INF/autoconf/redis-config.yml" destfile="WEB-INF/classes/redis-config.yml"/>
    </script>
</config>