文章詳情頁
基于Rake和Gems的Java構造工具Raven 1.1 發布
瀏覽:86日期:2024-03-07 15:31:05
Raven 1.1 發布了.Raven 是一款基于Rake和Ruby Gems的Java構造工具, 讓你更簡單地構件Java項目. Raven 為Java提供了處理依賴以及特別的Rake 任務, 這些都是基于Ruby的.但是為何要將我們的構建系統基于Rake 和Ruby Gems之上呢?官方給的解釋: Rake 是很簡單的構建系統, 是基于Ruby的, 是一個腳本語言, 讓你在不需要使用Java的某些場合, 可以更方便地進行構建.同時,Ruby Gems 也更容易處理包的依賴,刪除和更新.官方提到:---Your jar files are wrapped in a Ruby Gem (a package). You can then start manage your java jar library just like a Gem library. Tools are provided to convert a Maven jar repository to a Gem repository (both local on your machine or on a public server) or to directly install packages. ---Your dependencies are declared in a Rakefile. You basically say which Gems you need (and so which jars will be included in your classpath) for building. When building, if some Gems are missing, they are automatically installed in your local Gem repository. Just like Maven. ---Raven gives you a small library of Rake tasks that you can use to compile your java classes, build a jar file, build a war file, produce javadoc, wrap the jar you built in a Gem, ... ---This effectively gives you everything you need to build Java projects, using Gems for dependencies management and Rake for scripts. 下載:http://raven.rubyforge.org/
標簽:
Java
相關文章:
排行榜