From a69c057b4d77d8475aad2a9b50a0ea44f1f7cedb Mon Sep 17 00:00:00 2001 From: Timotei Dolean Date: Thu, 4 Aug 2011 19:08:45 +0000 Subject: [PATCH] eclipse plugin: Flatten the feature project into... ...the main one and rename it to 'org.wesnoth' --- utils/umc_dev/build/SConstruct | 2 - utils/umc_dev/build/category.xml | 2 +- utils/umc_dev/build/site.xml | 2 +- utils/umc_dev/org.wesnoth.feature/.project | 17 ----- .../org.wesnoth.feature/build.properties | 1 - utils/umc_dev/org.wesnoth.tests/.classpath | 2 +- .../buckminster.properties | 0 utils/umc_dev/org.wesnoth/build.properties | 1 + .../feature.xml | 62 +++++++++++++++++-- utils/umc_dev/org.wesnoth/org.wesnoth.product | 20 ++++-- .../signing.cmd | 2 +- 11 files changed, 76 insertions(+), 35 deletions(-) delete mode 100644 utils/umc_dev/org.wesnoth.feature/.project delete mode 100644 utils/umc_dev/org.wesnoth.feature/build.properties rename utils/umc_dev/{org.wesnoth.feature => org.wesnoth}/buckminster.properties (100%) rename utils/umc_dev/{org.wesnoth.feature => org.wesnoth}/feature.xml (91%) rename utils/umc_dev/{org.wesnoth.feature => org.wesnoth}/signing.cmd (93%) diff --git a/utils/umc_dev/build/SConstruct b/utils/umc_dev/build/SConstruct index db5b0ff0514..0fd0920a23a 100644 --- a/utils/umc_dev/build/SConstruct +++ b/utils/umc_dev/build/SConstruct @@ -73,8 +73,6 @@ subprocess.call( [ "-buildfile", "build.xml" ] ) # Some cleanup -if os.path.exists( "../org.wesnoth.feature/build.xml" ): - os.remove( "../org.wesnoth.feature/build.xml" ) if os.path.exists( "../org.wesnoth/build.xml" ): os.remove( "../org.wesnoth/build.xml" ) if os.path.exists( "../org.wesnoth.ui/build.xml" ): diff --git a/utils/umc_dev/build/category.xml b/utils/umc_dev/build/category.xml index f6408155531..17adae943ff 100644 --- a/utils/umc_dev/build/category.xml +++ b/utils/umc_dev/build/category.xml @@ -1,6 +1,6 @@ - + diff --git a/utils/umc_dev/build/site.xml b/utils/umc_dev/build/site.xml index e684c8b5b52..9d9012ed25a 100644 --- a/utils/umc_dev/build/site.xml +++ b/utils/umc_dev/build/site.xml @@ -3,7 +3,7 @@ The default update site for Wesnoth Eclipse Plugins - + diff --git a/utils/umc_dev/org.wesnoth.feature/.project b/utils/umc_dev/org.wesnoth.feature/.project deleted file mode 100644 index 1f32bb8103f..00000000000 --- a/utils/umc_dev/org.wesnoth.feature/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - org.wesnoth.feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - - org.eclipse.pde.FeatureNature - - diff --git a/utils/umc_dev/org.wesnoth.feature/build.properties b/utils/umc_dev/org.wesnoth.feature/build.properties deleted file mode 100644 index b045d397627..00000000000 --- a/utils/umc_dev/org.wesnoth.feature/build.properties +++ /dev/null @@ -1 +0,0 @@ -bin.includes = feature.xml \ No newline at end of file diff --git a/utils/umc_dev/org.wesnoth.tests/.classpath b/utils/umc_dev/org.wesnoth.tests/.classpath index ad32c83a788..1fa3e6803d3 100644 --- a/utils/umc_dev/org.wesnoth.tests/.classpath +++ b/utils/umc_dev/org.wesnoth.tests/.classpath @@ -1,6 +1,6 @@ - + diff --git a/utils/umc_dev/org.wesnoth.feature/buckminster.properties b/utils/umc_dev/org.wesnoth/buckminster.properties similarity index 100% rename from utils/umc_dev/org.wesnoth.feature/buckminster.properties rename to utils/umc_dev/org.wesnoth/buckminster.properties diff --git a/utils/umc_dev/org.wesnoth/build.properties b/utils/umc_dev/org.wesnoth/build.properties index 4d1e14ba889..6d871546a53 100644 --- a/utils/umc_dev/org.wesnoth/build.properties +++ b/utils/umc_dev/org.wesnoth/build.properties @@ -4,6 +4,7 @@ source.. = src/,\ bin.includes = META-INF/,\ .,\ plugin.xml,\ + feature.xml,\ *.xml,\ icons/,\ templates/,\ diff --git a/utils/umc_dev/org.wesnoth.feature/feature.xml b/utils/umc_dev/org.wesnoth/feature.xml similarity index 91% rename from utils/umc_dev/org.wesnoth.feature/feature.xml rename to utils/umc_dev/org.wesnoth/feature.xml index 7768c362e3c..1293198d3bd 100644 --- a/utils/umc_dev/org.wesnoth.feature/feature.xml +++ b/utils/umc_dev/org.wesnoth/feature.xml @@ -1,6 +1,6 @@ - - @@ -264,4 +260,60 @@ litigation. version="0.0.0" unpack="false"/> + + + + + + + + + + + + + + + + diff --git a/utils/umc_dev/org.wesnoth/org.wesnoth.product b/utils/umc_dev/org.wesnoth/org.wesnoth.product index 5a1f0c67bed..45406b701b3 100644 --- a/utils/umc_dev/org.wesnoth/org.wesnoth.product +++ b/utils/umc_dev/org.wesnoth/org.wesnoth.product @@ -1,7 +1,7 @@ - + @@ -401,11 +401,19 @@ litigation. - - - - - + + + + + + + + + + + + + diff --git a/utils/umc_dev/org.wesnoth.feature/signing.cmd b/utils/umc_dev/org.wesnoth/signing.cmd similarity index 93% rename from utils/umc_dev/org.wesnoth.feature/signing.cmd rename to utils/umc_dev/org.wesnoth/signing.cmd index fea96de7d27..f1199633512 100644 --- a/utils/umc_dev/org.wesnoth.feature/signing.cmd +++ b/utils/umc_dev/org.wesnoth/signing.cmd @@ -13,7 +13,7 @@ DEL keystore echo generating key... keytool.exe -genkey -dname "cn=Battle for Wesnoth, ou=Wesnoth, o=Wesnoth" -alias wesnoth -keypass %1 -keystore keystore -storepass %2 -validity 1095 echo signing feature -jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/features/org.wesnoth.feature_%PLUGIN_VERSION%.jar wesnoth +jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/features/org.wesnoth_%PLUGIN_VERSION%.jar wesnoth echo signing org.wesnoth_%PLUGIN_VERSION%.jar jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth_%PLUGIN_VERSION%.jar wesnoth echo signing org.wesnoth.ui_%PLUGIN_VERSION%.jar