Castor Plug-in for Eclipse
来源:互联网 发布:大数据挖掘技术 编辑:程序博客网 时间:2024/05/16 12:24
Usage
The following steps illustrate basic use of the Castor Plug-in for Eclipse:
Create a new Java project for your Castor-generated files. You can use an existing project, if you already have one. Make sure the project has at least one Java Source folder (i.e., it does not use the project root as both source and output folder for your Java files).
Create a new Java Source folder in your project; e.g., gen. This is the folder into which Castor Source Generator will place the generated Java files. This separation is not necessary, but makes it easier to distinguish generated files from those created manually.
Right-click the project and from the context menu select Castor -> Add Castor to build path... This will allow you to select Castor libraries to add to your project's Java build path. Alternatively, you can choose to import the libraries into your project, if you need to package and redistribute them with your code.
In your Project Navigator view, select the XML Schema (*.xsd) file from which you want Castor to generate Java sources. Note that the XML Schema file need not be in the generator's output project; it may come from an entirely different project. From the main menu, select Run -> External Tools -> Run As -> Castor Source Generator. This will bring up a launch dialog populated with default values.
Edit the values in the Generator tab to suit your needs. When ready, click Run to launch the Castor Source Generator. Any output messages will be printed into your Console view. When finished, the output folder will contain the generated files.
To edit your newly created launch configuration, select Run -> External Tools -> External Tools... in the main menu. To display a shortcut to this launch configuration in favorites menu, check the box in the Common tab. You may share this launch configuration with others (e.g., through a version control system) by marking it as Shared in the same tab; this will create a *.launch file (whose file name matches the launch configuration name) in the folder you specify.
- Castor Plug-in for Eclipse
- GNU ARM Eclipse Plug-in for Eclipse
- plug-in for eclipse 3X
- JADE Development Plug-in for Eclipse (EJADE)
- Build Eclipse plug-in for Hadoop
- install m2e plug-in for eclipse
- RMI示例(利用RMI plug-in for Eclipse)
- Exadel JavaFX Studio plug-in for Eclipse 1.0.2 released
- BlackBerry Java Plug-in for Eclipse v1.1启动失败
- BlackBerry Java Plug-in for Eclipse 更新站点
- BlackBerry Java Plug-in for Eclipse 安装注意事项
- BlackBerry Java Plug-in for Eclipse Update Site
- InstaSearch - Eclipse plug-in for quick code search
- Eclipse plug-in
- CodeCollaborator Eclipse Plug-in
- NHibernate Plug-In for VS2005
- Fat Jar Eclipse Plug-In
- Eclipse Plug-in Development Tutorial
- C#中屏蔽复制粘贴
- 编译chm格式PHP手册
- Excel读写类release
- 一个自动产生编号的存储过程,数据库sql2000或2005
- JSP中的路径问题(转自gisland贴)
- Castor Plug-in for Eclipse
- Applet生命周期中init、start、stop、destroy
- 如何改善WLAN中的数据吞吐量?
- 位运算
- 文化十问
- gdb 基本命令
- zz一个VS2005无法调试C++的问题
- eclipse 快捷键
- VIM中文大全