简体   繁体   English

什么是Spring Project Nature?

[英]What is Spring Project Nature?

I have a project that was created in Eclipse, but I'd like to use SpringSource's STS IDE now. 我有一个在Eclipse中创建的项目,但我现在想使用SpringSource的STS IDE。 I have the Java project in STS now and I converted the project to a Maven project to get Maven's support. 我现在在STS中有Java项目,我将项目转换为Maven项目以获得Maven的支持。

Question

What exactly does the "Add Spring Project Nature" feature do? “添加春天项目自然”功能到底有什么作用? What is its purpose? 它的目的是什么?

Edit Maybe the better question is what does "nature" mean relative to Spring STS? 编辑也许更好的问题是“自然”对Spring STS的意义是什么?

The "nature" has nothing to do with your code or spring. “自然”与你的代码或春天无关。 In eclipse, a "project nature" creates an association between the a project and a tool, plug-in, or feature set. 在eclipse中,“项目本质”在项目与工具,插件或功能集之间创建关联。 By adding a nature to an eclipse project, you tell an eclipse plug-in that it is configured to use that project. 通过向eclipse项目添加一个特性,您可以告诉eclipse插件它已配置为使用该项目。 By adding the "Spring Project Nature" to your project, you are enabling eclipse's spring plugin to work with your project. 通过在项目中添加“Spring Project Nature”,您可以启用eclipse的spring插件来处理您的项目。

I found out myself; 我发现了自己; sharing it as may be useful to others.. Steps involved: 分享它可能对他人有用..涉及的步骤:

  1. Go to "Help", click on "Install new Software" 转到“帮助”,单击“安装新软件”
  2. enter this link : http://springide.org/updatesite in the link section. 在链接部分输入此链接: http//springide.org/updatesite
  3. select "Spring IDE core" from the list populated below. 从下面列出的列表中选择“Spring IDE core”。 You can select other also depending upon your use, then follow on screen instructions. 您也可以根据使用情况选择其他,然后按照屏幕说明进行操作。

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

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