Bug 530393 - EPL 2.0 for exsd in SWT
Only one exsd present in SWT. Regex used:
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: Ib27dc3787b5afdffac273cc764907696ad6f9f3e
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/examples/org.eclipse.swt.examples.launcher/schema/org.eclipse.swt.examples.launcher.launchItems.exsd b/examples/org.eclipse.swt.examples.launcher/schema/org.eclipse.swt.examples.launcher.launchItems.exsd
index 30b7d8b..a58f53a 100644
--- a/examples/org.eclipse.swt.examples.launcher/schema/org.eclipse.swt.examples.launcher.launchItems.exsd
+++ b/examples/org.eclipse.swt.examples.launcher/schema/org.eclipse.swt.examples.launcher.launchItems.exsd
@@ -213,10 +213,13 @@
</appInfo>
<documentation>
Copyright (c) 2002, 2004 IBM Corporation and others.<br>
-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 program and the accompanying materials are made
+available under the terms of the Eclipse Public License 2.0 which accompanies
this distribution, and is available at <a
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
+href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/
+
+SPDX-License-Identifier: EPL-2.0
</documentation>
</annotation>
</schema>