Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2018-11-22 18:46:49 -0500
committerJonah Graham2018-11-23 02:52:26 -0500
commitff75ae80fa44dfc925064f7ca0169ac80997bc77 (patch)
tree7db3666d26eeae703d9bc650d5d4540bc71406fb /core/org.eclipse.cdt.core/templateengine
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 'core/org.eclipse.cdt.core/templateengine')
-rw-r--r--core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/Messages.properties28
-rw-r--r--core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/Messages.properties76
2 files changed, 52 insertions, 52 deletions
diff --git a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/Messages.properties b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/Messages.properties
index c14806ee9d..f5f729f34e 100644
--- a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/Messages.properties
+++ b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/Messages.properties
@@ -11,24 +11,24 @@
# Contributors:
# Bala Torati (Symbian) - Initial API and implementation
###############################################################################
-TemplateEngine.internalError=Internal Error:
+TemplateEngine.internalError=Internal Error:\u0020
TemplateEngine.templateEngine=Template Engine
ProjectCreatedActions.InsufficientInformation=Insufficient information to create new project
-ConditionalProcessGroup.notExecuting=Condition block not executing:
-ConditionalProcessGroup.unexpandableMacro=Condition has an unexpandable macro:
-Process.argument=Argument
-Process.expandableMacro=\ has an unexpandable macro:
-Process.error=-->Error:
-Process.success=-->Success:
-Process.info=-->Info:
-Process.unknownProcess=Unknown process:
-Process.executedSuccessfully=Executed successfully with args:
+ConditionalProcessGroup.notExecuting=Condition block not executing:\u0020
+ConditionalProcessGroup.unexpandableMacro=Condition has an unexpandable macro:\u0020
+Process.argument=Argument\u0020
+Process.expandableMacro=\ has an unexpandable macro:\u0020
+Process.error=-->Error:\u0020
+Process.success=-->Success:\u0020
+Process.info=-->Info:\u0020
+Process.unknownProcess=Unknown process:\u0020
+Process.executedSuccessfully=Executed successfully with args:\u0020
ProcessRunner.unexpectedArguments=Unexpected arguments found.
ProcessRunner.missingArguments=Missing arguments.
-ProcessRunner.argumentsMismatch=Argument type mismatch:
-ProcessRunner.error=-->Error:
-ProcessRunner.success=-->Success:
-ProcessRunner.info=-->Info:
+ProcessRunner.argumentsMismatch=Argument type mismatch:\u0020
+ProcessRunner.error=-->Error:\u0020
+ProcessRunner.success=-->Success:\u0020
+ProcessRunner.info=-->Info:\u0020
ProcessHelper.fileNotFound=File not found: ''{0}''
ProcessRunner_missingArg = ILanguageSettingsProvider failure: argument {0} not found
diff --git a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/Messages.properties b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/Messages.properties
index a66a9ac648..7a43289eda 100644
--- a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/Messages.properties
+++ b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/processes/Messages.properties
@@ -12,51 +12,51 @@
# Bala Torati (Symbian) - Initial API and implementation
###############################################################################
-AddFiles.1=Add Files failure: template source not found:
-AddFiles.2=Add Files failure: template source not found:
-AddFiles.3=Add Files failure: cannot read template source:
-AddFiles.4=Add Files failure: cannot read template source:
+AddFiles.1=Add Files failure: template source not found:\u0020
+AddFiles.2=Add Files failure: template source not found:\u0020
+AddFiles.3=Add Files failure: cannot read template source:\u0020
+AddFiles.4=Add Files failure: cannot read template source:\u0020
AddFiles.5=Add Files failure: File already exists.
-AddFiles.6=Add Files failure:
-AddFiles.7=Add Files failure:
+AddFiles.6=Add Files failure:\u0020
+AddFiles.7=Add Files failure:\u0020
AddFiles.8=Add Files failure: projectName not specified
AddFiles.9=Add Files failure: No files
-AddFile.0=Add File failure: template source not found:
-AddFile.1=Add File failure: template source not found:
-AddFile.2=Add File failure: cannot read template source:
-AddFile.3=Add File failure: cannot read template source:
-AddFile.4=Add File failure:
-AddLink.0=Add Link failure:
-SetMBSBooleanOptionValue.0=SetMBSBooleanOptionValue failure:
-SetMBSBooleanOptionValue.3=SetMBSBooleanOptionValue failure: No such file exists:
-SetMBSStringOptionValue.0=SetMBSStringOptionValue failure:
-SetMBSStringOptionValue.3=SetMBSStringOptionValue failure: No such file exists:
-SetMBSStringListOptionValues.0=SetMBSStringListOptionValues failure:
-SetMBSStringListOptionValues.3=SetMBSStringListOptionValues failure: No such file exists:
-NewManagedProject.3=New Project failure:
-NewManagedProject.4=New Project failure: No Configurations specified for
-#NewManagedProject.5=New Project failure: project already existing in work space:
-AppendCreate.1=Add File failure: template source not found:
-AppendCreate.2=Append failure: template source not found:
-AppendCreate.3=Append failure: cannot read template source:
+AddFile.0=Add File failure: template source not found:\u0020
+AddFile.1=Add File failure: template source not found:\u0020
+AddFile.2=Add File failure: cannot read template source:\u0020
+AddFile.3=Add File failure: cannot read template source:\u0020
+AddFile.4=Add File failure:\u0020
+AddLink.0=Add Link failure:\u0020
+SetMBSBooleanOptionValue.0=SetMBSBooleanOptionValue failure:\u0020
+SetMBSBooleanOptionValue.3=SetMBSBooleanOptionValue failure: No such file exists:\u0020
+SetMBSStringOptionValue.0=SetMBSStringOptionValue failure:\u0020
+SetMBSStringOptionValue.3=SetMBSStringOptionValue failure: No such file exists:\u0020
+SetMBSStringListOptionValues.0=SetMBSStringListOptionValues failure:\u0020
+SetMBSStringListOptionValues.3=SetMBSStringListOptionValues failure: No such file exists:\u0020
+NewManagedProject.3=New Project failure:\u0020
+NewManagedProject.4=New Project failure: No Configurations specified for\u0020
+#NewManagedProject.5=New Project failure: project already existing in work space:
+AppendCreate.1=Add File failure: template source not found:\u0020
+AppendCreate.2=Append failure: template source not found:\u0020
+AppendCreate.3=Append failure: cannot read template source:\u0020
AppendCreate.4=Append failure: failed while trying to append contents.
-AppendToMBSStringOptionValue.0=AppendToMBSStringOptionValue failure:
-AppendToMBSStringOptionValue.3=AppendToMBSStringOptionValue failure: No such file exists:
-AppendToMBSStringListOptionValues.0=AppendToMBSStringListOptionValues failure:
-AppendToMBSStringListOptionValues.3=AppendToMBSStringListOptionValues failure: No such file exists:
-CreateSourceFolder.0=Create Folder failure: project does not exist:
-CreateSourceFolder.1=Create Folder failure:
-CreateSourceFolder.2=Create Source Folder failure:
-CreateIncludeFolder.3=Create Include Folder failure: while setting include path:
+AppendToMBSStringOptionValue.0=AppendToMBSStringOptionValue failure:\u0020
+AppendToMBSStringOptionValue.3=AppendToMBSStringOptionValue failure: No such file exists:\u0020
+AppendToMBSStringListOptionValues.0=AppendToMBSStringListOptionValues failure:\u0020
+AppendToMBSStringListOptionValues.3=AppendToMBSStringListOptionValues failure: No such file exists:\u0020
+CreateSourceFolder.0=Create Folder failure: project does not exist:\u0020
+CreateSourceFolder.1=Create Folder failure:\u0020
+CreateSourceFolder.2=Create Source Folder failure:\u0020
+CreateIncludeFolder.3=Create Include Folder failure: while setting include path:\u0020
ExcludeResources.0=ExcludeResources can only process CDT Managed projects
-Copy.0=Add File failure: template source not found:
-Copy.1=Copy failure: template source not found:
-Copy.3=Copy failure: cannot read template source:
+Copy.0=Add File failure: template source not found:\u0020
+Copy.1=Copy failure: template source not found:\u0020
+Copy.3=Copy failure: cannot read template source:\u0020
Copy.4=Copy failure: failed while copying contents.
Copy.5=Copy failure: failed while copying contents.
-Append.0=Add File failure: template source not found:
-Append.1=Copy failure: template source not found:
-Append.3=Copy failure: cannot read template source:
+Append.0=Add File failure: template source not found:\u0020
+Append.1=Copy failure: template source not found:\u0020
+Append.3=Copy failure: cannot read template source:\u0020
Append.4=Append failure: failed while trying to append contents.
AddNature.noProject=Add nature failure: projectName not specified
AddNature.noNature=Add nature failure: nature not specified

Back to the top