简体   繁体   English

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

[英]create a wizard/plugin which generates a new project in eclipse plugin

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. 生成的项目与Web Dynamic项目相似,但是具有一些特定的配置和某些文件夹。 The end result I wish to achieve in terms of structure of dynamic web project with my configuration and my given folder. 我希望通过配置和给定文件夹在动态Web项目的结构方面实现最终结果。

[plugin to create new project]={Web Dynamic project}+{my given folder and some configuration} [用于创建新项目的插件] = {Web动态项目} + {我给定的文件夹和一些配置}

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). 您可以在eclipse中找到一个示例,如果您创建了一个新的RCP插件项目,则在向导的结尾,它允许您选择一个模板(带有代码)。 Select Plugin with an incremental project builder . 选择Plugin with an incremental project builder This will give you an example 这会给你一个例子

Other tutorial 其他教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM