Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
177 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 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...