| [news.eclipse.webtools] Re: How to make Eclipse put jars into WEB-INF/lib? |
For me, the selected jars stayed checked. As you have surmised, just including the jars in the build path doesn't by itself mark them for inclusion in WEB-INF/lib. Using the "J2EE Module Dependencies" page is the correct approach. However, it's not clear why they won't stay checked. You might check the Error Log view to see if something related is present. You could also try creating a new project, copy the lib directory, and see if you can duplicate this issue in the new project. If not, you can compare the ".classpath" and ".settings/org.eclipse.wst.common.component" files to see what the differences are. You could also try removing the jars from build path and adding them on the J2EE Module Dependencies page, which will automatically include them on the build path as well as include them in WEB-INF/lib.
Mauro.