Bug 535802 - Update license to EPL-2.0  for exsd schema definition

The following regex was 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: I3db9b1614c2e88706c222688938e396853e09c8d
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.core.contenttype/schema/contentTypes.exsd b/bundles/org.eclipse.core.contenttype/schema/contentTypes.exsd
index 59d5c30..e56ba83 100644
--- a/bundles/org.eclipse.core.contenttype/schema/contentTypes.exsd
+++ b/bundles/org.eclipse.core.contenttype/schema/contentTypes.exsd
@@ -370,12 +370,15 @@
       </appInfo>
       <documentation>
          Copyright (c) 2004, 2008 IBM Corporation and others.&lt;br&gt;
-All rights reserved. This program and the accompanying materials are made 
-available under the terms of the Eclipse Public License v1.0 which 
+
+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 
 &lt;a 
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
+href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
+
+SPDX-License-Identifier: EPL-2.0
       </documentation>
    </annotation>
 
diff --git a/bundles/org.eclipse.core.expressions/schema/definitions.exsd b/bundles/org.eclipse.core.expressions/schema/definitions.exsd
index 49adaa8..cf7a77b 100644
--- a/bundles/org.eclipse.core.expressions/schema/definitions.exsd
+++ b/bundles/org.eclipse.core.expressions/schema/definitions.exsd
@@ -146,7 +146,10 @@
       </appinfo>
       <documentation>
          Copyright (c) 2007, 2008 IBM Corporation and others.&lt;br&gt;
-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 &lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
+
+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 &lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
+
+SPDX-License-Identifier: EPL-2.0
       </documentation>
    </annotation>
 
diff --git a/bundles/org.eclipse.core.expressions/schema/expressionLanguage.exsd b/bundles/org.eclipse.core.expressions/schema/expressionLanguage.exsd
index 5f8331e..c25e322 100644
--- a/bundles/org.eclipse.core.expressions/schema/expressionLanguage.exsd
+++ b/bundles/org.eclipse.core.expressions/schema/expressionLanguage.exsd
@@ -507,7 +507,10 @@
       </appInfo>
       <documentation>
          Copyright (c) 2001, 2013 IBM Corporation and others.&lt;br&gt;
-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 &lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
+
+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 &lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
+
+SPDX-License-Identifier: EPL-2.0
       </documentation>
    </annotation>
 
diff --git a/bundles/org.eclipse.core.expressions/schema/propertyTesters.exsd b/bundles/org.eclipse.core.expressions/schema/propertyTesters.exsd
index 0438e6a..baa402c 100644
--- a/bundles/org.eclipse.core.expressions/schema/propertyTesters.exsd
+++ b/bundles/org.eclipse.core.expressions/schema/propertyTesters.exsd
@@ -139,7 +139,10 @@
       </appInfo>
       <documentation>
          Copyright (c) 2001, 2004 IBM Corporation and others.&lt;br&gt;
-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 &lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
+
+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 &lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
+
+SPDX-License-Identifier: EPL-2.0
       </documentation>
    </annotation>
 
diff --git a/bundles/org.eclipse.core.runtime/schema/contentTypes.exsd b/bundles/org.eclipse.core.runtime/schema/contentTypes.exsd
index d542007..b7a9374 100644
--- a/bundles/org.eclipse.core.runtime/schema/contentTypes.exsd
+++ b/bundles/org.eclipse.core.runtime/schema/contentTypes.exsd
@@ -353,12 +353,15 @@
       </appinfo>
       <documentation>
          Copyright (c) 2004, 2008 IBM Corporation and others.&lt;br&gt;
-All rights reserved. This program and the accompanying materials are made 
-available under the terms of the Eclipse Public License v1.0 which 
+
+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 
 &lt;a 
-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
+href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
+
+SPDX-License-Identifier: EPL-2.0
       </documentation>
    </annotation>
 
diff --git a/bundles/org.eclipse.core.runtime/schema/preferences.exsd b/bundles/org.eclipse.core.runtime/schema/preferences.exsd
index 8d8e7f9..23d4091 100644
--- a/bundles/org.eclipse.core.runtime/schema/preferences.exsd
+++ b/bundles/org.eclipse.core.runtime/schema/preferences.exsd
@@ -188,12 +188,15 @@
       </appInfo>

       <documentation>

          Copyright (c) 2004, 2014 IBM Corporation and others.&lt;br&gt;

-All rights reserved. This program and the accompanying materials are made 

-available under the terms of the Eclipse Public License v1.0 which 

+
+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 

 &lt;a 

-href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;

+href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
+
+SPDX-License-Identifier: EPL-2.0

       </documentation>

    </annotation>

 

diff --git a/tests/org.eclipse.core.expressions.tests/schema/testParticipants.exsd b/tests/org.eclipse.core.expressions.tests/schema/testParticipants.exsd
index 4c03369..039c63b 100644
--- a/tests/org.eclipse.core.expressions.tests/schema/testParticipants.exsd
+++ b/tests/org.eclipse.core.expressions.tests/schema/testParticipants.exsd
@@ -92,7 +92,10 @@
       </appInfo>

       <documentation>

          Copyright (c) 2001, 2004 IBM Corporation and others.&lt;br&gt;

-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 &lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;

+
+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 &lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
+
+SPDX-License-Identifier: EPL-2.0

       </documentation>

    </annotation>