I do not ask the right question or not, but I want to remove my doubts.
Actually, I came across a script for accessing class files from a jar file. I want to say that I have one backend java project that says ABC with application-context.xml file.
Now I created the jar file of the ABC project and used it in one web application.
Here, I ran into a beans problem not getting Autowired, and found out that the problem was, When I export the ABC project jar file using Eclipse, I did not select the “ADD RECORD GUIDES”, which I did later and everything worked.
to see what changes have been made by checking this box in the jar file so that everything works,
So, I created 2 jar files, one of which is marked as "ADD DIRECTORY ENTRIES", and one with unchecked, then I compared both jars using out of comparison, and found that there is no difference.
Can someone explain to me what exactly ADD DIRECTORY ENTRIES does?
I know that it should add a full structure instead of a single path, for example com / company / project / MyJavaFile.class
com / company /
com / company / project /
com / company / project / MyJavaFile.class
Please correct me if I am wrong.