<!()对数据库的操作 demoddl中写的是sql语句 driverurluseridpassword随具体情况设置>
<! Oracle >
<target name=\db_setup_oracle\ description=\Database setup for Oracle\>
<antcall target=\check_params_results\/>
<sql driver=\oraclejdbcdriverOracleDriver\
url=\jdbc:oracle:thin:@::oa\
userid=\oa\ password=\oa\
onerror=\continue\
print=\yes\
src=\/demoddl\/>
</target>
<!()javac编译 >
<target name=\compile\>
<javac srcdir=\${srcfile}\
destdir=\${root}/oa/\
includes=\*java\
classpath=\${CLASSPATH};${CLIENT_CLASSES}/utils_commonjar\ <!CLASSPATH和CLIENT_CLASSES是环境变量>
/>
</target>
<target name=\deploy\ depends=\compile\>
<! Create the time stamp >
<tstamp/>
[] [] []