From 01ea35ccb7546840ca6abf567b5d0c57fa9f81be Mon Sep 17 00:00:00 2001 From: Ben Liblit Date: Wed, 16 Aug 2017 11:09:55 -0500 Subject: [PATCH] Rename "...-feature" to "..._feature" in subdirs and features This change affects both top-level subdirectory names as well as Eclipse plug-in feature names. Perhaps it would have been possible to change only the latter, but I don't like the idea of the two being different. These name changes fix three Eclipse plug-in warnings of the form: Illegal value '...-feature' for attribute 'id'. Legal token characters are "a-z", "A-Z", "0-9", "_". Tokens must be separated by "." I'll be the first to admit that I know nearly nothing about Eclipse plug-in development. If changing these plug-in feature IDs has broader implications that the automated regression tests won't detect, then I probably overlooked them too. I would greatly appreciate skeptical review of this change by someone who knows Eclipse plug-in development well. Note that personal Eclipse workspaces may need some manual adjustment after this change. The three "...-feature" Eclipse projects should be removed from the workspace, and the three corresponding "..._feature" Eclipse projects should be added. If you do your git pull using Eclipse's team features, perhaps it is smart enough to do this for you? I don't know, but it wouldn't surprise me if fixing things manually were still needed even in that case. --- com.ibm.wala-repository/category.xml | 8 ++++---- .../launchers/#com.ibm.wala.ide.jdt.test.launch# | 6 +++--- .../launchers/JDTJava15IRTests.launch | 8 ++++---- .../launchers/com.ibm.wala.ide.jsdt.tests.launch | 6 +++--- .../.project | 2 +- .../.settings/org.eclipse.wst.validation.prefs | 0 .../build.properties | 0 .../feature.properties | 0 .../feature.xml | 2 +- .../pom.xml | 2 +- .../.project | 2 +- .../.settings/org.eclipse.wst.validation.prefs | 0 .../build.properties | 0 .../feature.properties | 0 .../feature.xml | 0 .../pom.xml | 0 .../.project | 2 +- .../.settings/org.eclipse.wst.validation.prefs | 0 .../build.properties | 0 .../feature.properties | 0 .../feature.xml | 2 +- .../pom.xml | 2 +- {com.ibm.wala-feature => com.ibm.wala_feature}/.project | 2 +- .../.settings/org.eclipse.wst.validation.prefs | 0 .../build.properties | 0 .../feature.properties | 0 .../feature.xml | 2 +- {com.ibm.wala-feature => com.ibm.wala_feature}/pom.xml | 2 +- pom.xml | 4 ++-- 29 files changed, 26 insertions(+), 26 deletions(-) rename {com.ibm.wala.ide-feature => com.ibm.wala.ide_feature}/.project (89%) rename {com.ibm.wala-feature => com.ibm.wala.ide_feature}/.settings/org.eclipse.wst.validation.prefs (100%) rename {com.ibm.wala-feature => com.ibm.wala.ide_feature}/build.properties (100%) rename {com.ibm.wala.ide-feature => com.ibm.wala.ide_feature}/feature.properties (100%) rename {com.ibm.wala.ide-feature => com.ibm.wala.ide_feature}/feature.xml (89%) rename {com.ibm.wala.ide-feature => com.ibm.wala.ide_feature}/pom.xml (90%) rename {com.ibm.wala.tests.ide-feature => com.ibm.wala.tests.ide_feature}/.project (88%) rename {com.ibm.wala.tests-feature => com.ibm.wala.tests.ide_feature}/.settings/org.eclipse.wst.validation.prefs (100%) rename {com.ibm.wala.tests-feature => com.ibm.wala.tests.ide_feature}/build.properties (100%) rename {com.ibm.wala.tests.ide-feature => com.ibm.wala.tests.ide_feature}/feature.properties (100%) rename {com.ibm.wala.tests.ide-feature => com.ibm.wala.tests.ide_feature}/feature.xml (100%) rename {com.ibm.wala.tests.ide-feature => com.ibm.wala.tests.ide_feature}/pom.xml (100%) rename {com.ibm.wala.tests-feature => com.ibm.wala.tests_feature}/.project (89%) rename {com.ibm.wala.tests.ide-feature => com.ibm.wala.tests_feature}/.settings/org.eclipse.wst.validation.prefs (100%) rename {com.ibm.wala.tests.ide-feature => com.ibm.wala.tests_feature}/build.properties (100%) rename {com.ibm.wala.tests-feature => com.ibm.wala.tests_feature}/feature.properties (100%) rename {com.ibm.wala.tests-feature => com.ibm.wala.tests_feature}/feature.xml (95%) rename {com.ibm.wala.tests-feature => com.ibm.wala.tests_feature}/pom.xml (89%) rename {com.ibm.wala-feature => com.ibm.wala_feature}/.project (90%) rename {com.ibm.wala.ide-feature => com.ibm.wala_feature}/.settings/org.eclipse.wst.validation.prefs (100%) rename {com.ibm.wala.ide-feature => com.ibm.wala_feature}/build.properties (100%) rename {com.ibm.wala-feature => com.ibm.wala_feature}/feature.properties (100%) rename {com.ibm.wala-feature => com.ibm.wala_feature}/feature.xml (96%) rename {com.ibm.wala-feature => com.ibm.wala_feature}/pom.xml (90%) diff --git a/com.ibm.wala-repository/category.xml b/com.ibm.wala-repository/category.xml index 091568633..95cf632d1 100644 --- a/com.ibm.wala-repository/category.xml +++ b/com.ibm.wala-repository/category.xml @@ -1,15 +1,15 @@ - + - + - + - + diff --git a/com.ibm.wala.ide.jdt.test/launchers/#com.ibm.wala.ide.jdt.test.launch# b/com.ibm.wala.ide.jdt.test/launchers/#com.ibm.wala.ide.jdt.test.launch# index 44bf6c52b..c47e887d9 100644 --- a/com.ibm.wala.ide.jdt.test/launchers/#com.ibm.wala.ide.jdt.test.launch# +++ b/com.ibm.wala.ide.jdt.test/launchers/#com.ibm.wala.ide.jdt.test.launch# @@ -40,9 +40,9 @@ - - - + + + diff --git a/com.ibm.wala.ide.jdt.test/launchers/JDTJava15IRTests.launch b/com.ibm.wala.ide.jdt.test/launchers/JDTJava15IRTests.launch index 7dbd1635c..8704dc608 100644 --- a/com.ibm.wala.ide.jdt.test/launchers/JDTJava15IRTests.launch +++ b/com.ibm.wala.ide.jdt.test/launchers/JDTJava15IRTests.launch @@ -39,11 +39,11 @@ - + - - - + + + diff --git a/com.ibm.wala.ide.jsdt.tests/launchers/com.ibm.wala.ide.jsdt.tests.launch b/com.ibm.wala.ide.jsdt.tests/launchers/com.ibm.wala.ide.jsdt.tests.launch index 99a88826e..c32eeee38 100644 --- a/com.ibm.wala.ide.jsdt.tests/launchers/com.ibm.wala.ide.jsdt.tests.launch +++ b/com.ibm.wala.ide.jsdt.tests/launchers/com.ibm.wala.ide.jsdt.tests.launch @@ -41,9 +41,9 @@ - - - + + + diff --git a/com.ibm.wala.ide-feature/.project b/com.ibm.wala.ide_feature/.project similarity index 89% rename from com.ibm.wala.ide-feature/.project rename to com.ibm.wala.ide_feature/.project index 8d9448d57..6b957cabe 100644 --- a/com.ibm.wala.ide-feature/.project +++ b/com.ibm.wala.ide_feature/.project @@ -1,6 +1,6 @@ - com.ibm.wala.ide-feature + com.ibm.wala.ide_feature diff --git a/com.ibm.wala-feature/.settings/org.eclipse.wst.validation.prefs b/com.ibm.wala.ide_feature/.settings/org.eclipse.wst.validation.prefs similarity index 100% rename from com.ibm.wala-feature/.settings/org.eclipse.wst.validation.prefs rename to com.ibm.wala.ide_feature/.settings/org.eclipse.wst.validation.prefs diff --git a/com.ibm.wala-feature/build.properties b/com.ibm.wala.ide_feature/build.properties similarity index 100% rename from com.ibm.wala-feature/build.properties rename to com.ibm.wala.ide_feature/build.properties diff --git a/com.ibm.wala.ide-feature/feature.properties b/com.ibm.wala.ide_feature/feature.properties similarity index 100% rename from com.ibm.wala.ide-feature/feature.properties rename to com.ibm.wala.ide_feature/feature.properties diff --git a/com.ibm.wala.ide-feature/feature.xml b/com.ibm.wala.ide_feature/feature.xml similarity index 89% rename from com.ibm.wala.ide-feature/feature.xml rename to com.ibm.wala.ide_feature/feature.xml index 8d250c263..4732ec536 100644 --- a/com.ibm.wala.ide-feature/feature.xml +++ b/com.ibm.wala.ide_feature/feature.xml @@ -1,6 +1,6 @@ diff --git a/com.ibm.wala.ide-feature/pom.xml b/com.ibm.wala.ide_feature/pom.xml similarity index 90% rename from com.ibm.wala.ide-feature/pom.xml rename to com.ibm.wala.ide_feature/pom.xml index 1c1a180fc..c4e64a308 100644 --- a/com.ibm.wala.ide-feature/pom.xml +++ b/com.ibm.wala.ide_feature/pom.xml @@ -7,6 +7,6 @@ com.ibm.wala 1.4.4-SNAPSHOT - com.ibm.wala.ide-feature + com.ibm.wala.ide_feature eclipse-feature diff --git a/com.ibm.wala.tests.ide-feature/.project b/com.ibm.wala.tests.ide_feature/.project similarity index 88% rename from com.ibm.wala.tests.ide-feature/.project rename to com.ibm.wala.tests.ide_feature/.project index 7670b6ef9..9b48674b4 100644 --- a/com.ibm.wala.tests.ide-feature/.project +++ b/com.ibm.wala.tests.ide_feature/.project @@ -1,6 +1,6 @@ - com.ibm.wala.tests.ide-feature + com.ibm.wala.tests.ide_feature diff --git a/com.ibm.wala.tests-feature/.settings/org.eclipse.wst.validation.prefs b/com.ibm.wala.tests.ide_feature/.settings/org.eclipse.wst.validation.prefs similarity index 100% rename from com.ibm.wala.tests-feature/.settings/org.eclipse.wst.validation.prefs rename to com.ibm.wala.tests.ide_feature/.settings/org.eclipse.wst.validation.prefs diff --git a/com.ibm.wala.tests-feature/build.properties b/com.ibm.wala.tests.ide_feature/build.properties similarity index 100% rename from com.ibm.wala.tests-feature/build.properties rename to com.ibm.wala.tests.ide_feature/build.properties diff --git a/com.ibm.wala.tests.ide-feature/feature.properties b/com.ibm.wala.tests.ide_feature/feature.properties similarity index 100% rename from com.ibm.wala.tests.ide-feature/feature.properties rename to com.ibm.wala.tests.ide_feature/feature.properties diff --git a/com.ibm.wala.tests.ide-feature/feature.xml b/com.ibm.wala.tests.ide_feature/feature.xml similarity index 100% rename from com.ibm.wala.tests.ide-feature/feature.xml rename to com.ibm.wala.tests.ide_feature/feature.xml diff --git a/com.ibm.wala.tests.ide-feature/pom.xml b/com.ibm.wala.tests.ide_feature/pom.xml similarity index 100% rename from com.ibm.wala.tests.ide-feature/pom.xml rename to com.ibm.wala.tests.ide_feature/pom.xml diff --git a/com.ibm.wala.tests-feature/.project b/com.ibm.wala.tests_feature/.project similarity index 89% rename from com.ibm.wala.tests-feature/.project rename to com.ibm.wala.tests_feature/.project index 9484313e4..4e348e734 100644 --- a/com.ibm.wala.tests-feature/.project +++ b/com.ibm.wala.tests_feature/.project @@ -1,6 +1,6 @@ - com.ibm.wala.tests-feature + com.ibm.wala.tests_feature diff --git a/com.ibm.wala.tests.ide-feature/.settings/org.eclipse.wst.validation.prefs b/com.ibm.wala.tests_feature/.settings/org.eclipse.wst.validation.prefs similarity index 100% rename from com.ibm.wala.tests.ide-feature/.settings/org.eclipse.wst.validation.prefs rename to com.ibm.wala.tests_feature/.settings/org.eclipse.wst.validation.prefs diff --git a/com.ibm.wala.tests.ide-feature/build.properties b/com.ibm.wala.tests_feature/build.properties similarity index 100% rename from com.ibm.wala.tests.ide-feature/build.properties rename to com.ibm.wala.tests_feature/build.properties diff --git a/com.ibm.wala.tests-feature/feature.properties b/com.ibm.wala.tests_feature/feature.properties similarity index 100% rename from com.ibm.wala.tests-feature/feature.properties rename to com.ibm.wala.tests_feature/feature.properties diff --git a/com.ibm.wala.tests-feature/feature.xml b/com.ibm.wala.tests_feature/feature.xml similarity index 95% rename from com.ibm.wala.tests-feature/feature.xml rename to com.ibm.wala.tests_feature/feature.xml index ff6cbe818..d5cb7f346 100644 --- a/com.ibm.wala.tests-feature/feature.xml +++ b/com.ibm.wala.tests_feature/feature.xml @@ -1,6 +1,6 @@ diff --git a/com.ibm.wala.tests-feature/pom.xml b/com.ibm.wala.tests_feature/pom.xml similarity index 89% rename from com.ibm.wala.tests-feature/pom.xml rename to com.ibm.wala.tests_feature/pom.xml index eea87653b..9cbb92d7c 100644 --- a/com.ibm.wala.tests-feature/pom.xml +++ b/com.ibm.wala.tests_feature/pom.xml @@ -7,6 +7,6 @@ com.ibm.wala 1.4.4-SNAPSHOT - com.ibm.wala.tests-feature + com.ibm.wala.tests_feature eclipse-feature diff --git a/com.ibm.wala-feature/.project b/com.ibm.wala_feature/.project similarity index 90% rename from com.ibm.wala-feature/.project rename to com.ibm.wala_feature/.project index 48c667c2d..0e1918b04 100644 --- a/com.ibm.wala-feature/.project +++ b/com.ibm.wala_feature/.project @@ -1,6 +1,6 @@ - com.ibm.wala-feature + com.ibm.wala_feature diff --git a/com.ibm.wala.ide-feature/.settings/org.eclipse.wst.validation.prefs b/com.ibm.wala_feature/.settings/org.eclipse.wst.validation.prefs similarity index 100% rename from com.ibm.wala.ide-feature/.settings/org.eclipse.wst.validation.prefs rename to com.ibm.wala_feature/.settings/org.eclipse.wst.validation.prefs diff --git a/com.ibm.wala.ide-feature/build.properties b/com.ibm.wala_feature/build.properties similarity index 100% rename from com.ibm.wala.ide-feature/build.properties rename to com.ibm.wala_feature/build.properties diff --git a/com.ibm.wala-feature/feature.properties b/com.ibm.wala_feature/feature.properties similarity index 100% rename from com.ibm.wala-feature/feature.properties rename to com.ibm.wala_feature/feature.properties diff --git a/com.ibm.wala-feature/feature.xml b/com.ibm.wala_feature/feature.xml similarity index 96% rename from com.ibm.wala-feature/feature.xml rename to com.ibm.wala_feature/feature.xml index 3f15e74db..fe57a5847 100644 --- a/com.ibm.wala-feature/feature.xml +++ b/com.ibm.wala_feature/feature.xml @@ -1,6 +1,6 @@ diff --git a/com.ibm.wala-feature/pom.xml b/com.ibm.wala_feature/pom.xml similarity index 90% rename from com.ibm.wala-feature/pom.xml rename to com.ibm.wala_feature/pom.xml index c363e0b21..6dae52ce9 100644 --- a/com.ibm.wala-feature/pom.xml +++ b/com.ibm.wala_feature/pom.xml @@ -7,6 +7,6 @@ com.ibm.wala 1.4.4-SNAPSHOT - com.ibm.wala-feature + com.ibm.wala_feature eclipse-feature diff --git a/pom.xml b/pom.xml index 7c37d3496..dbef851a2 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ targets - com.ibm.wala-feature + com.ibm.wala_feature com.ibm.wala.core com.ibm.wala.shrike com.ibm.wala.util @@ -34,7 +34,7 @@ com.ibm.wala.cast.java.ecj - com.ibm.wala.ide-feature + com.ibm.wala.ide_feature com.ibm.wala.ide com.ibm.wala.ide.tests