From b97ceaa1d57bf1746033521493febb29ce3a1a82 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Wed, 5 Oct 2011 20:35:34 +0000 Subject: [PATCH] CSPACE-4199,CSPACE-4232: Loanout service modified to take advantage of parameterization of static Nuxeo doc type files. --- .../nuxeo-platform-cs-loanout/pom.xml | 19 +- .../src/main/resources/META-INF/MANIFEST.MF | 23 - .../resources/OSGI-INF/core-types-contrib.xml | 20 - .../OSGI-INF/deployment-fragment.xml | 408 ------------------ .../resources/OSGI-INF/ecm-types-contrib.xml | 29 -- .../resources/OSGI-INF/life-cycle-contrib.xml | 11 - 6 files changed, 18 insertions(+), 492 deletions(-) delete mode 100644 services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/META-INF/MANIFEST.MF delete mode 100644 services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/core-types-contrib.xml delete mode 100644 services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/deployment-fragment.xml delete mode 100644 services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/ecm-types-contrib.xml delete mode 100644 services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/life-cycle-contrib.xml diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/pom.xml b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/pom.xml index 1dee30f30..c37e1a6c4 100644 --- a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/pom.xml +++ b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/pom.xml @@ -1,3 +1,4 @@ + @@ -17,14 +18,30 @@ Loanout Nuxeo Document Type + + loanout + Loanout + loansout_common + + + + + src/main/resources + true + + + ../../../../3rdparty/nuxeo/nuxeo-doctype/src/main/resources + true + + org.apache.maven.plugins maven-jar-plugin - src/main/resources/META-INF/MANIFEST.MF + target/classes/META-INF/MANIFEST.MF ${eclipseVersion} 2 diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/META-INF/MANIFEST.MF b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/META-INF/MANIFEST.MF deleted file mode 100644 index 700756470..000000000 --- a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/META-INF/MANIFEST.MF +++ /dev/null @@ -1,23 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 1 -Bundle-Name: NuxeoCS -Bundle-SymbolicName: org.collectionspace.loanout;singleton:=true -Bundle-Version: 1.0.0 -Bundle-Localization: plugin -Bundle-Vendor: Nuxeo -Require-Bundle: org.nuxeo.runtime, - org.nuxeo.ecm.core.api, - org.nuxeo.ecm.core, - org.nuxeo.ecm.core.api, - org.nuxeo.ecm.platform.types.api, - org.nuxeo.ecm.platform.versioning.api, - org.nuxeo.ecm.platform.ui, - org.nuxeo.ecm.platform.forms.layout.client, - org.nuxeo.ecm.platform.ws, - org.collectionspace.collectionspace_core -Provide-Package: org.collectionspace.loanout -Nuxeo-Component: OSGI-INF/core-types-contrib.xml, - OSGI-INF/life-cycle-contrib.xml, - OSGI-INF/ecm-types-contrib.xml, - OSGI-INF/layouts-contrib.xml - diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/core-types-contrib.xml b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/core-types-contrib.xml deleted file mode 100644 index c68b20417..000000000 --- a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/core-types-contrib.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - loansout_common:loanOutNumber - loansout_common:borrower - loansout_common:loanReturnDate - - - - diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/deployment-fragment.xml b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/deployment-fragment.xml deleted file mode 100644 index 88b94ffd1..000000000 --- a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/deployment-fragment.xml +++ /dev/null @@ -1,408 +0,0 @@ - - - - - - ${bundle.fileName} - - - - - nuxeo.war - /nuxeo - - - - - - - - - - - - Seam Context Filter - /ws/FileManageWS - - - - Seam Context Filter - /DocumentManagerWS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #{currentServerLocation.name}/#{currentTabAction.label} - - - - Create new document in #{currentDocument.name} - - - - Create new document in #{currentDocument.name} - - - - breadcrumb=command.user_dashboard - - - - breadcrumb=command.manageMembers - - - - breadcrumb=command.manageMembers - - - - breadcrumb=title.vocabularies - - - - breadcrumb=command.advancedSearch - - - - - - en - en_GB - en_US - fr - de - es - it - ar - ru - ja - vn - - - messages - - - - config/addWorkspace.jpdl.xml - - - - - - generic_error_page - /generic_error_page.xhtml - - - - - generic_message_page - /generic_message_page.xhtml - - - - - home - /nxstartup.xhtml - - - - - user_login - /login.xhtml - - - - - user_logout - /logout.xhtml - - - - - view_servers - /view_servers.xhtml - - - - - - - view_domains - /view_domains.xhtml - - - - - select_document_type - /select_document_type.xhtml - - - - - create_document - /create_document.xhtml - - - - - edit_document - /edit_document.xhtml - - - - - view_documents - /view_documents.xhtml - - - - - create_file - /create_file.xhtml - - - - - create_workspace_wizard - /createWorkspaceWizard.xhtml - - - - - send_email - /document_email.xhtml - - - - - - view_workspaces - /view_workspaces.xhtml - - - - - - create_domain - /create_domain.xhtml - - - - - - edit_domain - /edit_domain.xhtml - - - - - - create_workspace - /create_workspace.xhtml - - - - - - edit_workspace - /edit_workspace.xhtml - - - - - - - members_management - /members_management.xhtml - - - - - view_users - /view_users.xhtml - - - - - view_many_users - /view_many_users.xhtml - - - - - edit_user - /edit_user.xhtml - - - - - edit_user_password - /edit_user_password.xhtml - - - - - view_user - /view_user.xhtml - - - - - create_user - /create_user.xhtml - - - - - view_groups - /view_groups.xhtml - - - - - view_group - /view_group.xhtml - - - - - edit_group - /edit_group.xhtml - - - - - create_group - /create_group.xhtml - - - - - view_vocabularies - /view_vocabularies.xhtml - - - - - view_vocabulary - /view_vocabulary.xhtml - - - - - - - search_form - /search/search_form.xhtml - - - - - search_results_nxql - /search/search_results_nxql.xhtml - - - - - search_results_advanced - - /search/search_results_advanced.xhtml - - - - - - search_results_simple - /search/search_results_simple.xhtml - - - - - - - clipboard - /incl/clipboard.xhtml - - - - - user_dashboard - /user_dashboard.xhtml - - - - - select_workspace_template - /select_workspace_template.xhtml - - - - - pdf_generation_error - /pdf_generation_error.xhtml - - - - - mass_edit - /massedit_documents.xhtml - - - - - mass_edit_confirm - /massedit_documents_preview.xhtml - - - - - - diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/ecm-types-contrib.xml deleted file mode 100644 index 497add9f7..000000000 --- a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/ecm-types-contrib.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - view_documents - - - heading - collectionspace_core - loanout - - - - - - Loanout - - - - - - Loanout - - - - - diff --git a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/life-cycle-contrib.xml b/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/life-cycle-contrib.xml deleted file mode 100644 index efdf88ae9..000000000 --- a/services/loanout/3rdparty/nuxeo-platform-cs-loanout/src/main/resources/OSGI-INF/life-cycle-contrib.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - default - - - - -- 2.47.3