I have few class files that are required for my project. I have added them in the source folder itself in appropriate folder structure. My limitation is that I have to deliver a single jar file with all dependent classes. It cannot be an executable jar file.
Now the problem I am facing is that when I selected export in eclipse to export the jar file, I am not getting the class files (.class) I have added in source folder, getting exported. They are not even getting listed in the package explorer. How can I acheive this? any export setting need to be modified?
To be pricise, my project is like this
project
src
com
test
file1.java
file2.java
external
class1.class
class2.class
Now I want the generated classes for my source files and the class files that I have added myself all to be exported into the jar.