熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Java編程 >> Java開源技術 >> 正文

JBoss技術支持文檔(一)[4]

2013-11-23 20:52:33  來源: Java開源技術 

    運行ant 顯示結果如下

    c:\apacheant\samples> antBuildfile: buildxml
    Init :
    AsimpleHelloObject:
    [echo] Wrote AsimpleHelloObjectjava
    compile:
    [javac] Compiling source file to c:\apacheant\samples
    run :
    [java] AsimpleHelloObjectmain was called[echo] Ant appears to be successfully installed
    BUILDE SUCCESSFUL
    Total time : seconds

    到此你安裝的ANT以及環境已經設置成功如果有以下警告

    Warning: JAVA_HOME environment variable is not set If build fails because sun* classes could not be found you will need to set the JAVA_HOME environment variable to the installation directory of java

    表示你需要設置JAVA_HOME環境指定你安裝的JDK 目錄如何運用Ant 中的各種命令我會在以後編寫《ANT文檔》介紹  安裝JBOSS

[]  []  []  []  []  []  []  []  


From:http://tw.wingwit.com/Article/program/Java/ky/201311/29220.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.