LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 04-05-2005, 07:57 PM   #1
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535
Thanked: 0
ANT installation directory


[Log in to get rid of this advertisement]
I'm trying to install some software.
It needs ant, which I installed from the SuSE 9.2 dvd

The instructions say:
Set the ANT_HOME environment to the installation directory.
Add $ANT_HOME/bin to your PATH environment.

If i do a "locate ant", I see:
/usr/share/java/ant-1.6.2.jar
/usr/share/javadoc/ant-1.6.2
/usr/share/javadoc/ant-1.6.2/allclasses-frame.html
...and so on

The problem is that I'm not sure what the ant installation directory is and that I don't see a /bin/ folder associated with any ant directories.
What should I do?
allelopath is offline     Reply With Quote
Old 04-06-2005, 01:00 PM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Slack 10.2, Slack 12, Suse 10.0, DSL 2.2, Xubuntu 7.04
Posts: 920
Thanked: 0
For me at least, the ant directory is /usr/local/ant/, and that would make $ANT_HOME/bin be /usr/local/ant/bin/:

[lthurber@hostname ~]$ echo $PATH
/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:.:/opt/IBM/director/bin:/opt/gnome/bin:/sbin:/home/lthurber/java/bin:/usr/local/ant/bin:/home/lthurber/projects/citicom/build/dev:/usr/java/bin:/usr/local/ant/bin:/home/db2inst1/sqllib/bin:/home/db2inst1/sqllib/adm:/home/db2inst1/sqllib/misc

Alternatively, you could uninstall and reinstall ant, this time giving a directory (i.e. /usr/local) where you'd like it to be installed so that next time you know where to find it.
rose_bud4201 is offline     Reply With Quote
Old 06-23-2006, 06:35 AM   #3
osio
Member
 
Registered: Jun 2005
Posts: 70
Thanked: 0
$ ant -diagnostics

You'll find something like
-------------------------------------------
ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /usr/share/ant
osio is offline  
Tag This Post , , , ,
Reply With Quote
Old 09-17-2009, 06:42 AM   #4
shravee
LQ Newbie
 
Registered: Sep 2009
Posts: 24
Thanked: 0
Post How to install ant

i unzipped the ant.tar.gz file in /usr/Ant/

and in the etc/bashrc file i set the following.

ANT_HOME=/usr/Ant/apache-ant-1.7.0
PATH=$ANT_HOME/bin:$PATH

saved the file and exited.

then entered source ./bashrc


are these the installation steps or anything else is required.









regards
shravan
linuxredhat shravee is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems about ant simprince Programming 1 11-08-2005 10:53 AM
Installation directory Jongi Linux - General 9 10-10-2005 09:09 AM
problem with ant os2 Programming 1 05-20-2005 01:13 AM
installing ant is asking for jaxp_parser_impl giovannym Linux - Newbie 0 06-18-2004 03:04 PM
Jakarta Ant?? powadha Linux - Software 3 01-19-2004 01:46 PM


All times are GMT -5. The time now is 05:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration