在Eclipse3.2中安装XDoclet.

时间:2023-01-17 11:14:06
在Eclipse的web开发平台(WTP)包括了大部分web开发工具,如: source editors for HTML, Javascript, CSS, JSP, SQL, XML, DTD, XSD, and WSDL; graphical editors for XSD and WSDL; J2EE project natures, builders, and models and a J2EE navigator; a Web service wizard and explorer, and WS-I Test Tools; and database access and query tools and models. 也支持XDoclet, 不过自己要先下载 XDoclet . 然后在Window > Preferences > XDoclet 进行配置.

WTP : http://www.eclipse.org/webtools/
XDoclet . http://xdoclet.sourceforge.net/xdoclet/index.html

To use XDoclet annotation support, or to create enterprise beans, XDoclet must be installed on your system and configured to work with the workbench.

Download and install XDoclet from http://xdoclet.sourceforge.net/xdoclet/index.html
To configure XDoclet to work with the workbench:

1.Click Window > Preferences > XDoclet to open the XDoclet Runtime Preferences page.
2.Check the Enable XDoclet Builder check box to turn on annotation-based artifact creation.
3.Use the Browse button to locate the installation directory for XDoclet (XDoclet Home).
4.Select the Version of XDoclet that you have installed. Supported versions include 1.2.1, 1.2.2, 1.2.3.
5.Click OK to save the preferences.