You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2017/07/06 14:32:17 UTC
svn commit: r1801063 - in /sling/whiteboard/cziegeler/feature-analyser:
pom.xml
src/main/java/org/apache/sling/feature/scanner/ApplicationDescriptor.java
src/main/resources/META-INF/services/org.apache.sling.feature.scanner.FrameworkScanner
Author: cziegeler
Date: Thu Jul 6 14:32:16 2017
New Revision: 1801063
URL: http://svn.apache.org/viewvc?rev=1801063&view=rev
Log:
Update scanner framework to scan features and applications
Added:
sling/whiteboard/cziegeler/feature-analyser/src/main/java/org/apache/sling/feature/scanner/ApplicationDescriptor.java (with props)
sling/whiteboard/cziegeler/feature-analyser/src/main/resources/META-INF/services/org.apache.sling.feature.scanner.FrameworkScanner
Modified:
sling/whiteboard/cziegeler/feature-analyser/pom.xml
Modified: sling/whiteboard/cziegeler/feature-analyser/pom.xml
URL: http://svn.apache.org/viewvc/sling/whiteboard/cziegeler/feature-analyser/pom.xml?rev=1801063&r1=1801062&r2=1801063&view=diff
==============================================================================
--- sling/whiteboard/cziegeler/feature-analyser/pom.xml (original)
+++ sling/whiteboard/cziegeler/feature-analyser/pom.xml Thu Jul 6 14:32:16 2017
@@ -78,6 +78,7 @@
<configuration>
<excludes>
<exclude>src/main/resources/META-INF/services/org.apache.sling.feature.analyser.AnalyserTask</exclude>
+ <exclude>src/main/resources/META-INF/services/org.apache.sling.feature.scanner.FrameworkScanner</exclude>
</excludes>
</configuration>
</plugin>
Added: sling/whiteboard/cziegeler/feature-analyser/src/main/java/org/apache/sling/feature/scanner/ApplicationDescriptor.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/cziegeler/feature-analyser/src/main/java/org/apache/sling/feature/scanner/ApplicationDescriptor.java?rev=1801063&view=auto
==============================================================================
--- sling/whiteboard/cziegeler/feature-analyser/src/main/java/org/apache/sling/feature/scanner/ApplicationDescriptor.java (added)
+++ sling/whiteboard/cziegeler/feature-analyser/src/main/java/org/apache/sling/feature/scanner/ApplicationDescriptor.java Thu Jul 6 14:32:16 2017
@@ -0,0 +1,34 @@
+/*
+ * 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.
+ */
+package org.apache.sling.feature.scanner;
+
+/**
+ * Information about an application.
+ * This is the aggregated information.
+ */
+public class ApplicationDescriptor extends FeatureDescriptor {
+
+ private Descriptor frameworkDescriptor = new Descriptor();
+
+ public Descriptor getFrameworkDescriptor() {
+ return frameworkDescriptor;
+ }
+
+ public void setFrameworkDescriptor(final Descriptor frameworkDescriptor) {
+ this.frameworkDescriptor = frameworkDescriptor;
+ }
+}
\ No newline at end of file
Propchange: sling/whiteboard/cziegeler/feature-analyser/src/main/java/org/apache/sling/feature/scanner/ApplicationDescriptor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: sling/whiteboard/cziegeler/feature-analyser/src/main/java/org/apache/sling/feature/scanner/ApplicationDescriptor.java
------------------------------------------------------------------------------
svn:keywords = author date id revision rev url
Added: sling/whiteboard/cziegeler/feature-analyser/src/main/resources/META-INF/services/org.apache.sling.feature.scanner.FrameworkScanner
URL: http://svn.apache.org/viewvc/sling/whiteboard/cziegeler/feature-analyser/src/main/resources/META-INF/services/org.apache.sling.feature.scanner.FrameworkScanner?rev=1801063&view=auto
==============================================================================
--- sling/whiteboard/cziegeler/feature-analyser/src/main/resources/META-INF/services/org.apache.sling.feature.scanner.FrameworkScanner (added)
+++ sling/whiteboard/cziegeler/feature-analyser/src/main/resources/META-INF/services/org.apache.sling.feature.scanner.FrameworkScanner Thu Jul 6 14:32:16 2017
@@ -0,0 +1,2 @@
+org.apache.sling.feature.scanner.impl.FelixFrameworkScanner
+