[Tomcat Wiki] Update of FAQ/Developing by ChristopherSchultz
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The FAQ/Developing page has been changed by ChristopherSchultz: http://wiki.apache.org/tomcat/FAQ/Developing?action=diffrev1=13rev2=14 Comment: Added links to Tomcat's Building with Eclipse user guide section. }}} If you look in (project root)/res/ide-support/eclipse/java-compiler-errors-warnings.txt, you'll see a set of compiler warnings and import organization rules that you will have to set up manually in your project. If you set those up properly, you are more likely to submit cleaner patches. + + A full explanation for Tomcat in Eclipse can be found here: + Tomcat 7.0.x: http://tomcat.apache.org/tomcat-7.0-doc/building.html#Building_with_Eclipse + Tomcat 6.0.x: http://tomcat.apache.org/tomcat-6.0-doc/building.html#Building_with_Eclipse === Debugging === - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of FAQ/Developing by ChristopherSchultz
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The FAQ/Developing page has been changed by ChristopherSchultz: http://wiki.apache.org/tomcat/FAQ/Developing?action=diffrev1=14rev2=15 If you look in (project root)/res/ide-support/eclipse/java-compiler-errors-warnings.txt, you'll see a set of compiler warnings and import organization rules that you will have to set up manually in your project. If you set those up properly, you are more likely to submit cleaner patches. A full explanation for Tomcat in Eclipse can be found here: - Tomcat 7.0.x: http://tomcat.apache.org/tomcat-7.0-doc/building.html#Building_with_Eclipse + * Tomcat 7.0.x: http://tomcat.apache.org/tomcat-7.0-doc/building.html#Building_with_Eclipse - Tomcat 6.0.x: http://tomcat.apache.org/tomcat-6.0-doc/building.html#Building_with_Eclipse + * Tomcat 6.0.x: http://tomcat.apache.org/tomcat-6.0-doc/building.html#Building_with_Eclipse === Debugging === - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Tomcat Wiki] Update of FAQ/Developing by ChristopherSchultz
Dear Wiki user, You have subscribed to a wiki page or wiki category on Tomcat Wiki for change notification. The FAQ/Developing page has been changed by ChristopherSchultz: http://wiki.apache.org/tomcat/FAQ/Developing?action=diffrev1=12rev2=13 Comment: Added hacking with Eclipse section This section of the FAQ discusses common questions related to Tomcat development. == Questions == + 1. [[#Hacking|Hacking]] +1. [[#Q5|How do I start hacking Tomcat in Eclipse?]] 1. [[#Debugging|Debugging]] 1. [[#Q1|How do I configure Tomcat to support remote debugging?]] 1. [[#Q2|How do I remotely debug Tomcat using Eclipse?]] @@ -11, +13 @@ 1. Other 1. [[#Q4|How do I change the monitoring interval for modified resources and application reloading?]] == Answers == + + === Hacking === + + Anchor(Q5) + How do I start hacking Tomcat in Eclipse? + + Briefly: + + {{{ + $ svn checkout http://svn.apache.org/repos/asf/tomcat/trunk + (or whatever branch you want: clearly, this would be better + to do directly from within Eclipse but it's easier to describe + as a command) + + $ cd trunk + + $ echo base.path=/path/to/where/tomcat/can/put/its/3rd-party/libs build.properties + + $ ant ide-eclipse + }}} + + Then, in Eclipse, go to Preferences | Java/Build Path/Classpath Variables and set + the following variables: + + {{{ + ANT_HOME=path to your Ant install (where lib/ant.jar can be found) + TOMCAT_LIBS_BASE=[whatever you set base.path to above] + }}} + + If you look in (project root)/res/ide-support/eclipse/java-compiler-errors-warnings.txt, you'll see a set of compiler warnings and import organization rules that you will have to set up manually in your project. If you set those up properly, you are more likely to submit cleaner patches. === Debugging === - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org