Configuring tomcat eclipse debugging environment (using ant)

  • Download Source

  • Unzip into the directory


  • Use ant command executed in the command line ant ide-eclipse, which will be automatically configured to eclipse project (ant to be configured in Windows, can be directly under linux yum installed)


  • If you use another ide platform that can be replaced by the following commandant ...


  • Import to eclipse

  • Enter window-> perference-> build path-> classpath virable-> new configuration of two environment variables as follows (relevant information to fill out depending on system configuration, ANT_HOME can go to find eclipse plugin package)


    ***
  • Once configured, enter window-> show view-> others-> ant ant open view, right in the source code build.xml add tomcat


  • In compiling ant view


  • Finally, choose to run the project right, select the bootstrap to run the project

  • With maven might be, but it just needs to configure my bag, and finally compile the file, although you can also run, but certainly not up and running tomcat, because tomcat need to read a lot of configuration files maven not added.

  • Therefore, the use of ant configuration

Guess you like

Origin www.cnblogs.com/gengqzh/p/11105962.html