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
188 views
in Technique[技术] by (71.8m points)

java - Why does Eclipse asks if you want to add a new project to build path?

I need to clear up a misunderstanding I have with regard to Eclipse and how it manages build path. When one creates a new project, Eclipse offers the option to add the project to the build path. I had assumed, until I noticed this, that any new project being developed would automatically be on the build path, otherwise how would one class in a new project compile and run with another class that it depends on in that same new project? (And yet this happens, seemingly by default, whether the initial "add to build path" option is checked or not.)

What am I missing about build path, and why would one need to explicitly add a brand new project to the build path?

Specific way I am creating a vanilla Java project in Eclipse: File > New > Project > [Select Java Project from tree selector]

First Java Project Creation Wizard Panel Second Java Project Creation Wizard Panel Third Java Project Creation Wizard Panel

question from:https://stackoverflow.com/questions/65833135/why-does-eclipse-asks-if-you-want-to-add-a-new-project-to-build-path

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

1 Answer

0 votes
by (71.8m points)
Waitting for answers

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

...