• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

newbie..... ant-weblogic ...pls help

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just instaled weblogic workshop 8.1 and i tried to run a simple web service example.After executing a script to set up the enviromental variables this is the next step(according to bea guide):

4)Assemble and compile the example by executing the Java ant utility at the command line:
prompt> ant


Now, I did that but ant is not recognised and here is the output:

E:\bea\weblogic\samples\server\examples\src\examples\webservices\basic\javaclass>ant
'ant' is not recognized as an internal or external command,
operable program or batch file.

What is the proper command to run ant?
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you need to add following to PATH.
D:\jakarta-ant-1.5.1\bin

(I assume that D:\jakarta-ant-1.5.1 is the directory where you have installed/copied ANT)

also set environmental variable
ANT_HOME=D:\jakarta-ant-1.5.1
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic