ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Hinojosa" <dhinoj...@evolutionnext.com>
Subject I hit a brick wall getting started....
Date Thu, 20 Mar 2008 20:38:29 GMT
I have downloaded ivy.  I have saved it in my ~/java directory.  Here is the
setup of my machine...

danno@danno-laptop:~/java/apache-ivy-2.0.0-beta2/src/example/hello-ivy$ echo
${ANT_HOME}
/home/danno/java/apache-ant-1.7.0
danno@danno-laptop:~/java/apache-ivy-2.0.0-beta2/src/example/hello-ivy$ ant
-version
Apache Ant version 1.7.0 compiled on December 13 2006
danno@danno-laptop:~/java/apache-ivy-2.0.0-beta2/src/example/hello-ivy$ ls
-l ${ANT_HOME}/lib/*.jar
-rw-r--r-- 1 danno danno    5769 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-antlr.jar
-rw-r--r-- 1 danno danno    8627 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-apache-bcel.jar
-rw-r--r-- 1 danno danno    3980 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-apache-bsf.jar
-rw-r--r-- 1 danno danno    3074 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-apache-log4j.jar
-rw-r--r-- 1 danno danno   39591 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-apache-oro.jar
-rw-r--r-- 1 danno danno    3737 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-apache-regexp.jar
-rw-r--r-- 1 danno danno    4080 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-apache-resolver.jar
-rw-r--r-- 1 danno danno    3943 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-commons-logging.jar
-rw-r--r-- 1 danno danno   47163 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-commons-net.jar
-rw-r--r-- 1 danno danno   21368 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-jai.jar
-rw-r--r-- 1 danno danno 1289806 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant.jar
-rw-r--r-- 1 danno danno    7011 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-javamail.jar
-rw-r--r-- 1 danno danno    8152 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-jdepend.jar
-rw-r--r-- 1 danno danno    6609 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-jmf.jar
-rw-r--r-- 1 danno danno   30122 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-jsch.jar
-rw-r--r-- 1 danno danno   92792 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-junit.jar
-rw-r--r-- 1 danno danno   11734 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-launcher.jar
-rw-r--r-- 1 danno danno    9895 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-netrexx.jar
-rw-r--r-- 1 danno danno  430311 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-nodeps.jar
-rw-r--r-- 1 danno danno   35404 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-starteam.jar
-rw-r--r-- 1 danno danno    2334 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-stylebook.jar
-rw-r--r-- 1 danno danno    6713 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-swing.jar
-rw-r--r-- 1 danno danno   14919 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-testutil.jar
-rw-r--r-- 1 danno danno    6897 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-trax.jar
-rw-r--r-- 1 danno danno   14254 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/ant-weblogic.jar
-rw-r--r-- 1 danno danno 1212965 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/xercesImpl.jar
-rw-r--r-- 1 danno danno  195119 2006-12-13 07:15 /home/danno/java/apache-
ant-1.7.0/lib/xml-apis.jar
danno@danno-laptop:~/java/apache-ivy-2.0.0-beta2/src/example/hello-ivy$ java
-version
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)

I followed the directions on
http://ant.apache.org/ivy/history/2.0.0-beta2/install.html

If you use ant 1.6.0 (I use 1.7.0) or superior, you can then simply go to
the src/example/hello-ivy dir and run ant: if the build is successful, you
have successfully installed Ivy !

Here is the output of my situation...
danno@danno-laptop:~/java/apache-ivy-2.0.0-beta2/src/example/hello-ivy$ ant
Buildfile: build.xml

resolve:

BUILD FAILED
/home/danno/java/apache-ivy-2.0.0-beta2/src/example/hello-ivy/build.xml:38:
Problem: failed to create task or type antlib:org.apache.ivy.ant:retrieve
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -/home/danno/java/apache-ant-1.7.0/lib
        -/home/danno/.ant/lib
        -a directory added on the command line with the -lib argument


Total time: 0 seconds
danno@danno-laptop:~/java/apache-ivy-2.0.0-beta2/src/example/hello-ivy$

I am not getting a warm fuzzy feeling about this.




-- 
Daniel Hinojosa
Programmer, Instructor, and Consultant

2529 Wisconsin St. NE
Albuquerque, NM 87110
dhinojosa@evolutionnext.com

http://www.evolutionnext.com
http://www.abqjug.org

(505) 363-5832

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message