• Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to create war file  RSS feed

 
smitha rajgopal
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am not able to create war file using the 'build war' command from commad prompt.
I have a folder with just a jsp file and webInf copied into that folder.My jdk1.5 is installed in h: drive and my folder is in d: drive and my java_home is set.My claspath is set to tools.jar present in jdk1.5.
From the command prompt if i try d:example/build war ..i get the error "build is not recognised as internal or external commad".
I even tried setting the 'path' variable to tools.jar.But its giving the same error.
Please help...

Thanks,
Smitha
 
Scott Dunbar
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you have some reading to do. "build" is not part of the JDK environment. You'll want to use jar to create war files.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!