Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
246 views
in Technique[技术] by (71.8m points)

java - difference between clean and clean working directory in Eclipse WTP with Tomcat

I am using Eclipse for Java web development. I have WTP and Tomcat installed. I run Tomcat via Eclipse (which is a pretty standard configuration).

What I want to understand is that:

When you right click on a server in the Servers tab, it gives you two options:

  1. Clean
  2. Clean Working Directory

Not much information could be found on Google. People are blindly choosing "Clean". Could someone please explain the difference between the two options?

Thank you in advance.

question from:https://stackoverflow.com/questions/17006461/difference-between-clean-and-clean-working-directory-in-eclipse-wtp-with-tomcat

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Clean: Purges all webapps and redeploys them (don't do this while the Tomcat instance is running)

Clean working dir: Cleans out Tomcat's work dir, e.g., where compiled JSPs go. See here.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...