Installation Use Eclipse 2.0 build This plugin does not contain Tomcat 4 or 3.3. (Download and install Tomcat before using this plugin). This is a desing choice not to include Tomcat in the plugin distribution, this way everyone can choose a Tomcat version, it is easy to switch from one Tomcat version to another. Download tomcatPluginV2.zip Unzip it in <eclipse_home>/plugins Plugin activation : select menu 'Window->Customize Perspective...', expand 'Actions Sets' and check 'Tomcat'
Set Tomcat home : Window -> Preferences, select Tomcat and set Tomcat home This plugin launches Tomcat using the default JRE checked in Eclipe preferences window. To set a JDK as default JRE for Eclipse open the preference window : Window -> Preferences -> Java -> Installed JREs. This JRE must be a JDK (This is a Tomcat prerequisite). We recommend that you use JDK 1.4 as it supports hot code replacement feature. The plugin sets itself Tomcat classpath and bootclasspath. Use Preferences -> Tomcat ->JVM Settings, only if you need specific settings. For installation steps screenshots and details on settings see 'tutorial 1 : Tomcat plugin installation and settings' (this page will be available soon) Working with Tomcat project This plugins add a new type of Java project to Eclipse : Tomcat project. A Tomcat project could be automatically declare in Tomcat configuration. Compilation build path will be set automatically. For more information see 'tutorial 2 : working with Tomcat projects' (this page will be available soon) If you don't want to use the Tomcat project wizard, see noTomcatProject.html JSP Debugging We plan to make JSP debugging easier. For the moment, follow those steps : Call your JSP from a web browser In Eclipse select work folder in your project and do 'Refresh from Local' from the popup menu, java files generated from your JSP should be seen by Eclipse and you can set breakpoint Known problems : Tomcat 4 and JSP in project subdirectories Generated servlets for JSP couldn't be compile by Eclipse. Subdirectories do not appear in Tomcat 4 generates servlets. Package definition is always package org.apache.jsp. Workaround 1 : install our Tomcat 4.x patch. Workaround 2 (from Gabriel Krupa) : if your jsp is /myjspdir/myjsp.jsp, generated servlet will be in work/org/apache/jsp/myjspdir, change package definition from org.apache.jsp to org.apache.jsp.myjspdir, to debug your jsp access it from your browser with the following URL : http://myhost:8080/myapplication/servlets/org.apache.jsp.myjspdir.myjsp$jsp Workaround 3 : use Tomcat 3.3 (servlet 2.2 and JSP 1.1), with Tomcat 3, package definition is compliant with file location. Troubleshooting ClassNotFoundException on javac/Main when accessing JSP : Tomcat is started with a JRE instead of a JDK. If you have a problem with the plugin check eclipse log file (<workspace>/.metadata/.log) To be completed -----Mensagem original----- De: Paulo Andre Antonialli [mailto:paulo.antonialli@;foton.la] Enviada em: ter�a-feira, 22 de outubro de 2002 11:22 Para: '[EMAIL PROTECTED]' Assunto: RES: [enterprise-list] Rodando tomcat no Eclipse Sim, j� baixei! O tal do Sysdeo n�o �? Se for esse, eu j� baixei e j� o configurei tamb�m. Agora como fa�o pra fazer minha aplica��o rodar? Obrigado! -----Mensagem original----- De: Flavio Carvalho [mailto:flavio.rodrigo@;appi.com.br] Enviada em: 22 de outubro de 2002 10:54 Para: [EMAIL PROTECTED] Assunto: RES: [enterprise-list] Rodando tomcat no Eclipse Vc ja' baixou o plug-in ? http://eclipse-plugins.2y.net/eclipse/index.jsp -----Mensagem original----- De: Paulo Andre Antonialli [mailto:paulo.antonialli@;foton.la] Enviada em: ter�a-feira, 22 de outubro de 2002 11:54 Para: '[EMAIL PROTECTED]' Assunto: [enterprise-list] Rodando tomcat no Eclipse Bom dia pessoal. Estou tendo alguns probleminhas pra rodar uma WEBAPP dentro do Eclipse. Estou tentando integrar o Tomcat � IDE Citada mas n�o estou tendo sucesso. Algu�m tem uma receita de bolo pra fazer isso? Acho que o problema foi que fiquei mal acostumado com o Jbuilder, onde voc� clicava com o bot�o direito, dava um WEBRUN, e ele j� chamava o Tomcat :) Obrigado � quem puder ajudar. []�s! Paulo --------------------------------------------------------------------- Para cancelar a subscri��o, envie mensagem para: [EMAIL PROTECTED] Para comandos adicionais, envie mensagem para: [EMAIL PROTECTED] --------------------------------------------------------------------- Para cancelar a subscri��o, envie mensagem para: [EMAIL PROTECTED] Para comandos adicionais, envie mensagem para: [EMAIL PROTECTED] --------------------------------------------------------------------- Para cancelar a subscri��o, envie mensagem para: [EMAIL PROTECTED] Para comandos adicionais, envie mensagem para: [EMAIL PROTECTED] --------------------------------------------------------------------- Para cancelar a subscri��o, envie mensagem para: [EMAIL PROTECTED] Para comandos adicionais, envie mensagem para: [EMAIL PROTECTED]
