Installation selection: Spring IDE core,spring IDE AOP extension,spring IDE OSGi extension,
Spring IDE AJDT Integration
3. Configuring the Target Platform
3.1 Configuration without Spring IDE Support
(1) Temporarily create a directory: TargetPlatform, recommended in this directory in the new level of directory bundles, will SPRINGDM the required jar to
And the required dependent jar are placed in the directory;
(2) Select Window>preference>plug-in Development>target in Eclipse Platform>add>noting:start
Whith an enpty target defination>next>add>directory>browse to a directory specifically containing bundle;
(3) Activate the Target:target under the defination to the current workspace only one is active, select the new checkbox
Select Apply.
3.2 Using Springide Support for the Target platfomr
Select Window>preference> in Eclipse
Plugin development>targetplatform>add>template:spring Dynamic Modules for OSGi (tm)
Service Platform 1.1.2,eclipse will automatically identify the associated jar bundle components that the software brings.
3.3 Activate Springide support the project
Right-click the project name and select Spring Tools in the context menu, ADD spring Project nature.
4. Development
(1) Create SPRINGDM configuration file:
New > Others > Spring > Spring Bean Configuration file, enter file Name:osgi-context.xml;
(2) Code completion settings in multiple Spring configuration files: Project name Right-click, select Properties>spring>beansupport
>config Set
(3) Web Component Component Development
Need to increase in MANIFEST.MF: Bundle-classpath;
The output directory needs to be changed to: Projectname/classes.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.