*
The moose likes IDEs, Version Control and other tools and the fly likes How can I prevent my software from deploying web in WAR format?  I want folders! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How can I prevent my software from deploying web in WAR format?  I want folders!" Watch "How can I prevent my software from deploying web in WAR format?  I want folders!" New topic
Author

How can I prevent my software from deploying web in WAR format? I want folders!

Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
Everything used to be fine when eclipse/lomboz deployed my project into my /webapps/modulename/ folder.. it made testing a snap and everything was cool...
But one day (yesterday) for some reason it started deploying my project into /webapps/modulename.war and it bugs the shit out of me because I takes me forever to do the whole thing and my stupid tomcat doesnt want to extract the archive anyway..
so what I want is for the software to go back to deploying it in a folder manner, rather than WAR manner... does anybody have any ideas?
Thank you in advance, your help is greatly appreciated
Ivan
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
So this is really an IDE question. Did you change any options or preferences in the tool?
Moving to the IDE forum.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
I dont remember changing anything (and I am the only 1 who has access to my comp)... IT just started doing it and that's all...
I have a suspicion the reason might be in build.xml... which I also haven't changed... help anybody?
To moder: I still belive this thing belongs to the java servlet forum, since the problem might be in build.xml
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
None of my servlets have a "build.xml" file -- what does it do?


Ron Newman - SCJP 1.2 (100%, 7 August 2002)
Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
build.xml is an ant file used for faster and more convinient development..
of course, in my case, it caused (and still causing) 2 days of total hell...
Sam Kebab
Ranch Hand

Joined: Jan 23, 2002
Posts: 104
Ivan
Sorry i am not an eclipse expert, but in the meantime while you have not solved your problem why not consider deploying the WAR on a JBoss-Tomcat server. JBoss has "hot deploy" which means you do not need to re-start the server when you deploy your war.
Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
Well, thanx for tip, but Eclipse in fact simply runs Ant, so all I had to do was to screw around with Ant and now it seems to be working (more or less )
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How can I prevent my software from deploying web in WAR format? I want folders!