锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩人在线观看,av成人综合网,不卡一区视频http://www.aygfsteel.com/syzxf/category/28953.html鏃犲咖鏃犺檻瀹蟲浜?/description>zh-cnFri, 18 Jan 2008 19:39:19 GMTFri, 18 Jan 2008 19:39:19 GMT60- java 鐜鍙橀噺 classpath鐨勪嬌鐢?/title>http://www.aygfsteel.com/syzxf/articles/classpath.html鐖變笂楦熺殑楸?/dc:creator>鐖變笂楦熺殑楸?/author>Mon, 14 Jan 2008 03:35:00 GMThttp://www.aygfsteel.com/syzxf/articles/classpath.html
java -classpath %classpath%;g:\javaPro\proName\webroot\web-inf\lib\db2jcc.jar;bin聽 myPro.Test
%classpath%聽 涓虹郴緇熷凡緇忚緗殑鐜鍙橀噺
聽g:\javaPro\proName\webroot\web-inf\lib\db2jcc.jar 涓鴻繍琛宮yPro.Test綾昏繍琛屾椂娑夊強鍒扮殑綾繪枃浠?br />bin 涓簃yPro.Test 瀛樻斁鐨勭洰褰?br />榪欐牱錛岀紪璇戝拰榪愯紼嬪簭灝辮兘姣旇緝蹇竴浜涗簡銆?br />handwork聽緇撴瀯
褰撳墠鐩綍涓篭src>聽 javac myPro\TestString.java -d ..\bin
榪欐牱緙栬瘧鐨勬枃浠朵細瀛樻斁鍦╞in鐩綍涓嬨?br />\bin>javap -c myPro.TestString 鍙互鐪嬪埌緙栬瘧鍚庣殑綾繪枃浠?
絎簩縐嶅揩閫熺紪璇戝拰 榪愯鐨?鏂規硶浣跨敤ant宸ュ叿 閰嶇疆鐨?build.xml鏂囦歡濡備笅錛?br />
<?xml version="1.0"?>
<project name="zxfTest" default="run">
聽 <!--the position of class by compiled-->
聽聽<property name="class.dir" value="bin"/>
聽聽<!--source position-->
聽聽 <property name="src.dir" value="src"/>
聽聽 <!--reference class path -->
聽<path id="1">
聽<fileset dir="g:\javaPro\pwms\webroot\web-inf\lib">
聽<include name="db2jcc.jar"/>
聽</fileset>
聽</path>
聽<!-- compile java file-->
聽聽 <target name="compile" >
聽<javac srcdir="${src.dir}" destdir="${class.dir}">
聽<!--聽 will be use by compile -->
聽<classpath refid="1"/>
聽</javac>
聽<!-- copy the class file to the destination-->
聽<copy todir="${class.dir}">
聽<!-- need compile file -->
聽<fileset dir="${src.dir}">
聽聽 <exclude name="**/*.java"/>
聽</fileset>
聽</copy>
</target>
<target name="run">
<java classname="zxf.Test">
聽聽<classpath path="${class.dir}">
聽聽</classpath>
聽聽<classpath refid="1"/>
</java>
</target>
</project>
鍦╬ath涓?闇瑕侀厤緗產nt鐨刾ath聽 %ant_home%\bin
]]>
主站蜘蛛池模板:
咸阳市|
文水县|
同心县|
桐乡市|
桦南县|
绥阳县|
遂昌县|
白银市|
内黄县|
策勒县|
阿拉善左旗|
讷河市|
周口市|
湘潭县|
岑溪市|
夹江县|
德钦县|
万源市|
随州市|
新乡市|
龙泉市|
房产|
黄平县|
景德镇市|
云霄县|
海兴县|
普兰店市|
互助|
谷城县|
彭阳县|
井冈山市|
尼木县|
溧水县|
华亭县|
凤台县|
忻城县|
共和县|
顺义区|
文化|
英吉沙县|
呼伦贝尔市|