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:
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
).
(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
精彩评论