Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ivan Jouikov
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So this is really an IDE question. Did you change any options or preferences in the tool?
Moving to the IDE forum.
 
Ivan Jouikov
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
None of my servlets have a "build.xml" file -- what does it do?
 
Ivan Jouikov
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic