紫風亂寫

          除了他眼前的屏幕,這個人什么也沒看見。
          被周圍的電腦簇擁著,他只知道他所創造的現實,但又意識到那是虛幻。
          他已經超越了技術。也超越了機器。
          posts - 62, comments - 93, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          如何在linux下配置ant去運行svn相關任務

          Posted on 2006-03-30 15:11 Justfly Shi 閱讀(3447) 評論(0)  編輯  收藏 所屬分類: tips
          首先,為了能運行ant相關的svn任務,我們到subclipse的子項目svnant里去下載一個svnant
          地址是:http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=1731&expandFolder=1731&folderID=0
          這個時候如果linux上已經裝有了svn命令行工具的話,那么就可以直接按照把svnant里面的相關的jar放到ant的lib目錄下使用就可以了。
          不過由于一般新安裝的linux系統或者是其他沒有svn客戶端的系統都沒有svn命令行工具,那么可以使用一個全部用java實現的svn客戶端實現來作替代。
          具體的替代辦法在下面這個網址里面提供了
          http://tmate.org/svn/kb/user-guide-svnant.html

          其內容如下:

          Making SvnAnt use JavaSVN

          Step-by-step instructions:

          • Remove existing javahl.jar and svnClientAdapter.jar (libraries distirbuted with the svnant) from your Ant classpath (ANT_HOME/lib/ directory).
          • Download latest version of JavaSVN library. You will need javasvn.jar and javasvn-javahl.jar files from the library distribution.
          • Get patched version of svnClientAdapter.jar (version 0.9.32).
          • Put javasvn.jarjavasvn-javahl.jar and svnClientAdapter-0.9.32.jar files on your Ant classpath (ANT_HOME/lib/ directory).

          After performing the steps above svnant will use JavaSVN instead of JavaHL bindings.

          If you have any questions regarding JavaSVN, would like to report a bug or contribute a patch, please write to support@tmatesoft.com

          主站蜘蛛池模板: 疏附县| 台南县| 福建省| 利辛县| 彰化市| 五原县| 龙泉市| 石门县| 寻乌县| 建湖县| 玉门市| 长顺县| 资溪县| 密云县| 株洲县| 大连市| 喀喇| 青田县| 轮台县| 嘉荫县| 道孚县| 南投县| 望城县| 华坪县| 马公市| 江安县| 同德县| 三亚市| 旬阳县| 黄龙县| 满城县| 鄂托克前旗| 揭东县| 越西县| 兴义市| 曲阜市| 资溪县| 三门县| 成安县| 玉树县| 驻马店市|