File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes JAR file revisions/build path & weird behavior questions in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "JAR file revisions/build path & weird behavior questions in Eclipse" Watch "JAR file revisions/build path & weird behavior questions in Eclipse" New topic
Author

JAR file revisions/build path & weird behavior questions in Eclipse

Melinda Savoy
Ranch Hand

Joined: Jun 21, 2005
Posts: 387

2 newbie questions:

1. In Eclipse I have a project where in the build path under the Libraries tab there listed Apache Tomcat v6.0 [Apache Tomcat v6.0] because in the LIB directory there are a number of jars that pertain to this project. I have updated one of the jars in this library. However, when I'm using the debugger in Eclipse and I reference the compiled class in this jar it does not show the update that I made and that I exported out to this jar. I have verified that the jar that I exported to this library contains the updated class in the jar but again, the debugger appears to show a non-updated class from somewhere else. Any suggestions or direction here would be appreciated.

2. In my dynamic web project I had created a test index.jsp (TESTindex.jsp) page and had the original index.jsp page in the same web content folder. I was renaming these accordingly to test. I completed testing and deleted the TESTindex.jsp page but when I run my app the deleted TESTindex.jsp page is still showing up as my index.jsp page. I did a SEARCH on my C: for the specific test in the TESTindex.jsp page but search did not find anything. Is there somewhere in Eclipse that is holding that TESTindex.jsp page as my index.jsp page? Is there a cache in Eclipse that I can clear out or something like that? This is driving me crazy. I have my good index.jsp that I'm needing my web app to execute but I cannot get it done. I've removed and added the project to Tomcat in the Servers tab and I've rebooted Tomcat several times but to no avail. Again, any suggestions or direction here would be appreciated.



Thank you.
Melinda Savoy
Ranch Hand

Joined: Jun 21, 2005
Posts: 387

I got #2 fixed below with the help of the Tomcat users list.

However, I’m still having an issue with #1. Again, any suggestions or direction would be appreciated.

Thank you.
 
jQuery in Action, 2nd edition
 
subject: JAR file revisions/build path & weird behavior questions in Eclipse