Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Equinox Spring Integration"

 
Line 3: Line 3:
 
The following are steps to getting started with integrating Spring with the Equinox OSGi implementation. These directions assume you already have access to the Spring-OSGi Subversion repository.  If you don't have access, stay tuned for details on when the repository will be made public.
 
The following are steps to getting started with integrating Spring with the Equinox OSGi implementation. These directions assume you already have access to the Spring-OSGi Subversion repository.  If you don't have access, stay tuned for details on when the repository will be made public.
  
* Checkout Spring from the Spring CVS repository
+
(These instructions are written by a maven neophyte - if there is a better way to do this, please update the instructions.
 +
 
 +
Preliminaries:
 +
 
 +
* Download [http://maven.apache.org/download.html Maven 2]
 +
* Install Maven 2 according to provided instructions in README.txt
 +
* Install the [http://subclipse.tigris.org/install.html Subversion Plug-in for Eclipse]
 +
 
 +
Spring:
 +
 
 +
* Checkout Spring from the Spring CVS repository: :pserver:anonymous@springframework.cvs.sourceforge.net:/cvsroot/springframework
 
* Run the build.xml in the project root directory with target "mvn.install.jars"
 
* Run the build.xml in the project root directory with target "mvn.install.jars"
 +
 +
Spring-OSGI:
 +
 
* Checkout Spring-OSGi from Subversion
 
* Checkout Spring-OSGi from Subversion
*
+
* Follow the Spring-OSGi project setup instructions in the readme.txt file in the project root. Now you should be set up with a project in your workspace that compiles correctly.  I have not yet succeeded in running against this project directly in the workspace.
 +
* Run the additional maven command "mvn install" from the project root to deploy this as an OSGi bundle in your local maven repository.
 +
* From the command line, go to the spring-osgi/bundles directory and run "mvn install".  This will bundle-ize the spring jars by inserting the MANIFEST.MF files from spring-osgi/etc/, and install them in your local maven repository.

Revision as of 15:52, 21 September 2006

Discussion of integrating Spring with OSGi are going on in the Spring-OSGi mailing list.

The following are steps to getting started with integrating Spring with the Equinox OSGi implementation. These directions assume you already have access to the Spring-OSGi Subversion repository. If you don't have access, stay tuned for details on when the repository will be made public.

(These instructions are written by a maven neophyte - if there is a better way to do this, please update the instructions.

Preliminaries:

Spring:

  • Checkout Spring from the Spring CVS repository: :pserver:anonymous@springframework.cvs.sourceforge.net:/cvsroot/springframework
  • Run the build.xml in the project root directory with target "mvn.install.jars"

Spring-OSGI:

  • Checkout Spring-OSGi from Subversion
  • Follow the Spring-OSGi project setup instructions in the readme.txt file in the project root. Now you should be set up with a project in your workspace that compiles correctly. I have not yet succeeded in running against this project directly in the workspace.
  • Run the additional maven command "mvn install" from the project root to deploy this as an OSGi bundle in your local maven repository.
  • From the command line, go to the spring-osgi/bundles directory and run "mvn install". This will bundle-ize the spring jars by inserting the MANIFEST.MF files from spring-osgi/etc/, and install them in your local maven repository.

Back to the top