Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the Spring IDE of Eclipse plug-in

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to use the Spring IDE of the Eclipse plug-in. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Eclipse is a very popular development platform at present, and the open and extended architecture allows many programmers to find their own personalized work environment.

The question is:

When using the Spring framework for system development, the writing of the Bean configuration file XML, the content verification of the XML file and the viewing of the dependency relationship between the Bean can be done by using appropriate tools, which will improve the development efficiency exponentially.

Solution:

Spring IDE is an Eclipse plug-in recommended by the official website of Spring, which can provide verification of Bean definition files and visual view of the dependencies between various Bean when developing Spring.

At the same time, it is recommended to combine XMLBuddy this Eclipse plug-in for XML file editing and verification, which is a good choice.

Installation instructions

◆ JDK:1.5.0 download and install from http://java.sun.com

Download and decompress ◆ Eclipse:3.1.2 from http://www.eclipse.org.

◆ Spring 1.2.8 download and decompress from http://www.springframework.org

◆ Spring IDE 1.3.2 download from http://springide.org

◆ XMLBuddy 2.0.72 download from http://www.xmlbuddy.com/

◆ Spring IDE 1.3.2 Update address: http://springide.org/updatesite/

Management skills

Tip: newly downloaded plug-ins PlugIn must not be placed in the original Eclipse directory, a lot, tired to death you:

◆ is provided that you have downloaded and unzipped and set up the Eclipse tool, for example, under the E:\ OpenSource\ Eclipse\ directory, the following directory is represented by% ECLIPSE_HOME%

The default plug-in for ◆ at this time is in the% ECLIPSE_HOME%\ plugins directory

◆ sets up a PlugInsNew directory under% ECLIPSE_HOME%

For example: e:\ OpenSource\ Eclipse\ PlugInsNew, if you download a new plug-in, such as XYZ, then create a XYZ directory under the% ECLIPSE_HOME%\ PlugInsNew\ directory, which contains the eclipse directory, and the eclipse directory contains features and plugins subdirectories. The structure is shown in the following figure:

Put the downloaded files of the Eclipse plug-in for Spirng IDE in the appropriate directory below

◆% ECLIPSE_HOME%\ PlugInsNew\ XYZ\ eclipse\ features

◆% ECLIPSE_HOME%\ PlugInsNew\ XYZ\ eclipse\ plugins

Create related .link files

Then create a XYZ.link file in the% ECLIPSE_HOME%\ links directory

The contents are as follows:

Path=E:/OpenSource/Eclipse/PlugInsNew/XYZ

It's just a line of such path instructions.

In this way, if you download multiple plug-ins, you can create multiple Link files in the same way. Put the Link file of which plug-in you want to load into the directory of% ECLIPSE_HOME%\ links. It is very convenient to use and manage. It is recommended that you do not put it in the default installation directory, which is more convenient for upgrading the Eclipse main program. Of course, if you like to use Find and Install... It is also possible to install it.

If your% ECLIPSE_HOME% above is different, please modify the path in the XYZ.link file.

◆ removes the plug-in and closes Eclipse first.

◆ can delete the% ECLIPSE_HOME%\ links\ XYZ.link file.

◆ deletes% ECLIPSE_HOME%\ PlugInsNew\ XYZ entire directory and files

Restart Eclipse, and that will be fine. If the plug-in does not take effect or is not deleted, please add-clean to start Eclipse, that is, Eclipse.exe-clean

For more information on verification and record of plug-in installation, please see the .metadata\ .log file under Eclipse's workspace, such as% ECLIPSE_HOME%\ workspace\ .metadata\ .log file. If you have any problems, open this file and solve it.

This is the end of this article on "how to use the Spring IDE of Eclipse plug-ins". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report