This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ANT Script for war file build with only jsp's

 
ChakraPani Margani
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have some jsp's in my web application. I don't have any servlets or other classes.

I need ant script to build the war file. I have tired with some other scripts but unable to execute. Getting like web.xml is not able to find like error..

Can any body help me to provide ant scritp for building war file..

Thanks in advance..
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's try this another way. What do you have so far? What specific error are you getting?

Also, what is the directory structure of your web project? Does it look like a war should?
 
ChakraPani Margani
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have attached the project structure as image.

I can export the war file from eclipse editor. I want some ant script to provide war file.

I have only jsp's,html's. Don't have any java classes.

Help me on this.

thanks in advance.
proj_structure.PNG
[Thumbnail for proj_structure.PNG]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's good - it is a standard web directory structure. What Ant script did you run and what error did it give you?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic