Reputation: 105187
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.
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 folder. 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
Upvotes: 1
Views: 68
Reputation: 2795
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
Upvotes: 1