You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:48:00 UTC
[sling-org-apache-sling-jcr-contentloader] 20/28: SLING-1589
DefaultContentImporter service doesn't have a pretty name/description
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.jcr.contentloader-2.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-contentloader.git
commit d7d3007569b9117c46242be7b8f8fdd5eac39b24
Author: Eric Norman <en...@apache.org>
AuthorDate: Mon Jul 5 23:14:14 2010 +0000
SLING-1589 DefaultContentImporter service doesn't have a pretty name/description
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/contentloader@960730 13f79535-47bb-0310-9956-ffa450edef68
---
.../internal/DefaultContentImporter.java | 2 +-
.../OSGI-INF/metatype/metatype.properties | 29 ++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/jcr/contentloader/internal/DefaultContentImporter.java b/src/main/java/org/apache/sling/jcr/contentloader/internal/DefaultContentImporter.java
index b1c14e9..a958345 100644
--- a/src/main/java/org/apache/sling/jcr/contentloader/internal/DefaultContentImporter.java
+++ b/src/main/java/org/apache/sling/jcr/contentloader/internal/DefaultContentImporter.java
@@ -52,7 +52,7 @@ import org.slf4j.LoggerFactory;
* description="%content.import.service.description"
* @scr.property name="service.vendor" value="The Apache Software Foundation"
* @scr.property name="service.description"
- * value="Apache Sling Contnet Importer Service"
+ * value="Apache Sling JCR Content Import Service"
* @scr.service interface="org.apache.sling.jcr.contentloader.ContentImporter"
*/
public class DefaultContentImporter extends BaseImportLoader implements JcrContentHelper, ContentImporter {
diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties
new file mode 100644
index 0000000..ba32413
--- /dev/null
+++ b/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -0,0 +1,29 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+#
+# This file contains localization strings for configuration labels and
+# descriptions as used in the metatype.xml descriptor generated by the
+# the Sling SCR plugin
+
+#
+# Default content import service implementation
+content.import.service.name=Apache Sling JCR Content Import Service
+content.import.service.description=Import content into the repository by parsing the supplied content stream.
+
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.