From: bsinou Date: Tue, 7 Mar 2017 16:27:41 +0000 (+0100) Subject: Remove legacy apps.properties files, clean spring config X-Git-Tag: argeo-suite-0.1.5~6 X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=commitdiff_plain;h=4754e4ec30ef5c570f1a45b11c19e5df95ffb0e5 Remove legacy apps.properties files, clean spring config --- diff --git a/org.argeo.suite.app/.classpath b/org.argeo.suite.app/.classpath index 1ef7358..075009d 100644 --- a/org.argeo.suite.app/.classpath +++ b/org.argeo.suite.app/.classpath @@ -1,6 +1,5 @@ - diff --git a/org.argeo.suite.app/META-INF/spring/backend-services.xml b/org.argeo.suite.app/META-INF/spring/backend-services.xml index e0c9d98..bae1034 100644 --- a/org.argeo.suite.app/META-INF/spring/backend-services.xml +++ b/org.argeo.suite.app/META-INF/spring/backend-services.xml @@ -4,8 +4,7 @@ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd"> - + @@ -29,7 +28,7 @@ - + diff --git a/org.argeo.suite.app/META-INF/spring/maintenance-services.xml b/org.argeo.suite.app/META-INF/spring/maintenance-services.xml index 42e9bad..2c0e515 100644 --- a/org.argeo.suite.app/META-INF/spring/maintenance-services.xml +++ b/org.argeo.suite.app/META-INF/spring/maintenance-services.xml @@ -8,13 +8,11 @@ - + - + @@ -33,7 +31,7 @@ - + diff --git a/org.argeo.suite.app/META-INF/spring/workbench-services.xml b/org.argeo.suite.app/META-INF/spring/workbench-services.xml index 19f1bf8..86b14b8 100644 --- a/org.argeo.suite.app/META-INF/spring/workbench-services.xml +++ b/org.argeo.suite.app/META-INF/spring/workbench-services.xml @@ -29,8 +29,7 @@ - + - diff --git a/org.argeo.suite.app/apps.properties b/org.argeo.suite.app/apps.properties deleted file mode 100644 index e0227a3..0000000 --- a/org.argeo.suite.app/apps.properties +++ /dev/null @@ -1 +0,0 @@ -argeo.security.systemKey=argeo \ No newline at end of file diff --git a/org.argeo.suite.app/plugin.xml b/org.argeo.suite.app/plugin.xml index 23b4993..01657b7 100644 --- a/org.argeo.suite.app/plugin.xml +++ b/org.argeo.suite.app/plugin.xml @@ -66,19 +66,6 @@ alias="/ui/suite/img/logo-argeo.png" base-name="theme/argeo-classic/img/logo-argeo.png"> - - - diff --git a/org.argeo.suite.workbench.rap/apps.properties b/org.argeo.suite.workbench.rap/apps.properties deleted file mode 100644 index e0227a3..0000000 --- a/org.argeo.suite.workbench.rap/apps.properties +++ /dev/null @@ -1 +0,0 @@ -argeo.security.systemKey=argeo \ No newline at end of file diff --git a/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/commands/ImportEntities.java b/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/commands/ImportEntities.java index 293cfe0..4febb0e 100644 --- a/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/commands/ImportEntities.java +++ b/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/commands/ImportEntities.java @@ -82,8 +82,7 @@ public class ImportEntities extends AbstractHandler implements PeopleNames { } // TODO make this configurable - private final static String IMPORT_ENCODING = "ISO-8859-1";//"UTF-8"; - + private final static String IMPORT_ENCODING = "ISO-8859-1";// "UTF-8"; /* DEPENDENCY INJECTION */ private Repository repository; @@ -131,7 +130,8 @@ public class ImportEntities extends AbstractHandler implements PeopleNames { @Override public boolean performFinish() { // Session session = null; - // String templateName = resourceTypeCombo.getItem(resourceTypeCombo.getSelectionIndex()); + // String templateName = + // resourceTypeCombo.getItem(resourceTypeCombo.getSelectionIndex()); // String type = KNOWN_TEMPLATES.get(templateName); importDefaultOrgFile(file); return true; @@ -447,8 +447,8 @@ public class ImportEntities extends AbstractHandler implements PeopleNames { stStr, cStr, true, null, ContactValueCatalogs.CONTACT_CAT_MAIN, null); String mobileStr = getStringValue(sheet, mobileIndex, i); if (notEmpty(mobileStr)) - PeopleJcrUtils.createPhone(peopleService, resourcesService, tmpOrg, mobileStr, true, null, - ContactValueCatalogs.CONTACT_CAT_MOBILE, null); + PeopleJcrUtils.createPhone(peopleService, resourcesService, tmpOrg, mobileStr, true, null, null, + null); String phoneStr = getStringValue(sheet, telephoneNumberIndex, i); if (notEmpty(phoneStr)) PeopleJcrUtils.createPhone(peopleService, resourcesService, tmpOrg, phoneStr, true, null,