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.
Difference between revisions of "Virgo/Community/Migrating from slices"
(New page: == Migrating from the dm Server slices prototype to the Virgo snaps prototype == [[Virgo/Community/Migrating_from_slices|Migrating from the dm Server slices prototype to the Virgo snaps ...) |
m |
||
Line 1: | Line 1: | ||
− | + | __NOTOC__ | |
− | + | = Migrating from the dm Server slices prototype to the Virgo snaps prototype = | |
− | + | ||
Even though the slices project was a prototype, a number of dm Server users found it very useful and asked for it to be made available on Virgo. It is currently being renamed to "snaps" and contributed to Virgo. | Even though the slices project was a prototype, a number of dm Server users found it very useful and asked for it to be made available on Virgo. It is currently being renamed to "snaps" and contributed to Virgo. |
Revision as of 12:01, 4 August 2010
Migrating from the dm Server slices prototype to the Virgo snaps prototype
Even though the slices project was a prototype, a number of dm Server users found it very useful and asked for it to be made available on Virgo. It is currently being renamed to "snaps" and contributed to Virgo.
There will be a one-time hit for users to migrate from slices to snaps, largely because of the renaming.
Samples
The Petclinic and Spring Travel based samples are not provided with snaps as they derive from code whose authorship is not clear.
Package Names
The Java package names of the code have been renamed from com.springsource.osgi.slices.* or org.eclipse.virgo.snaps.*.
Class names
'Slice' is replaced by 'Snap' in class names.
dm Server slices | Virgo snaps |
---|---|
com.springsource.osgi.slices.core.SliceHostFilter | org.eclipse.virgo.snaps.core.SnapHostFilter |
com.springsource.osgi.slices.Slices | org.eclipse.virgo.snaps.Snaps |
com.springsource.osgi.slices.SlicesTag | org.eclipse.virgo.snaps.SnapsTag |
Manifest headers
'Slice' is replaced by 'Snap' in manifest headers.
dm Server slices | Virgo snaps |
---|---|
Slice-Host | Snap-Host |
Slice-ContextPath | Snap-ContextPath |
Bundle symbolic names
dm Server slices | Virgo snaps |
---|---|
com.springsource.osgi.slices.api | org.eclipse.virgo.snaps.api |
com.springsource.osgi.slices.core | org.eclipse.virgo.snaps.core |
Plan names
dm Server slices | Virgo snaps |
---|---|
com.springsource.osgi.slices | org.eclipse.virgo.snaps |
Event log messages
The prefix SL is replaced by the prefix SN.