Say I have com.foo.bar package in the src subdir in a project MyProj.
On the filesystem, this looks like:
~/eclipsews/MyProj/src/com/foo/bar/MyClass1.java
or in MyEclipse package exlporer, this would look like
– MyProj
| – src
| | – com.foo.bar
| | | MyClass1.java
| | + MyClass2.java
| |
In the file system, I added a file testtext.txt using a text editor.
(I did not use MyEclipse New->File.)
testtext.txt does not show up in the package explorer.
How can I make MyEclipse aware of this new file so that it would show it like:
– MyProj
| – src
| | – com.foo.bar
| | | MyClass1.java
| | | MyClass2.java
| | + testtext.txt
| |
and it would copy to the output directory when the package is built?
I tried File>Import with Filesystem. But that did not work because the source and the destination was same. Obviously, I don’t want it to be copied. I just want MyEclipse to be aware that this new file should be managed by it.