Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

newbie ..ant-weblogic ..pls help

 
lukas gan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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?
 
Mattias Arthursson
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Include the folder where ant.cmd is located in your PATH system variable.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic