diff options
author | Lars Vogel | 2018-08-20 09:15:48 +0000 |
---|---|---|
committer | Lars Vogel | 2018-08-21 07:59:04 +0000 |
commit | fa8208b3e6dae200303783dbf7c84e5654cff1cf (patch) | |
tree | c38e077f29d7b3183ea96a0900fcfd4bdc57ff37 /examples/org.eclipse.swt.opengl.examples/build.properties | |
parent | 8071802af162872682c25e9d67e3f86d11dc4539 (diff) | |
download | eclipse.platform.swt-fa8208b3e6dae200303783dbf7c84e5654cff1cf.tar.gz eclipse.platform.swt-fa8208b3e6dae200303783dbf7c84e5654cff1cf.tar.xz eclipse.platform.swt-fa8208b3e6dae200303783dbf7c84e5654cff1cf.zip |
Bug 530393 - EPL 2.0 update for SWT for swt.example plug-ins
This updates files to EPL 2.0. As this repo contains also LGPL code, I
added only files containing 'Eclipse Public License 2.0' via:
git grep --name-only 'Eclipse Public License 2.0' | xargs git add
Regex used for replacement:
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: Ifad89e954b50112a71c30842130e558d171631f6
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'examples/org.eclipse.swt.opengl.examples/build.properties')
-rw-r--r-- | examples/org.eclipse.swt.opengl.examples/build.properties | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/org.eclipse.swt.opengl.examples/build.properties b/examples/org.eclipse.swt.opengl.examples/build.properties index 6698d19bd4..ad1b7bfe7e 100644 --- a/examples/org.eclipse.swt.opengl.examples/build.properties +++ b/examples/org.eclipse.swt.opengl.examples/build.properties @@ -1,9 +1,12 @@ ############################################################################### # Copyright (c) 2000, 2005 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 |