I have an eclipse project setup which contains files of type .java, .properties, .xml, .png, etc. Surprisingly, only class files of the corresponding .java files are copied to /bin directory. No other non-java files such as .properties, .xml, .png etc. are not copied. What could be the reason for this? I am using Eclipse-Galileo and jdk 1.6. Please help me in this regard.
Regards,
Omkar V S
This message was edited 1 time. Last update was at by Omkar Shetkar
The "bin" directory is just the default location for the Java compiler to place compiled classes. It is not a "build" directory.
If you want to use it as a build directory, you would have to set up builders to copy the non-class files (note I said non-CLASS, not non-Java!).
More commonly, there's separate build directory and you copy both the non-class files and the class files into that directory and (usually) then use that directory as the source for creating WAR or JAR file or something similar.
I actually don't bother to configure Eclipse for that, since I have a policy that the IDE is for development, but builds should be doable without needing an IDE, so I use Eclipse to launch Maven or Ant and let them handle the job.
A lot the of modern-day software development platforms are designed to permit parcelling out work to those with the best aptitude for it. A lot of modern-day business is predicated on making one person do all the work, regardless of aptitude.