• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse: confusions about war files and jar files

 
himani jangid
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never put my hands on in creating jar and war files. so i have following confusions:
1) first of all if we are using tomcat using eclipse then we can run those project in other browsers apart from the eclipse inbuilt browser.
those browsers can display our project but can we run those projects that were not created using eclipse??
eg. i have few old projects that are placed in web-app folder of tomcat so problem is that previously i was use to run them by setting environment var like catalina_path etc but with eclipse we dont need to do this but still
we are able to run the projects in external browsers but i am only able to run those projects that i have created using eclipse and could not run those which i have kept in web-app folder of tomcat.
so , to run those do i need to set the environment variables??

2)with eclipse i can export and import war files. when imported it is again converted to the same project hierarchy or unzipped but can i run those war files without unzipping them. or you can say can i made them read only
and then run using eclipse or using external browsers.




 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Eclipse uses its own internal webapps directory and deploys wars it builds there. A grep (within workspace/.metadata) should find that directory for you, you could place your wars there. I think there might also be an option to deploy the the Tomcat webapps directory. Of course, there is always the sysdeo plugin which many ranchers recommend.

2) Not sure that you are asking here, but does my previous answer help?
 
himani jangid
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, i was not clear while posting the question. now these things are clear to me and i understood your point 1 too.. thanks for your help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic