Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2018-11-22 23:46:49 +0000
committerJonah Graham2018-11-23 07:52:26 +0000
commitff75ae80fa44dfc925064f7ca0169ac80997bc77 (patch)
tree7db3666d26eeae703d9bc650d5d4540bc71406fb /build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core
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 'build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/HeadlessBuildMessages.properties24
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/PluginResources.properties20
2 files changed, 22 insertions, 22 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/HeadlessBuildMessages.properties b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/HeadlessBuildMessages.properties
index f6dedf828e8..a37862a7581 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/HeadlessBuildMessages.properties
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/HeadlessBuildMessages.properties
@@ -14,36 +14,36 @@
###############################################################################
HeadlessBuilder_already_exists_in_workspace=\ already exists in the workspace\!
-HeadlessBuilder_build_failed=Couldn't BUILD project
+HeadlessBuilder_build_failed=Couldn't BUILD project\u0020
HeadlessBuilder_building_all=Building All Projects...
HeadlessBuilder_cant_be_found=\ can't be found\!
-HeadlessBuilder_clean_failed=Couldn't CLEAN project
+HeadlessBuilder_clean_failed=Couldn't CLEAN project\u0020
HeadlessBuilder_cleaning_all_projects=Cleaning All Projects...
HeadlessBuilder_completed_successfully=Headless build completed successfully
HeadlessBuilder_CouldntLockWorkspace=Could not obtain lock for workspace location
-HeadlessBuilder_Directory=Directory:
+HeadlessBuilder_Directory=Directory:\u0020
HeadlessBuilder_encountered_errors=Headless build encountered errors
HeadlessBuilder_EnvVar_Append=\ \ \ -Ea {var=value} append value to environment variable when running all tools
HeadlessBuilder_EnvVar_Prepend=\ \ \ -Ep {var=value} prepend value to environment variable when running all tools
HeadlessBuilder_EnvVar_Remove=\ \ \ -Er {var} remove/unset the given environment variable
HeadlessBuilder_EnvVar_Replace=\ \ \ -E {var=value} replace/add value to environment variable when running all tools
-HeadlessBuilder_Error=Error:
+HeadlessBuilder_Error=Error:\u0020
HeadlessBuilder_help_requested=Help Requested
-HeadlessBuilder_invalid_argument=Invalid Arguments:
+HeadlessBuilder_invalid_argument=Invalid Arguments:\u0020
HeadlessBuilder_is_not_accessible=\ is not accessible\!
HeadlessBuilder_is_not_valid_in_workspace=\ is not valid in the workspace\!
HeadlessBuilder_no_arguments=No arguments specified.
HeadlessBuilder_NoConfigMatched=WARNING: No Config matched "
HeadlessBuilder_NoProjectMatched=WARNING: No Project matched "
HeadlessBuilder_Not_CDT_Proj=\ doesn't appear to be a CDT project. Skipping...
-HeadlessBuilder_project=Project:
+HeadlessBuilder_project=Project:\u0020
HeadlessBuilder_Quote="
-HeadlessBuilder_RegExSyntaxError=Project/Configuration Regular Expression Syntax error:
+HeadlessBuilder_RegExSyntaxError=Project/Configuration Regular Expression Syntax error:\u0020
HeadlessBuilder_Skipping=Skipping "
HeadlessBuilder_Skipping2=". Skipping...
-HeadlessBuilder_unknown_argument=Unknown argument:
-HeadlessBuilder_URI=URI:
-HeadlessBuilder_usage=Usage:
+HeadlessBuilder_unknown_argument=Unknown argument:\u0020
+HeadlessBuilder_URI=URI:\u0020
+HeadlessBuilder_usage=Usage:\u0020
HeadlessBuilder_usage_build=\ \ \ -build {project_name_reg_ex{/config_reg_ex} | all}
HeadlessBuilder_usage_clean_build=\ \ \ -cleanBuild {project_name_reg_ex{/config_reg_ex} | all}
HeadlessBuilder_usage_import=\ \ \ -import {[uri:/]/path/to/project}
@@ -60,6 +60,6 @@ HeadlessBuilder_ToolOption_Replace=\ \ \ -T {toolid} {optionid=value} r
HeadlessBuilder_ToolOption_Append=\ \ \ -Ta {toolid} {optionid=value} append to a tool option value in each configuration built
HeadlessBuilder_ToolOption_Prepend=\ \ \ -Tp {toolid} {optionid=value} prepend to a tool option value in each configuration built
HeadlessBuilder_ToolOption_Remove=\ \ \ -Tr {toolid} {optionid=value} remove a tool option value in each configuration built
-HeadlessBuilder_ToolOption_Types=\ \ \ Tool option values are parsed as a string, comma separated list of strings or a boolean based on the option's type
-HeadlessBuilder_Workspace=Workspace
+HeadlessBuilder_ToolOption_Types=\ \ \ Tool option values are parsed as a string, comma separated list of strings or a boolean based on the option's type\u0020
+HeadlessBuilder_Workspace=Workspace\u0020
HeadlessBuilder_WorkspaceInUse=Workspace already in use\!
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/PluginResources.properties b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/PluginResources.properties
index d21bd9baa92..f56b381c147 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/PluginResources.properties
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/PluginResources.properties
@@ -41,8 +41,8 @@ ManagedMakeBuilder.message.build.finished=**** Build Finished ****
ManagedMakeBuilder.type.clean = Clean-only build
ManagedMakeBuider.type.incremental = Build
ManagedMakeBuider.type.rebuild = Rebuild
-ManagedMakeBuilder.warning.unsupported.configuration=**** WARNING: The "{0}" Configuration may not build ****\n**** because it uses the "{1}" ****\n**** tool-chain that is unsupported on this system. ****\n\n**** Attempting to build... ****
-ManagedMakeBuilder.error.prefix=Error:
+ManagedMakeBuilder.warning.unsupported.configuration=**** WARNING: The "{0}" Configuration may not build ****\n**** because it uses the "{1}" ****\n**** tool-chain that is unsupported on this system. ****\n\n**** Attempting to build... ****\u0020
+ManagedMakeBuilder.error.prefix=Error:\u0020
# Option exception messages
Option.error.bad_value_type=Type of option value is inconsistent with option type
@@ -53,7 +53,7 @@ ManagedBuildManager.error.null_owner=addTarget: null owner
ManagedBuildManager.error.owner_not_project=addTarget: owner not project
ManagedBuildManager.error.manifest_load_failed_title=Managed Build System Version Error
ManagedBuildManager.error.manifest.version.error=The version number defined in the plug-in manifest file\n{0}\nis greater than the version of the Managed Build System.\nThe definitions in the manifest file will not be loaded.
-ManagedBuildManager.error.manifest.header=Managed Build system manifest file error:
+ManagedBuildManager.error.manifest.header=Managed Build system manifest file error:\u0020
ManagedBuildManager.error.manifest.resolving=Unable to resolve the {0} identifier {1} in the {2} {3}.
ManagedBuildManager.error.manifest.duplicate=Duplicate identifier {1} for element type {0}.
ManagedBuildManager.error.manifest.icon=Could not load icon "{0}".
@@ -80,7 +80,7 @@ MakefileGenerator.message.gen.source.makefile=Generating makefile for source fol
MakefileGenerator.message.calc.delta=Calculating the delta for project {0}
MakefileGenerator.message.finding.sources=Finding source files in project {0}
MakefileGenerator.comment.module.list = Every subdirectory with source files must be described here
-MakefileGenerator.comment.module.variables = Add inputs and outputs from these tool invocations to the build variables
+MakefileGenerator.comment.module.variables = Add inputs and outputs from these tool invocations to the build variables\u0020
MakefileGenerator.comment.source.list = All of the sources participating in the build are defined here
MakefileGenerator.comment.build.rule = Each subdirectory must supply rules for building sources it contributes
MakefileGenerator.comment.build.toprules = Tool invocations
@@ -93,7 +93,7 @@ MakefileGenerator.comment.autodeps=Automatically-generated dependency list:
MakefileGenerator.comment.header=Automatically-generated file. Do not edit!
MakefileGenerator.error.spaces=Cannot generate makefile for folder with spaces in name
MakeBuilder.Invoking_Make_Builder=Invoking Make Builder...
-MakeBuilder.Invoking_Command=Invoking Command:
+MakeBuilder.Invoking_Command=Invoking Command:\u0020
MakeBuilder.Updating_project=Updating project...
MakeBuilder.Creating_Markers=Generating markers...
MakefileGenerator.warning.no.source=Nothing to build for project {0}
@@ -119,15 +119,15 @@ UserDefinedMacroSupplier.storeOutputStream.wrong.arguments=Failed to persist mac
# BuildMacroStatus messages
BuildMacroStatus.status.macro.undefined=Macro {0} is undefined
GeneratedMakefileBuilder.buildingSelectedFiles=Building Selected Files
-BuildDescriptionGnuMakefileGenerator.0=IO exception occurred:
-BuildDescriptionGnuMakefileGenerator.1=IO exception occurred:
+BuildDescriptionGnuMakefileGenerator.0=IO exception occurred:\u0020
+BuildDescriptionGnuMakefileGenerator.1=IO exception occurred:\u0020
BuildMacroStatus.status.reference.eachother=Macros {0} and {1} reference each other
BuildMacroStatus.status.reference.incorrect=Macro {0} reference is incorrect
BuildMacroStatus.status.macro.not.string=Macro {0} is not of String type
BuildMacroStatus.status.macro.not.stringlist=Macro {0} is not of String-list type
BuildMacroStatus.status.error=Error occurred
-BuildMacroStatus.value.undefined=
-BuildInfoFactory.Missing_Builder=Missing Builder:
+BuildMacroStatus.value.undefined=\u0020
+BuildInfoFactory.Missing_Builder=Missing Builder:\u0020
#ResourceChangeHandler messages
ResourceChangeHandler.buildInfoSerializationJob=Build Info Serialization
@@ -155,7 +155,7 @@ MbsMacroSupplier.2=tool parent must be one of configuration, toolchain, or resou
GnuLinkOutputNameProvider.0=tool parent must be one of configuration, toolchain, or resource configuration
CommonBuilder.1=customized builder created for builder that does not support customization
CommonBuilder.2=request for building non active configuration for the builder that does not support this
-CommonBuilder.6=Time consumed: {0} ms.
+CommonBuilder.6=Time consumed: {0} ms. \u0020
CommonBuilder.7=Info: Parallel threads used: {0}
CommonBuilder.0=can not clean programmatically: build workspace path is not specified
CommonBuilder.16=can not clean programmatically: build workspace path is not the project path

Back to the top