In order to get Apache Ivy working from the command-line on OS X, I did the following:
(Get the current versions of Ant and Ivy)
(or copy the folder to /usr/local and create a symlink to ant)
(For the sake of simplicity, I'm just copying the ivy jar into Ant's lib folder):
(Set the home for the current session - this should be added to bashrc in order for it to work permanently)
Test with:
(You should see something like)
Apache Ant version 1.7.1 compiled on June 27 2008
If so, you can go into one of the ivy example folders:
If this has worked, you should see:
run:
[java] standard message : hello ivy !
[java] capitalized by org.apache.commons.lang.WordUtils : Hello Ivy !
BUILD SUCCESSFUL
If you want to use ivy in Eclipse, all you should need to do is make sure the jar is in the buildpath.
I found this guide pretty useful for installing Ant in OS X:
http://www.asceticmonk.com/blog/?p=388
Wednesday, 31 December 2008
Subscribe to:
Post Comments (Atom)
Blog Archive
-
►
2011
(35)
-
►
June
(6)
- MarkLogic/XCC: Copying a Module with User Content ...
- MarkLogic: clearing a forest in a database program...
- MarkLogic: Enabling debug options when using the S...
- Linux: SCP syntax and structure note
- MarkLogic/XCC: Installing Modules Programatically
- Eclipse: Installing XQDT (and DLTK) on Eclipse Ind...
-
►
June
(6)
-
►
2010
(43)
-
►
September
(7)
- MarkLogic: Creating Multiple Range Element Indexes...
- MarkLogic: Listing all Collections in a Database
- MarkLogic: Basic Database Cloning Script
- MarkLogic: Estimating the number of documents cont...
- MarkLogic: Search: Compound OR Queries
- MarkLogic: XQuery: Check for the presence of an el...
- MarkLogic: XQuery: Type Validation using xsi:type
-
►
September
(7)
0 comments:
Post a Comment