The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Setting Up Gant

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ryan Ransford

Posts: 71
Nickname: rdransfo
Registered: Jul, 2008

Ryan Ransford is a Java developer working in the enterprise looking to make the world a better place
Setting Up Gant Posted: Jun 16, 2009 8:34 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by Ryan Ransford.
Original Post: Setting Up Gant
Feed Title: Active-Active Configuration
Feed URL: http://active-active.blogspot.com/feeds/posts/default
Feed Description: Active-Active Configuration is a blog about making my place in the enterprise world better. This blog is primarily focused on Java articles, but be prepared to be challenged by posts about dynamic languages, agile tools, and the lighter side of geek culture.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Ryan Ransford
Latest Posts From Active-Active Configuration

Advertisement
To get things set up for this experiment, I need to do the following:
  • Create and check-out an experimental branch of our project.

  • Get the latest version of all of the appropriate tools:

    • Groovy 1.6.3

    • Gant 1.6.1 for Groovy 1.6

    • Ant 1.7.1


I typically explode all of the archives into a local directory named javalib. That way, I know where to go to get all of my jars/source/documentation.

Setting-up PATHs and *_HOMEs


Now that I have all of these tools un-jarred, I need to tell the computer where to find everything. First, since I haven't been on the command-line in quite some time, I ensure that java is still set up correctly and is the expected version.

Java



%->java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

I also want to make sure that Ant, Groovy, and Gant are setup correctly and are available anywhere. I need to set PATH and *_HOME envrionment variables so that these programs all work correctly.

Ant



%->echo %PATH%
<path information>
%->set PATH=%PATH%;<javalib-dir>\apache-ant-1.7.1\bin;
%->echo %ANT_HOME%
%->set ANT_HOME=<javalib-dir>\apache-ant-1.7.1
%->ant -version
Apache Ant version 1.7.1 compiled on June 27 2008

Groovy



%->echo %PATH%
<path information>
%->set PATH=%PATH%;<javalib-dir>\groovy-1.6.3\bin;
%->echo %GROOVY_HOME%
%->set GROOVY_HOME=<javalib-dir>\groovy-1.6.3
%->groovy -version
Groovy Version: 1.6.3 JVM: 1.6.0_14

Gant



%->echo %PATH%
<path information>
%->set PATH=%PATH%;<javalib-dir>\gant-1.6.1\bin;
%->echo %GANT_HOME%
%->set GANT_HOME=<javalib-dir>\gant-1.6.1
%->gant -version
Gant version 1.6.1

Note that to get the gant -version command to complete, I had to modify the file %GANT_HOME%/bin/startGroovy.bat. It contains an explicit reference to the groovy-1.6.0.jar. I just had to replace it with an explicit reference to the groovy-1.6.3.jar.

Read: Setting Up Gant

Topic: XP2009 Telling Your Stories Workshop Previous Topic   Next Topic Topic: Twitpocalypse hits Twitterific on the iPhone?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use