Thursday, March 06, 2014

Eclipse projects share Jar files handle

previously, I put Jar used for each project in project's Webcontent/WEB_INF/lib directory, there are Jars used for many project, and they are put in many place.

to prevent it, I created a user library, put the common used Jar file into it.

then in project properties, 'Java build path' to include the user library.
'Deployment and Assembly' screen, click 'Add' button, then select 'Java Build Path entries', then add the user library.