+612 9045 4394
Raven : Scripting Java Builds with Ruby - Matthieu Riou


Scripting Java Builds with Ruby

Paperback Published: 16th July 2007
ISBN: 9781590598757
Number Of Pages: 104

Share This Book:
Ships in 5 to 9 business days

Raven is a Ruby-based build system that leverages Ruby tools (namely Rake and Gems) to help you effectively and easily manage your Java projects, providing a way to handle dependencies and specific tasks for Java. "Raven: Scripting Java Builds with Ruby" covers the most productive and flexible Java build tool around with the following approach: Uses practical examples and concise explanations to show you how to effectively use Raven Summarizes best practices and delves into coverage of the more complex scenarios you will inevitably encounter when using Raven Empowers you to set up a complete build environment in no time What you'll learn Why Gems are useful and how to manage your local Gem repository How to create your first Rake file, effectively use Raven's command-line features, and manage task dependencies How to execute Raven tasks and adhere to best practices by following along with a number of simple yet practical examples How to wrap your Java code into your own Gems, allowing you to easily maintain, reuse, and disseminate your code using the Gem packaging system How to apply advanced techniques like building your own Gem repository and more Who is this book for?

Any beginning, intermediate, or advanced Java developer or architect having some interest in using the Ruby language to supplement their skill set. Readers interested in build tools such as Ant and Maven will also find this book appealing. Related Titles The Definitive Guide to Grails Beginning POJOs: Lightweight Java Web Development Using Plain Old Java Objects in Spring, Hibernate, and Tapestry Pro Apache Ant

From the reviews:

"The book's structure and short length make it easy for the reader to first download the software, and then follow the trail to easier build management. The book describes the origin of Raven and other scripting capabilities. ... In conclusion, Raven is shown to be an effective approach to improving Java builds management issues. This book will help users easily decide for themselves how these capabilities fit into their environment." (Scott Moody, ACM Computing Reviews, Vol. 49 (11), November, 2008)

About the Authorp. v
About the Technical Reviewerp. vii
Introductionp. ix
Dreams of Buildp. 1
The First Acronym: DSLp. 1
No App Is an Island: Dependenciesp. 3
More on Dreamsp. 4
Raven Takes Offp. 5
The Mandatory Installation Guidep. 5
The Native Ruby Wayp. 6
The JRuby Wayp. 7
Your First Rakefilep. 8
Building Something Realp. 9
Compilingp. 10
Putting It in a JARp. 12
What's Up, Doc (Ruby Doc, That Is)?p. 13
Going to War Peacefully: WAR Filesp. 13
The True Nature of Tasksp. 14
Summaryp. 17
Wait, I Have Dependencies!p. 19
The Jewelry Business: RubyGemsp. 19
Brilliance: How RubyGems Worksp. 20
Crafting: Using RubyGemsp. 21
Raven Gets Brilliant: Handling Dependenciesp. 23
Installing Dependenciesp. 24
Choosing a Versionp. 26
Installing a Projectp. 26
Surrendering Autonomy: The dependency Taskp. 27
Building Classpaths: The lib-dir Taskp. 29
Doing It Your Way: Adding Dependencies Explicitlyp. 30
Test Time: The junit Taskp. 30
Summaryp. 31
Divide and Conquer: Multimodule Projectsp. 33
Modules to Gemsp. 33
A Full Project Buildp. 35
A Common Rakefile to Eliminate Redundancyp. 38
One Task to Bind Them Allp. 40
Cleanupp. 43
Summaryp. 44
Public or Private Repositoryp. 47
Automatic Dependency Installation: The Grand Unified Repositoryp. 47
Keeping It Personal: Your Own Repositoryp. 48
From a Maven Repositoryp. 49
From Your Own Librariesp. 50
The Direction to Your Repositoryp. 51
Summaryp. 52
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9781590598757
ISBN-10: 159059875X
Audience: General
Format: Paperback
Language: English
Number Of Pages: 104
Published: 16th July 2007
Publisher: Apress
Country of Publication: US
Dimensions (cm): 23.5 x 19.05  x 0.36
Weight (kg): 0.13