• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
 
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic