开发者

Why does Eclipse try to always add my java files to the Proj/src directory instead of the one I'm trying to add it to?

开发者 https://www.devze.com 2023-02-22 08:49 出处:网络
Why does Eclipse try to always add my java files to the Proj/src directory instead of the one I\'m trying to add it to? I mean, I get what it is trying to do, but I\'d like to know how to override tha

Why does Eclipse try to always add my java files to the Proj/src directory instead of the one I'm trying to add it to? I mean, I get what it is trying to do, but I'd like to know how to override that behaviour.

Edit

Here is what I'm trying to do:

Why does Eclipse try to always add my java files to the Proj/src directory instead of the one I'm trying to add it to?

I have trunk/src/acdc/ast selected and I wish to add a java file to that fold开发者_开发知识库er. Yet when I try to add it, it adds it to TTT. (it added it first to TTT/src but since I've removed it from the build path it started adding it straight into TTT).

Why does Eclipse try to always add my java files to the Proj/src directory instead of the one I'm trying to add it to?

(and here is how I'm trying to add the files)

Thanks


Right click on src, select Build Path > Remove from build path


If you are using the Java perspective, your screenshot seems to indicate that your trunk/src folder is not a source folder for Eclipse.

Try right clicking on it and selecting Build Path -> Use as Source Folder

0

精彩评论

暂无评论...
验证码 换一张
取 消