Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329368 - Release combined OSGi samples
Summary: Release combined OSGi samples
Status: ASSIGNED
Alias: None
Product: Virgo
Classification: RT
Component: samples (show other bugs)
Version: 2.1.0.RELEASE   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Chris Frost CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-03 11:57 EDT by Glyn Normington CLA
Modified: 2013-11-01 04:25 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glyn Normington CLA 2010-11-03 11:57:51 EDT

    
Comment 1 Glyn Normington CLA 2013-01-02 05:50:25 EST
There should be multiple samples in a single distribution.
Comment 2 Chris Frost CLA 2013-01-18 13:26:52 EST
This is proving very difficult, outlines of the problems with each of the 4 samples below.


No-Spring - This is a fork of the splash screen WAB. Being a WAB with the Manifest in /src/main/webapp/META-INF and using Bundlor with a properties replacement file outside the workspace doesn't work. I can't build the bundle to deploy it from Eclipse.

Form Tags - not attempted yet.

Greenpages - In order to deploy it in Virgo its dependencies must be at the same versions as the bundles in Virgo. These versions only exist in virgo.mirrored Ivy repo and Greenpages uses a Maven build. Maven can't resolve dependencies in Ivy. There is a work around to use very generous version ranges in the manifests and hope for the best but this is not a long term solution.

Configuration Properties - I'm stuck trying to get Spring MVC to pick up an annotation configured Controller. Someone with better Spring know how than me needs to look at it.
Comment 3 Chris Frost CLA 2013-01-31 13:00:32 EST
Update,

The no-spring sample is waiting for a tooling fix.
The formtags par sample still needs a little work but there are no blockers.

All the other formtags samples are now working (war, shared-libs and shared-services). The config properties sample and GreenPages are also working.

I suggest a RC1 release once these last samples are done and may be some extra documentation.
Comment 4 Florian Waibel CLA 2013-11-01 04:25:13 EDT
Greenpages update:

* removed Eclipse IDE related files from greengages project and added appropriate .gitignore
* migrated greenpages sample from com.springsource.bundlor.maven to maven-bundle-plugin (this should fix the build problems reported here[1])
* added missing subfolder greenpages.par during assembly of the samples.zip

[1] http://www.eclipse.org/forums/index.php/mv/msg/572962/1161410/#msg_116141