Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need some information about Ant

 
flying jordan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I heard that "Ant" is good tool to do build, deploy ? Could someone give me the web site where I can learn and dwonload ? Is it free ? what's the advantage of using it ?
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi er flying,
Here's the site:
Apache ANT
Michael Morris
SCJD2
[ August 02, 2002: Message edited by: Michael Morris ]
 
Greg Brouelette
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it's free, and yes it's a great tool.
I currently have an ant build.xml file that cleans my build directory, compiles the code, builds the jar, deploys the jar and all the web files into the proper directory structure in WebSPhere, jars the EJBs, runs jetace on those EJBs, deploys the EJBs into WebSphere, bounces the WebSphere server to restart it with all the new code changes.
All I type is
ant all
I like it a lot.
[ August 02, 2002: Message edited by: Greg Brouelette ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
flying jordan,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaRanch published an Article about Ant a while back. It is pretty good - of course it was written by Thomas Paul - so what do you expect .
 
Erik Hatcher
Author
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the things I want to improve is the education about Ant's <property> task. The JavaRanch article is a great introduction, but I'd like to see folks use:

The 'location' attribute has a very important difference between just the regular 'value' attribute in that it assigns the absolute path of the directory to the property rather than just the string which may (and likely is) a relative path. This is critical for multi-level builds where a relative path in a sub-build could point to an undesired location.
 
Wilfried LAURENT
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Flying Jordan (!)
If you have questions about Ant, you may consult the Jakarta forum, which Ant is part of.
W.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic