diff options
author | Lars Vogel | 2018-08-21 09:39:13 +0000 |
---|---|---|
committer | Lars Vogel | 2018-08-21 09:39:22 +0000 |
commit | 6bdf4f12c125b636189a4de55260df5a71775f2e (patch) | |
tree | cee4752f08e5b17837e4746dd8da0b7ae4905475 /bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IClassFactory2.java | |
parent | 6733fe121f5ca8983ea80807c190f6bd389ad504 (diff) | |
download | eclipse.platform.swt-6bdf4f12c125b636189a4de55260df5a71775f2e.tar.gz eclipse.platform.swt-6bdf4f12c125b636189a4de55260df5a71775f2e.tar.xz eclipse.platform.swt-6bdf4f12c125b636189a4de55260df5a71775f2e.zip |
Bug 530393 - EPL 2.0 update for SWT bundles
Update all sources files except .exsd files, Java pref files and pom
files
Staged via:
git grep --name-only 'Eclipse Public License 2.0' > input.txt
Manually added \ before the spaces in the directories with spaces
cat input.txt | xargs git add
Regex used:
git checkout master
git reset --hard origin/master
git pull
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: If93c95c1ce4c7ee8345dea43e7b9ae71f5fa4739
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IClassFactory2.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IClassFactory2.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IClassFactory2.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IClassFactory2.java index 9ea6aa1171..78dc614e93 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IClassFactory2.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IClassFactory2.java @@ -1,9 +1,12 @@ /******************************************************************************* * Copyright (c) 2000, 2017 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 |