diff options
author | Lars Vogel | 2018-08-17 14:19:47 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-08-21 07:00:29 +0000 |
commit | d2d5d956511e0e5061442146426c094b3be08576 (patch) | |
tree | ab45907c64558215287e039af3b90cebea1295e9 /org.eclipse.help/src/org/eclipse/help/internal/criteria/CriterionDefinition.java | |
parent | 0c979ec30b3e5125033f2aa232b78daf9a920642 (diff) | |
download | eclipse.platform.ua-d2d5d956511e0e5061442146426c094b3be08576.tar.gz eclipse.platform.ua-d2d5d956511e0e5061442146426c094b3be08576.tar.xz eclipse.platform.ua-d2d5d956511e0e5061442146426c094b3be08576.zip |
Bug 535802 - License update to EPL-2.0 in platform.uaY20180823-0800Y20180822-2200S4_9_0_M3I20180823-0450I20180823-0430I20180823-0100I20180822-2000I20180822-0800I20180821-2000I20180821-0800
Updates all files except exsd and pom files to EPL 2.0
This repos does not include JDT templates for new Java files.
Also fixed manually /org.eclipse.help.base/doc/book.css
Regex used:
find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec
sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' {}
+
find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs"
-exec sed -i -E
's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)http:\/\/www.eclipse.org\/legal\/epl-v10.html/\1\2https:\/\/www.eclipse.org\/legal\/epl-2.0\/\
\1\
\1\2SPDX-License-Identifier: EPL-2.0/' {} +
# Get rid of the All rights reserved
find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" !
-name "pom.xml" -exec sed -i -E
's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved.
)/\1\n\1\2/' {} +
Change-Id: Ic868435cfed4d834b36b51fc3f1b936ceaaec84d
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.help/src/org/eclipse/help/internal/criteria/CriterionDefinition.java')
-rw-r--r-- | org.eclipse.help/src/org/eclipse/help/internal/criteria/CriterionDefinition.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/criteria/CriterionDefinition.java b/org.eclipse.help/src/org/eclipse/help/internal/criteria/CriterionDefinition.java index 2948b3722..d9e25dc28 100644 --- a/org.eclipse.help/src/org/eclipse/help/internal/criteria/CriterionDefinition.java +++ b/org.eclipse.help/src/org/eclipse/help/internal/criteria/CriterionDefinition.java @@ -1,9 +1,12 @@ /******************************************************************************* * Copyright (c) 2010, 2016 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * + * 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 - * http://www.eclipse.org/legal/epl-v10.html + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * IBM Corporation - initial API and implementation |