- <project name="ezconfig.build" default="ezconfig.build" basedir=".">
- <property file="build.properties"/>
- <property name="ezcfg.src.dir" value="${src.dir}/${ezcfg.project.name}"/>
- <property name="ezcfg.bin.dir" value="${bin.dir}/${ezcfg.project.name}"/>
- <property name="ezcfg.lib.dir" value="${lib.dir}/${ezcfg.project.name}"/>
- <target name="prepare">
- <delete dir="${ezcfg.dir}"/>
- <mkdir dir="${ezcfg.src.dir}"/>
- <mkdir dir="${ezcfg.bin.dir}"/>
- <mkdir dir="${ezcfg.lib.dir}"/>
- <mkdir dir="${ezcfg.dir}/WEB-INF/lib"/>
- <mkdir dir="${ezcfg.dir}/jsp/EZConfigManager"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.src.dir} ${ezcfg.cvs.src}"
- compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${shared.jar.cvs.tag} -d ${ezcfg.lib.dir} ${shared.jar.cvs.path}/dwr.jar"
- compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${shared.jar.cvs.tag} -d ${ezcfg.lib.dir} ${shared.jar.cvs.path}/xalan.jar"
- compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${shared.jar.cvs.tag} -d ${ezcfg.lib.dir} ${shared.jar.cvs.path}/ezactor_license7.2.5.jar"
- compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${shared.jar.cvs.tag} -d ${ezcfg.lib.dir} ${shared.jar.cvs.path}/ezactor_license7.2.5.jar"
- compression="true"/>
- </target>
- <target name="compile">
- <javac srcdir="${ezcfg.src.dir}"
- destdir="${ezcfg.bin.dir}"
- encoding="UTF-8" deprecation="true"
- source="1.4"
- target="1.4">
- <classpath>
- <fileset dir="${ezcfg.lib.dir}">
- <include name="**/*.jar"/>
- </fileset>
- <fileset dir="../lib">
- <include name="**/*.jar"/>
- </fileset>
- </classpath>
- </javac>
- <copy todir="${ezcfg.bin.dir}" overwrite="true">
- <fileset dir="${ezcfg.src.dir}">
- <exclude name="**/*.java"/>
- </fileset>
- </copy>
- <jar jarfile="${ezcfg.dir}/WEB-INF/lib/ezconfig.jar" basedir="${ezcfg.bin.dir}"/>
- </target>
- <target name="files">
- <copy todir="${ezcfg.dir}/WEB-INF/lib" overwrite="true">
- <fileset dir="${ezcfg.lib.dir}">
- <include name="dwr.jar"/>
- <include name="xalan.jar"/>
- </fileset>
- </copy>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp ${ezcfg.web.cvs.root}/jsp" compression="true"/>
- <delete dir="${ezcfg.dir}/jsp/EZConfigManager/SQL"/>
- <mkdir dir="${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer"/>
- <mkdir dir="${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle"/>
- <mkdir dir="${ezcfg.dir}/jsp/EZConfigManager/SQL/initialXMLFile"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/WEB-INF ${ezcfg.web.cvs.root}/WEB-INF/dwr-ezconfig.xml" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/initialXMLFile ${sql.cvs.home}/initialXMLFile" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer ${sql.cvs.home}/SQLServer/StaticTable.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer ${sql.cvs.home}/SQLServer/TenantDynamicTable.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer ${sql.cvs.home}/SQLServer/TenantDynamicTrigger.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer ${sql.cvs.home}/SQLServer/ContactReport.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer/gb ${sql.cvs.home}/SQLServer/gb/InitTenant-gb_SQLSERVER.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer/gb ${sql.cvs.home}/SQLServer/gb/InitDynamicTenant-gb_SQLSERVER.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer/en ${sql.cvs.home}/SQLServer/en/InitTenant-en_SQLSERVER.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer/en ${sql.cvs.home}/SQLServer/en/InitDynamicTenant-en_SQLSERVER.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer/big5 ${sql.cvs.home}/SQLServer/big5/InitTenant-big5_SQLSERVER.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/SQLServer/big5 ${sql.cvs.home}/SQLServer/big5/InitDynamicTenant-big5_SQLSERVER.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle ${sql.cvs.home}/Oracle/StaticTable.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle ${sql.cvs.home}/Oracle/TenantDynamicTable.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle ${sql.cvs.home}/Oracle/TenantDynamicTrigger.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle ${sql.cvs.home}/Oracle/ContactReport.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle/gb ${sql.cvs.home}/Oracle/gb/InitTenant-gb_ORACLE.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle/gb ${sql.cvs.home}/Oracle/gb/InitDynamicTenant-gb_ORACLE.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle/en ${sql.cvs.home}/Oracle/en/InitTenant-en_ORACLE.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle/en ${sql.cvs.home}/Oracle/en/InitDynamicTenant-en_ORACLE.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle/big5 ${sql.cvs.home}/Oracle/big5/InitTenant-big5_ORACLE.sql" compression="true"/>
- <cvs cvsRoot="${cvsroot}"
- command="${cvscommand} -r ${ezcfg.cvs.tag} -d ${ezcfg.dir}/jsp/EZConfigManager/SQL/Oracle/big5 ${sql.cvs.home}/Oracle/big5/InitDynamicTenant-big5_ORACLE.sql" compression="true"/>
- </target>
- <target name="clean">
- <delete dir="${src.dir}"/>
- <delete dir="${bin.dir}"/>
- <delete dir="${lib.dir}"/>
- </target>
- <target name="ezconfig.build" depends="prepare, compile, files, clean"/>
- </project>
直接从cvs上创建jar包
最新推荐文章于 2022-12-05 18:02:02 发布