incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1039308 - in /sling/whiteboard/fmeschbe/milton/src/main: java/org/apache/sling/whiteboard/fmeschbe/miltondav/impl/MiltonDavServlet.java resources/ORG-INF/ resources/OSGI-INF/ resources/OSGI-INF/metatype/metatype.properties
Date Fri, 26 Nov 2010 10:48:26 GMT
Author: fmeschbe
Date: Fri Nov 26 10:48:26 2010
New Revision: 1039308

URL: http://svn.apache.org/viewvc?rev=1039308&view=rev
Log:
Oops. Wrong metatype.propreties folder name (must be OSGi-INF) and name/description must be
prefixed with % in the @Component tag ...

Added:
    sling/whiteboard/fmeschbe/milton/src/main/resources/OSGI-INF/
      - copied from r1039306, sling/whiteboard/fmeschbe/milton/src/main/resources/ORG-INF/
Removed:
    sling/whiteboard/fmeschbe/milton/src/main/resources/ORG-INF/
Modified:
    sling/whiteboard/fmeschbe/milton/src/main/java/org/apache/sling/whiteboard/fmeschbe/miltondav/impl/MiltonDavServlet.java
    sling/whiteboard/fmeschbe/milton/src/main/resources/OSGI-INF/metatype/metatype.properties

Modified: sling/whiteboard/fmeschbe/milton/src/main/java/org/apache/sling/whiteboard/fmeschbe/miltondav/impl/MiltonDavServlet.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/fmeschbe/milton/src/main/java/org/apache/sling/whiteboard/fmeschbe/miltondav/impl/MiltonDavServlet.java?rev=1039308&r1=1039307&r2=1039308&view=diff
==============================================================================
--- sling/whiteboard/fmeschbe/milton/src/main/java/org/apache/sling/whiteboard/fmeschbe/miltondav/impl/MiltonDavServlet.java
(original)
+++ sling/whiteboard/fmeschbe/milton/src/main/java/org/apache/sling/whiteboard/fmeschbe/miltondav/impl/MiltonDavServlet.java
Fri Nov 26 10:48:26 2010
@@ -58,7 +58,7 @@ import org.slf4j.LoggerFactory;
  * <li>Register with the Http Service</li>
  * </ul>
  */
-@Component(metatype = true, name = "org.apache.sling.miltondav.impl.MiltonDavServlet", label
= "miltondav.name", description = "miltondav.description")
+@Component(metatype = true, name = "org.apache.sling.miltondav.impl.MiltonDavServlet", label
= "%miltondav.name", description = "%miltondav.description")
 public class MiltonDavServlet extends AbstractMiltonDavServlet {
 
     // default location at which the service is registered

Modified: sling/whiteboard/fmeschbe/milton/src/main/resources/OSGI-INF/metatype/metatype.properties
URL: http://svn.apache.org/viewvc/sling/whiteboard/fmeschbe/milton/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=1039308&r1=1039306&r2=1039308&view=diff
==============================================================================
--- sling/whiteboard/fmeschbe/milton/src/main/resources/OSGI-INF/metatype/metatype.properties
(original)
+++ sling/whiteboard/fmeschbe/milton/src/main/resources/OSGI-INF/metatype/metatype.properties
Fri Nov 26 10:48:26 2010
@@ -22,7 +22,7 @@
 # descriptions as used in the metatype.xml descriptor generated by the
 # the Sling SCR plugin
 
-miltondav.name = Milton based WebDAV Servlet
+miltondav.name = Apache Sling Milton WebDAV Provider Servlet
 miltondav.description = Configuration for the standalone WebDAV servlet based \
  on the Milton WebDAV library. It is directly accessible in its own URL space \
  and requests to this servlet do not pass by the Sling Main Servlet and request \



Mime
View raw message