This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.hapi-1.0.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hapi.git
commit 28adc2e2b1f32d0fad192bcf896b25c45f1fc0d1 Author: Carsten Ziegeler <[email protected]> AuthorDate: Mon Feb 1 17:14:22 2016 +0000 SLING-5474 : Move sightly use objects to a different package. Apply patch from Andrei Dulvac git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/hapi/core@1727976 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/sling/hapi/{ => sightly}/HApiUse.java | 4 +++- .../apache/sling/hapi/{ => sightly}/TypeView.java | 5 ++++- .../apache/sling/hapi/sightly/package-info.java | 23 ++++++++++++++++++++++ .../libs/sling/hapi/components/type/type.html | 2 +- 4 files changed, 31 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/sling/hapi/HApiUse.java b/src/main/java/org/apache/sling/hapi/sightly/HApiUse.java similarity index 96% rename from src/main/java/org/apache/sling/hapi/HApiUse.java rename to src/main/java/org/apache/sling/hapi/sightly/HApiUse.java index 112bd1a..c000143 100644 --- a/src/main/java/org/apache/sling/hapi/HApiUse.java +++ b/src/main/java/org/apache/sling/hapi/sightly/HApiUse.java @@ -17,7 +17,7 @@ * under the License. ******************************************************************************/ -package org.apache.sling.hapi; +package org.apache.sling.hapi.sightly; import java.util.Map; @@ -27,6 +27,8 @@ import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.resource.ResourceResolver; import org.apache.sling.api.scripting.SlingBindings; import org.apache.sling.api.scripting.SlingScriptHelper; +import org.apache.sling.hapi.HApiUtil; +import org.apache.sling.hapi.MicrodataAttributeHelper; import org.apache.sling.scripting.sightly.pojo.Use; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/apache/sling/hapi/TypeView.java b/src/main/java/org/apache/sling/hapi/sightly/TypeView.java similarity index 95% rename from src/main/java/org/apache/sling/hapi/TypeView.java rename to src/main/java/org/apache/sling/hapi/sightly/TypeView.java index 3fb0d33..927deb5 100644 --- a/src/main/java/org/apache/sling/hapi/TypeView.java +++ b/src/main/java/org/apache/sling/hapi/sightly/TypeView.java @@ -16,13 +16,16 @@ * specific language governing permissions and limitations * under the License. ******************************************************************************/ -package org.apache.sling.hapi; +package org.apache.sling.hapi.sightly; import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.resource.Resource; import org.apache.sling.api.resource.ResourceResolver; import org.apache.sling.api.scripting.SlingBindings; import org.apache.sling.api.scripting.SlingScriptHelper; +import org.apache.sling.hapi.HApiProperty; +import org.apache.sling.hapi.HApiType; +import org.apache.sling.hapi.HApiUtil; import org.apache.sling.scripting.sightly.pojo.Use; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/apache/sling/hapi/sightly/package-info.java b/src/main/java/org/apache/sling/hapi/sightly/package-info.java new file mode 100644 index 0000000..45c370c --- /dev/null +++ b/src/main/java/org/apache/sling/hapi/sightly/package-info.java @@ -0,0 +1,23 @@ +/******************************************************************************* + * 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. + ******************************************************************************/ + +@Version("1.0.0") +package org.apache.sling.hapi.sightly; + +import aQute.bnd.annotation.Version; diff --git a/src/main/resources/SLING-INF/libs/sling/hapi/components/type/type.html b/src/main/resources/SLING-INF/libs/sling/hapi/components/type/type.html index b24977c..39d8f18 100644 --- a/src/main/resources/SLING-INF/libs/sling/hapi/components/type/type.html +++ b/src/main/resources/SLING-INF/libs/sling/hapi/components/type/type.html @@ -17,7 +17,7 @@ ~ specific language governing permissions and limitations ~ under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> -<html data-sly-use.type="org.apache.sling.hapi.TypeView" lang="${type.lang}"> +<html data-sly-use.type="org.apache.sling.hapi.sightly.TypeView" lang="${type.lang}"> <head> <meta charset="utf-8"> -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
