These directions are specific to Eclipse, but you should be able to abstract them to work with your IDE of choice. Here's a guide to the extra legwork you'll have to do to compile Tomcat in an IDE.īefore you pe in, you should take note that it isn't possible to eliminate Ant from the build process these directions will simply allow you to complete the build with the support of IDE features, and ultimately run Tomcat within Eclipse. Here's the fix:ĭownload JSSE 1.0 from Sun's website and place it in an appropriate location.Ĭhange the property in Tomcat's build.properties to indicate the directory where JSSE 1.0 is located.Īlthough only the "Ant" method of building Tomcat 5.5 is officially supported by the development team, it is possible to build Tomcat in Eclipse and other IDEs, if you find this method a better fit for your needs. You just need to download the missing classes. Tomcat 5.5 contains these dependencies to support JSSE 1.0 for users of pre-1.4 JVMs.Īlthough upgrading to Tomcat 6.x fixes this bug, as the dependencies are no longer included, you don't need to upgrade or switch to a Sun JDK to get your build working. ![]() If you try to build Tomcat 5.5 non-Sun JDK such as IBM JDK, you'll may run into some errors caused by missing Sun-specific SSL classes. If you run into this bug, upgrade to the latest release of Ant and try the build again. With directory yourpath/jakarta-tomcat-5/Repository/tomcat-deps/src/java/org/apache/commons The error message will include something like this:Ĭannot replace directory yourpath/jakarta-tomcat-5.5.9-src/jakarta-tomcat-5/Repository/tomcat-deps/src/java/org/apache/tomcat/dbcp ![]() If you try to build Tomcat 5.5 using Ant 1.6.4, you'll get an error, due to changes in this build that do not allow a directory to be moved onto another directory. Here are easy fixes for two common errors you might run into. ![]() ![]() If you're working with a legacy system, you might run into some bugs while trying to build Tomcat 5.5. Tip: Tcat's live diagnostic feeds gives you fast, centralized insight into Tomcat 5.5 performance across your entire Tomcat infrastructure.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |