Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorJonah Graham2018-11-22 23:46:49 +0000
committerJonah Graham2018-11-23 07:52:26 +0000
commitff75ae80fa44dfc925064f7ca0169ac80997bc77 (patch)
tree7db3666d26eeae703d9bc650d5d4540bc71406fb /releng
parentbe35c7327d2a6168718afea45181a058a7d414fa (diff)
downloadorg.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.gz
org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.tar.xz
org.eclipse.cdt-ff75ae80fa44dfc925064f7ca0169ac80997bc77.zip
Bug 540373: Cleanup: Remove trailing whitespace in properties files
Command used: # Remove space at eol in comments find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} + # Remove space at eol in blank lines find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} + # Replace escaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} + # Replace unescaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} + # Replace escaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} + # Replace unescaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} + # Stage all changes git add -A . # trim any remaining whitespace and then identify and fixup # manually # Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties # needed this due to missing newline at end of the file find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} + Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.cdt.native-feature/build.properties2
-rw-r--r--releng/org.eclipse.cdt.platform-feature/build.properties2
-rw-r--r--releng/org.eclipse.cdt.platform-feature/feature.properties2
-rw-r--r--releng/org.eclipse.cdt.sdk-feature/build.properties4
-rw-r--r--releng/org.eclipse.cdt.sdk/build.properties2
-rw-r--r--releng/org.eclipse.cdt.testing/build.properties2
-rw-r--r--releng/org.eclipse.cdt/about.properties2
-rw-r--r--releng/org.eclipse.cdt/build.properties2
8 files changed, 9 insertions, 9 deletions
diff --git a/releng/org.eclipse.cdt.native-feature/build.properties b/releng/org.eclipse.cdt.native-feature/build.properties
index 7b0f37e5f8e..87f93c9b143 100644
--- a/releng/org.eclipse.cdt.native-feature/build.properties
+++ b/releng/org.eclipse.cdt.native-feature/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# Wind River Systems - initial API and implementation
###############################################################################
diff --git a/releng/org.eclipse.cdt.platform-feature/build.properties b/releng/org.eclipse.cdt.platform-feature/build.properties
index 36b9febe82e..e240df6fe39 100644
--- a/releng/org.eclipse.cdt.platform-feature/build.properties
+++ b/releng/org.eclipse.cdt.platform-feature/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# Wind River Systems - initial API and implementation
###############################################################################
diff --git a/releng/org.eclipse.cdt.platform-feature/feature.properties b/releng/org.eclipse.cdt.platform-feature/feature.properties
index 37f249a9ae6..209e8826c3e 100644
--- a/releng/org.eclipse.cdt.platform-feature/feature.properties
+++ b/releng/org.eclipse.cdt.platform-feature/feature.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/releng/org.eclipse.cdt.sdk-feature/build.properties b/releng/org.eclipse.cdt.sdk-feature/build.properties
index 3d2319d6e5b..b4750a46062 100644
--- a/releng/org.eclipse.cdt.sdk-feature/build.properties
+++ b/releng/org.eclipse.cdt.sdk-feature/build.properties
@@ -13,7 +13,7 @@
###############################################################################
bin.includes = feature.xml,\
feature.properties
-
+
generate.feature@org.eclipse.cdt.platform.source=org.eclipse.cdt.platform,\
exclude@org.eclipse.cdt.doc.user
@@ -21,4 +21,4 @@ generate.feature@org.eclipse.cdt.gnu.build.source=org.eclipse.cdt.gnu.build
generate.feature@org.eclipse.cdt.gnu.debug.source=org.eclipse.cdt.gnu.debug
generate.feature@org.eclipse.cdt.gnu.dsf.source=org.eclipse.cdt.gnu.dsf
generate.feature@org.eclipse.cdt.gdb.source=org.eclipse.cdt.gdb
-
+
diff --git a/releng/org.eclipse.cdt.sdk/build.properties b/releng/org.eclipse.cdt.sdk/build.properties
index 265c048acd3..e9ef574e6c7 100644
--- a/releng/org.eclipse.cdt.sdk/build.properties
+++ b/releng/org.eclipse.cdt.sdk/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/releng/org.eclipse.cdt.testing/build.properties b/releng/org.eclipse.cdt.testing/build.properties
index d1fd2256b67..0986006222d 100644
--- a/releng/org.eclipse.cdt.testing/build.properties
+++ b/releng/org.eclipse.cdt.testing/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/releng/org.eclipse.cdt/about.properties b/releng/org.eclipse.cdt/about.properties
index 77e9a269f0e..da2bd29f71c 100644
--- a/releng/org.eclipse.cdt/about.properties
+++ b/releng/org.eclipse.cdt/about.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
diff --git a/releng/org.eclipse.cdt/build.properties b/releng/org.eclipse.cdt/build.properties
index a4142d62189..bb4cf3bcb66 100644
--- a/releng/org.eclipse.cdt/build.properties
+++ b/releng/org.eclipse.cdt/build.properties
@@ -7,7 +7,7 @@
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
-#
+#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################

Back to the top