The configuration of the Eclipse development environment requires you to download the Tomcat4E plugin and save it to the path where the Pandora container is saved, as created when you install Ali-Tomcat. Eclipse is an environment where you can directly publish and debug local code.
Follow these steps to configure Eclipse environment:
Download the Tomcat4E plugin and extract it to a local directory. For example, d:\work\tomcat4e\.
The package contains the following items:
Launch Eclipse and choose Help > Install New Software on the menu bar. The following dialog box is displayed. Then, click Add > Local, select the directory that stores the extracted Tomcat4E plugin (d:\work\tomcat4e\ in this example), and click OK.
Click Select All > Next to complete plugin installation.
Configure the Eclipse project for Tomcat4E to take effect. To do this, right-click the Eclipse project, and choose Run As > Run Configurations from the shortcut menu.
Select AliTomcat Webapp on the left-side menu bar, and click the Add Startup Configuration button.
In the dialog box that appears, select the AliTomcat tab. In the Pandora (taobao-hsf.sar location) area, select Use local taobao-hsf.sar and click the Browse button next to it to select the local Pandora path, for example, d:\work\tomcat\deploy\taobao-hsf.sar.
Click Apply or Run to complete the configuration. Next time, you can start this project directly without the need to configure it again.