running ant scripts outside the RAD

gudii9
gudii9 used Ask the Experts™
on
Hi,

I am trying to run few ant scripts which are working fine through RAD like
>>>>ant -buildfile build.xml
When I try to run them getting errors like cannot recognize ant etc. How can i fix and run ant. Any links, resources, ideas highly appreciated. Thanks in advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Java Developer
Top Expert 2010
Commented:
add ant's bin directory to your PATH

Author

Commented:
added until bin to path within user variables and ANT_HOME new entry also to user variables upto top root directory of ant which fixed issues

Author

Commented:
thank you vwery much

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial