[
https://issues.apache.org/jira/browse/UIMA-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551549#comment-13551549
]
Marshall Schor commented on UIMA-2568:
--------------------------------------
I've now gotten the uimaj-eclipse-update-site to build with the p2 style. I've
successfully "installed" this into a new version of Eclipse (Juno 4.2), OK.
I found via extensive internet searching how to pack200 compress the plugin
Jars, and added that step. It takes about a minute to do this on my lenovo
laptop 510. A later improvement (another Jira) would do this step once, during
the build of the plugin artifact, and include that in the upload to maven
central. Then, would change this build to fetch those, and skip the pack200
step.
I also fixed the category.xml - it was only categorizing the 2.4.0 releases - I
added the 2.3.1 releases. Releases before 2.3.1 are incubating releases, and
are not in Maven central, so are not part of the new update site build, as
noted above.
I'll commit what I have so far to uimaj-eclipse-update-site - it no longer
builds the old-style website stuff, and doesn't include anything for uima-as.
Next Steps: add uima-as, then add a composite of both.
> Redesign Eclipse Update Site for P2 and Maintainability
> -------------------------------------------------------
>
> Key: UIMA-2568
> URL: https://issues.apache.org/jira/browse/UIMA-2568
> Project: UIMA
> Issue Type: Improvement
> Components: Async Scaleout, Build, Packaging and Test, Core Java
> Framework
> Affects Versions: 2.4.0SDK, 2.4.0AS, parent-pom-4
> Reporter: Marshall Schor
> Assignee: Marshall Schor
>
> We have several projects that use Eclipse features and their associated
> plugins:
> * uimaj-sdk: the set of basic plugins, like the Component Descriptor Editor,
> the Pear packager, the Eclipse Debug support, base runtime, etc.
> * uima-as: adds support for the deployment descriptor to the Component
> Descriptor Editor
> * cas-editor (currently packaged as part of the uimaj-sdk)
> * textmarker
> ----------
> The Update site manages various versions of these, and also supplies a top
> level "categorization" of these. The categorization is supplied (currently)
> in the top level "site.xml" file. In the P2 layout, this is provided by the
> category.xml file (there's an editor in Eclipse to create / maintain this).
> We currently are using the categories:
> * uima-tooling-and-runtimes
> * uima-as-tooling
> Convert to an approach which has multiple update sites, bound together
> by one top-level aggregate update site. This site lists the
> sub-sites; the Eclipse (P2) install support reads this, finds the sub-sites,
> reads them, and aggregates all of this into a seamless set of menus, as if
> all of these sub-sites had been put together.
> This design choice is taken to improve future maintenance. For example, to
> update the textmarker, only that sub-site would need updating.
> Make the subsites just be subdirectories of the published composite update
> site.
> The "categories" can be cross-cutting, across sub-update-sites. For
> instance, if we continue to have the category uima-tooling-and-runtimes then
> a sub-update-site might categorize some of its features here.
> Given that Eclipse has had support for P2 install formats since 2008, drop
> the no-longer used site.xml and digest.zip files.
> Convert the uimaj-eclipse-update-site to build a "subsite" for the composite
> site, in the P2 style. Change the build steps to use the p2 style Ant tasks,
> as pioneered by Peter. Change the build to fetch the entire set of versions,
> so the P2 builders can do their work with the complete set.
> Delete non-packed artifacts that have corresponding packed ones to reduce the
> size requirements.
> Add a new project, builds/trunk/eclipse-composite-update-site, based on the
> eclipse-packagings project. Updates to this would only be needed when the
> composite structure is changed. Make this reference (initially)
> two sub-update-sites - the uimaj-eclipse-update-site, and a new update site
> for the uima-as project. TextMarker would be a third update site that will
> be added once it's released.
> Change the uima-as project to add a new update site for it, which will "add"
> the deployment editor feature, in the P2 form.
> Update the build/parent-pom to change the update site build to use the new P2
> tooling, to share consistent build and configuration setups across multiple
> update sites.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira