创建一个向导/插件,在eclipse插件中生成一个新项目

时间:2021-05-08 19:03:56

I want to create a wizard/plugin which generates a new project. The generated project is similar with the Web Dynamic project but with some specific configuration and some folder. The end result I wish to achieve in terms of structure of dynamic web project with my configuration and my given folder.

我想创建一个生成新项目的向导/插件。生成的项目与Web动态项目类似,但具有一些特定配置和一些文件夹。我希望通过我的配置和我给定的文件夹在动态Web项目的结构方面实现最终结果。

[plugin to create new project]={Web Dynamic project}+{my given folder and some configuration}

[插件创建新项目] = {Web动态项目} + {我给定的文件夹和一些配置}

1 个解决方案

#1


What you need is a new project nature.

您需要的是一个新的项目性质。

You can find an example in eclipse, if you create a new RCP plugin project , then at the end of the wizard, it allows you to select a template (with code). Select Plugin with an incremental project builder. This will give you an example

您可以在eclipse中找到一个示例,如果您创建一个新的RCP插件项目,那么在向导结束时,它允许您选择一个模板(带代码)。使用增量项目构建器选择插件。这将给你一个例子

Other tutorial

#1


What you need is a new project nature.

您需要的是一个新的项目性质。

You can find an example in eclipse, if you create a new RCP plugin project , then at the end of the wizard, it allows you to select a template (with code). Select Plugin with an incremental project builder. This will give you an example

您可以在eclipse中找到一个示例,如果您创建一个新的RCP插件项目,那么在向导结束时,它允许您选择一个模板(带代码)。使用增量项目构建器选择插件。这将给你一个例子

Other tutorial