Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] script to enable p2 download stats

Hi,

For MoDisco, we created a script and an XSLT transformation to enable download stats on a repository.
The script is available here:
https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.modisco/releng/trunk/org.eclipse.gmt.modisco.releng/serverConfiguration/addDownloadStats.sh
And the XSLT is here:
https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.modisco/releng/trunk/org.eclipse.gmt.modisco.releng/serverConfiguration/addDownloadStats.xsl

It can be useful if you want to include it as part of your build process.
If you want to reuse it, you only need to modify the location of the xslt file in the script and the bundle or feature ids in the xsl.

The script takes the location of the update site for which to enable download stats as a command line argument.

Hope you find it useful.
--
Nicolas Bros
R&D
tel: 06 75 09 19 88
nbros@xxxxxxxxxxxxxxxx
nbros.mia@xxxxxxxxx
Mia-Software, 410 clos de la Courtine
93160 Noisy-le-Grand
http://www.mia-software.com
.: model driven agility :.

Back to the top