• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Ant related problem on weblogic 8.1

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to All,
I am new in webservices.
I am using weblogic 8.1, jdk 1.4.
I am making a simple program of webservice.
I set the path on command prompt.
set path=C:\bea\jdk141_02\bin;
set classpath=C:\bea\weblogic81\server\lib\weblogic.jar;.
when I write ant then press enter.
Its show:
'ant' is not as internel or externel command, operable program or batch file.

Please write what happened
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kumar VijayDahiya,

The problem is Apache Ant is not in the path.

When you run the command ant, it will call the ant.bat / ant.cmd (Same like java.exe you used to set it in the path)

You need to browse to your %DOMAIN_DIR% i.e., your weblogic 8.1 installed location and run the command setDomainEnv.cmd

*cd %DOMAIN_DIR%*

*setDomainEnv.cmd*

Now type *ant -version*

Run all the above in command prompt.

Regards,
Zack


Originally posted by vijay kumar dahiya:
Hello to All,
I am new in webservices.
I am using weblogic 8.1, jdk 1.4.
I am making a simple program of webservice.
I set the path on command prompt.
set path=C:\bea\jdk141_02\bin;
set classpath=C:\bea\weblogic81\server\lib\weblogic.jar;.
when I write ant then press enter.
Its show:
'ant' is not as internel or externel command, operable program or batch file.

Please write what happened

 
vijay kumar dahiya
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Zack for your assistance.
-Vijay
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!