This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.scripting.java-2.1.2 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-java.git
commit 6483c6feea20e49868f6425357cf38dbe1d8351e Author: Justin Edelson <[email protected]> AuthorDate: Tue Nov 1 15:49:41 2016 +0000 SLING-6225 - fixing metatype in JavaScriptEngineFactory git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/scripting/java@1767512 13f79535-47bb-0310-9956-ffa450edef68 --- .../sling/scripting/java/impl/JavaScriptEngineFactory.java | 2 +- src/main/resources/OSGI-INF/metatype/metatype.properties | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/sling/scripting/java/impl/JavaScriptEngineFactory.java b/src/main/java/org/apache/sling/scripting/java/impl/JavaScriptEngineFactory.java index 851ec29..6849cec 100644 --- a/src/main/java/org/apache/sling/scripting/java/impl/JavaScriptEngineFactory.java +++ b/src/main/java/org/apache/sling/scripting/java/impl/JavaScriptEngineFactory.java @@ -71,7 +71,7 @@ import org.slf4j.LoggerFactory; @Property(name=JavaScriptEngineFactory.PROPERTY_COMPILER_TARGET_V_M, value=JavaScriptEngineFactory.VERSION_AUTO), @Property(name=JavaScriptEngineFactory.PROPERTY_CLASSDEBUGINFO, boolValue=true), @Property(name=JavaScriptEngineFactory.PROPERTY_ENCODING, value="UTF-8"), - @Property(name = ResourceChangeListener.CHANGES, value = {"CHANGED", "REMOVED"}), + @Property(name = ResourceChangeListener.CHANGES, value = {"CHANGED", "REMOVED"}, propertyPrivate = true), @Property(name = ResourceChangeListener.PATHS, value = {"."}, propertyPrivate = true) }) public class JavaScriptEngineFactory diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties index 80fc269..b2d6623 100644 --- a/src/main/resources/OSGI-INF/metatype/metatype.properties +++ b/src/main/resources/OSGI-INF/metatype/metatype.properties @@ -36,11 +36,10 @@ java.javaEncoding.description = Encoding to be used to read the source files. \ java.compilerSourceVM.name = Source VM java.compilerSourceVM.description = Java Specification to be used to read \ - the source files. If left empty, the default version, 1.6., is used. If the \ - value "auto" is used, the current vm version will be used. + the source files. If left empty or the value "auto" is specified, the \ + current vm version will be used. java.compilerTargetVM.name = Target VM -java.compilerTargetVM.description = Target Java version for compilation. If left \ - empty, the default version, 1.6., is used. If the value "auto" is used, the current \ - vm version will be used. +java.compilerTargetVM.description = Target Java version for compilation. If left \ + empty or the value "auto" is specified, the current vm version will be used. \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
