Add a script to make it easier to list plugins that need to go
in the API baseline. This was meant to be in the commit that adds
the new 2.1.0 API baseline but it was forgotten.
Change-Id: Ic6daa6086dcbe3a7ad12627cdff43038765263d6
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/81879
Reviewed-by: Hudson CI
--- /dev/null
+#!/bin/bash
+###############################################################################
+# Copyright (c) 2016 Ericsson
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+###############################################################################
+
+# Generates a list of plugins suitable to be put in the API baseline. It skips test plugins, rcp and doc.
+
+find ../.. -name "MANIFEST.MF" | grep -v -E 'doc|rcp|tests' | cut -c 3- | xargs -n1 dirname | xargs -n1 dirname | sed -rn s/.*\\/\(.*\)/\\1/p | sort | xargs -n1 -I {} echo '<unit id="{}" version="0.0.0"/>'
+