IS components must generate source bundles for features that will be aggregated (uncategorized) by JBDSIS.
Courtesy Nick Boldt:
How to make maven/tycho build source bundles and features:
In the upstream projects:
http://wiki.eclipse.org/Minerva#Source
Then in the aggregator for JBTIS/JBSIS update site:
https://github.com/jbosstools/jbosstools-build-sites/blob/master/aggregate/site/category.xml#L248-L262
As a result, users can install sources from within JBDS rather than needing a separate source zip with .java files. Way more useful, if you're a java developer using JBDS/Eclipse.
If you also want to produce a zip of actual source files as pulled from github, I have a script for that, too.
See:
1. https://github.com/jbdevstudio/jbdevstudio-product/tree/master/sources
Produces a zip of the contents of the JBDS product build, so people can build it offline. Does NOT include upstream sources.
Result: http://www.qa.jboss.com/binaries/RHDS/builds/staging/devstudio.product_master/all/devstudio.product_master-SNAPSHOT-src.zip (2.4M)
2. https://github.com/jbosstools/jbosstools-build-ci/blob/master/publish/publish.sh#L464-L500
Produces a zip of upstream sources based on upstream project zips. This is the old approach, since pulling a previously-built zip doesn't 100% guarantee you're getting the correct version AND it requires that the upstream project produce a source zip.
OR
https://github.com/jbosstools/jbosstools-build-sites/blob/master/aggregate/site/pom.xml#L123-L164
Fetches sources directly from github based on the source-reference in the specified plugins' manifest.mf files, then collates those sources into a single zip.
Results:
http://download.jboss.org/jbosstools/builds/nightly/core/master/latest/all/jbosstools-build-sites.aggregate.site_master-SNAPSHOT-src.zip (35M)
|