Two very important files in your Eclipse project are the .project and .classpath
Both of these are XML files.
.project contains all the information about your project and Eclipse reads this when it opens your project
.classpath contains the CLASSPATH of the project and Eclipse reads this when it compiles your project
Tip: If you give your Eclipse project to your colleagues, you will need to give them both these files. If your .classpath contains absolute paths that are specific to your machine, it can cause problems to other members of your team. This is a common problem when people checkin an Eclipse project into a source control system for team sharing.
1 comment:
I remember a discussion where Java internally likes relative classpaths... is that when the application container loads the war file?
Post a Comment