• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Compiling web apps files

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
apache tomcat
after the initial deployment of war, can we recompile the source files from the same directory where web application is deployed.?
how to access the lib files while compiling?
[ September 20, 2003: Message edited by: ramdas pradeep kumar ]
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the best thing to do is to get your development environment setup first; set up the directories, libraries etc. Configure your classpath. Then compile everything, create a war file (or an ear file), deploy it in Tomcat.
For a next development cycle, repeat the above steps; change code, compile, create war file, deploy to Tomcat.
For all these repetitive task, I can recommend using Ant.
The way you describe it is not very common, and not at all practical; you deploy the class files, war, ear file, html files etc. but not the Java source files. The only exception are the JSP files; some people actually edit the deployed JSP's. Just look in the deployed folder of Tomcat, find the JSP, edit it and lookup the page again.
Hope this helps
 
this llama doesn't want your drama, he just wants this tiny ad for his mama
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic