Constance,

I'm not sure what version of Ant you need, but apache ant comes on the RHEL DVD 
and can be installed from there instead of the apache ant tarball.  I'm not 
sure what all is included in the tar that you downloaded from Apache.org, but 
these are all of the available packages that come back when I do a "yum search 
ant":

Note: I've removed the other packages that contain "ant" in them from the 
search results here.

[root@chronos log]# yum search ant
ant.x86_64 : Ant build tool for java
ant-antlr.x86_64 : Optional antlr tasks for ant
ant-apache-bcel.x86_64 : Optional apache bcel tasks for ant
ant-apache-bsf.x86_64 : Optional apache bsf tasks for ant
ant-apache-log4j.x86_64 : Optional apache log4j tasks for ant
ant-apache-oro.x86_64 : Optional apache oro tasks for ant
ant-apache-regexp.x86_64 : Optional apache regexp tasks for ant
ant-apache-resolver.x86_64 : Optional apache resolver tasks for ant
ant-commons-logging.x86_64 : Optional commons logging tasks for ant
ant-commons-net.x86_64 : Optional commons net tasks for ant
ant-javamail.x86_64 : Optional javamail tasks for ant
ant-jdepend.x86_64 : Optional jdepend tasks for ant
ant-jsch.x86_64 : Optional jsch tasks for ant
ant-junit.x86_64 : Optional junit tasks for ant
ant-nodeps.x86_64 : Optional tasks for ant
ant-swing.x86_64 : Optional swing tasks for ant
ant-trax.x86_64 : Optional trax tasks for ant

To install this, you just need to do a "yum install ant.x86_64" and you should 
be ready to go.

Ben Branch
UNIX/Linux Administrator
University of Central Oklahoma
ITIL Foundation v3, Network+, RHCSA

100 N. University Drive, Box 122
Edmond, OK 73034
D: 405.974.2649 | M: 405.550.6804 | bbranch@uco.<mailto:bbranch@uco.>edu | 
www.uco.edu<http://www.uco.edu/>

"I am wiser than this man, for neither of us appears to know anything great and 
good; but he fancies he knows something, although he knows nothing; whereas I, 
as I do not know anything, so I do not fancy I do. In this trifling particular, 
then, I appear to be wiser than he, because I do not fancy I know what I do not 
know."  - Socrates

From: Constance Morris [mailto:[email protected]]
Sent: Monday, June 10, 2013 3:58 PM
To: [email protected]
Subject: [cas-user] {cas-usr} building from ground up

Good Afternoon,
If my question should be directed elsewhere - please let me know.

This is my first time building a server as well as a CAS server and am stumped. 
I have setup the virtual machine in vmware. The OS is RHEL 6.4

I haven't even got CAS 3.5.1 installed yet....

I'm building my tomcat and am trying to follow the apache.org steps by having 
downloaded and installed the JDK version 6u45 first.
Then set the environment variable JAVA_HOME in my .bashrc file.

When I check this (java -version) - I get the response:


Ø  Java version "1.6.0_24"

Ø  OpenJDK Runtime Environment (IcedTea6 1.11.5) (rhel-1.50.1.11.5.e16_3-x86_64)

Ø  OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Which I thought meant it worked. So I moved on to the Apache Ant and this is 
where I am stumped.

I downloaded and unpacked the apache ant 1.8.1 and have tried to set the 
environment variable in the .bash_profile file as mentioned in an article I 
found online at docs.oracle.com

Added:


Ø  ANT_HOME=/apache-install-dir/apache-ant-version

Ø  ANT_OPTS="Xms256M -Xmx512M"

Ø  PATH=$PATH:$HOME/bin:$ANT_HOME/bin

Ø  Export ANT_HOME ANT_OPTS PATH

But when I check it by entering either 'ant' or 'ant -version' I get the error 
message


Ø   -bash: ant: command not found

Can anyone point me to a site for instructions or assist me through this hurdle?

Thank you!
Constance

--
You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[email protected]>
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to