如何使用Spring配置Eclipse RCP

时间:2022-02-28 10:22:34

How can I configure eclipse RCP with spring? Do I need spring dm?

如何使用spring配置eclipse RCP?我需要弹簧吗?

Can you please show me a tutorial on how to configure spring with Eclipse RCP or Eclipse RAP?

你能告诉我一个关于如何使用Eclipse RCP或Eclipse RAP配置spring的教程吗?

  1. How can I add spring to Eclipse RCP and just use it? How can I see the context everywhere?
  2. 如何将弹簧添加到Eclipse RCP并使用它?我怎么能到处看到背景?

  3. Do I have to add something to my Target Platform?
  4. 我是否必须向目标平台添加内容?

  5. Is there any tutorial or can you please tell me more details?
  6. 有没有教程或者你可以告诉我更多细节吗?

I just want to use Spring with my Eclipse RCP application.

我只想在我的Eclipse RCP应用程序中使用Spring。

3 个解决方案

#1


2  

Using Spring DM is not the only way, but I believe it's the easiest and most complete/correct way of doing it. Prior to Spring DM, there were several projects with the goal of integrating Spring and Eclipse RCP, but none of them were very simple, or very Spring-like. I have come across a blogger who is currently writing a series of articles on integrating Spring and Eclipse RCP using Spring DM. The first 4 articles cover exactly what you need to know with examples (step 0 through step 3).

使用Spring DM不是唯一的方法,但我相信这是最简单,最完整/最正确的方法。在Spring DM之前,有几个项目的目标是集成Spring和Eclipse RCP,但它们都不是非常简单,或者非常像Spring。我遇到过一位博主,他正在撰写一系列关于使用Spring DM集成Spring和Eclipse RCP的文章。前4篇文章准确涵盖了您需要了解的示例(步骤0到步骤3)。

The entire list of articles is here: http://angelozerr.wordpress.com/category/java/spring/spring-dm/

整个文章列表如下:http://angelozerr.wordpress.com/category/java/spring/spring-dm/

That same blogger talks about his own RCP/RAP project (where he is using Spring DM) in another set of articles. These are in French, but using Google Translate makes them useful for non-French speakers. Take a look at step 7 and step 8 here: http://angelozerr.wordpress.com/about/dynaresume/

同一位博主在另一组文章中讨论了他自己的RCP / RAP项目(他正在使用Spring DM)。这些都是法语,但使用谷歌翻译使它们对非法语人士有用。请看这里的第7步和第8步:http://angelozerr.wordpress.com/about/dynaresume/

#2


1  

I recently wrote a blog about this topic, you can find step-by-step tutorial here: http://blog.novatec-gmbh.de/step-step-spring-eclipse-rcp-applications/

我最近写了一篇关于这个主题的博客,你可以在这里找到分步教程:http://blog.novatec-gmbh.de/step-step-spring-eclipse-rcp-applications/

#3


0  

I think my answer might be helpful to anyone (like me) looking for building Spring DM, OSGI console application.

我认为我的答案可能对寻找构建Spring DM,OSGI控制台应用程序的任何人(比如我)有所帮助。

Although its been quite sometime Since Spring DM has been inherited as Gemini Blueprint, it is recommended to use Gemini Blueprint instead of Spring DM. Nevertheless, Spring DM is also a good starting point.

虽然它已经很长时间了,因为Spring DM已被继承为Gemini Blueprint,但建议使用Gemini Blueprint而不是Spring DM。尽管如此,Spring DM也是一个很好的起点。

This tutorial is worth looking at: http://www.jroller.com/dbrosius/entry/osgi_spring_dm_w_o It provides step by step information

本教程值得一看:http://www.jroller.com/dbrosius/entry/osgi_spring_dm_w_o它提供了一步一步的信息

NOTE: There is a small package-name typo in Manifest.MF file that needs to be fixed. Eclipse will flag it so it's a non-issue

注意:Manifest.MF文件中有一个小包名称拼写错误,需要修复。 Eclipse将标记它,因此它不是问题

#1


2  

Using Spring DM is not the only way, but I believe it's the easiest and most complete/correct way of doing it. Prior to Spring DM, there were several projects with the goal of integrating Spring and Eclipse RCP, but none of them were very simple, or very Spring-like. I have come across a blogger who is currently writing a series of articles on integrating Spring and Eclipse RCP using Spring DM. The first 4 articles cover exactly what you need to know with examples (step 0 through step 3).

使用Spring DM不是唯一的方法,但我相信这是最简单,最完整/最正确的方法。在Spring DM之前,有几个项目的目标是集成Spring和Eclipse RCP,但它们都不是非常简单,或者非常像Spring。我遇到过一位博主,他正在撰写一系列关于使用Spring DM集成Spring和Eclipse RCP的文章。前4篇文章准确涵盖了您需要了解的示例(步骤0到步骤3)。

The entire list of articles is here: http://angelozerr.wordpress.com/category/java/spring/spring-dm/

整个文章列表如下:http://angelozerr.wordpress.com/category/java/spring/spring-dm/

That same blogger talks about his own RCP/RAP project (where he is using Spring DM) in another set of articles. These are in French, but using Google Translate makes them useful for non-French speakers. Take a look at step 7 and step 8 here: http://angelozerr.wordpress.com/about/dynaresume/

同一位博主在另一组文章中讨论了他自己的RCP / RAP项目(他正在使用Spring DM)。这些都是法语,但使用谷歌翻译使它们对非法语人士有用。请看这里的第7步和第8步:http://angelozerr.wordpress.com/about/dynaresume/

#2


1  

I recently wrote a blog about this topic, you can find step-by-step tutorial here: http://blog.novatec-gmbh.de/step-step-spring-eclipse-rcp-applications/

我最近写了一篇关于这个主题的博客,你可以在这里找到分步教程:http://blog.novatec-gmbh.de/step-step-spring-eclipse-rcp-applications/

#3


0  

I think my answer might be helpful to anyone (like me) looking for building Spring DM, OSGI console application.

我认为我的答案可能对寻找构建Spring DM,OSGI控制台应用程序的任何人(比如我)有所帮助。

Although its been quite sometime Since Spring DM has been inherited as Gemini Blueprint, it is recommended to use Gemini Blueprint instead of Spring DM. Nevertheless, Spring DM is also a good starting point.

虽然它已经很长时间了,因为Spring DM已被继承为Gemini Blueprint,但建议使用Gemini Blueprint而不是Spring DM。尽管如此,Spring DM也是一个很好的起点。

This tutorial is worth looking at: http://www.jroller.com/dbrosius/entry/osgi_spring_dm_w_o It provides step by step information

本教程值得一看:http://www.jroller.com/dbrosius/entry/osgi_spring_dm_w_o它提供了一步一步的信息

NOTE: There is a small package-name typo in Manifest.MF file that needs to be fixed. Eclipse will flag it so it's a non-issue

注意:Manifest.MF文件中有一个小包名称拼写错误,需要修复。 Eclipse将标记它,因此它不是问题