• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling web apps files

 
ramdas pradeep kumar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • 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 ]
 
Eelco den Heijer
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic