Bug 530393 - EPL 2.0 for exsd in equinox.p2

This updates the exsd definitions to EPL 2.0.

Regex expression used below, manually fixed:

bundles/org.eclipse.equinox.p2.artifact.repository/schema/artifactChecksums.exsd
bundles/org.eclipse.equinox.p2.discovery.compatibility/schema/connectorDiscovery.exsd

git checkout master
git reset --hard origin/master
git pull

find . -type f -name "*.exsd" -exec sed -i -E
's/http:\/\/www.eclipse.org\/legal\/epl-v10.html\"\>http:\/\/www.eclipse.org\/legal\/epl-v10.html\<\/a\>/https:\/\/www.eclipse.org\/legal\/epl-2.0\"\>https:\/\/www.eclipse.org\/legal\/epl-v20.html\<\/a\>\/\n\nSPDX-License-Identifier:
EPL-2.0/' {} +

find . -type f -name "*.exsd" | xargs sed -i  's/Eclipse Public License
v1.0/Eclipse Public License 2.0/g'

find . -type f -name "*.exsd" -exec sed -i -E
's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved.
)/\1\n\1\2/' {} +



Change-Id: I01eb54895c4bcbb7cc1988fc176b2da984944e09
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
7 files changed