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/10/18 23:23:22 UTC

[sling-org-apache-sling-resource-editor] 06/50: SLING-4171 - pom and README changes, contributed by Sandro Boehme, thanks

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resource-editor.git

commit 6d029bd89b18b82f42e7a3957aaf7aeba83a3f33
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Nov 21 15:01:22 2014 +0000

    SLING-4171 - pom and README changes, contributed by Sandro Boehme, thanks
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1640928 13f79535-47bb-0310-9956-ffa450edef68
---
 README  |  2 +-
 pom.xml | 35 +++++++++++++++++++++++------------
 2 files changed, 24 insertions(+), 13 deletions(-)

diff --git a/README b/README
index b243937..de45f36 100644
--- a/README
+++ b/README
@@ -19,7 +19,7 @@ o Call `git clone git://github.com/sandroboehme/resourceeditor.git` in a shell.
 o Change to the resourceeditor subdirectory and call `mvn clean package` there to install the sources into the running Sling instance.
 
 ++ Develop with the Sling Resource Editor ++
-o Use `mvn install` to deploy changes of Java classes
+o Use `mvn install sling:install` to deploy changes of Java classes
 o To have frontend changes automatically deployed call `mvn install`
 o To have the less sources automatically compiled call `mvn lesscss:compile -Dlesscss.watch=true`
 
diff --git a/pom.xml b/pom.xml
index 8a471f3..0f3a916 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
 	<groupId>org.apache.sling</groupId>
 	<artifactId>resource-editor</artifactId>
 	<packaging>bundle</packaging>
-	<version>1.0-SNAPSHOT</version>
+	<version>1.0.1-SNAPSHOT</version>
 	<name>Apache Sling Resource Editor</name>
 	<description>A resource editor for Apache Sling.</description>
 
@@ -42,7 +42,7 @@
 				<artifactId>lesscss-maven-plugin</artifactId>
 				<version>1.7.0.1.1</version>
 				<configuration>
-					<outputDirectory>${project.basedir}/src/main/resources/SLING-INF/libs/reseditor/content/css</outputDirectory>
+					<outputDirectory>${project.basedir}/src/main/resources/SLING-INF/libs/sling/resource-editor-static-content/css</outputDirectory>
 					<includes>
 						<include>bootstrap.less</include>
 					</includes>
@@ -73,17 +73,28 @@
 				<extensions>true</extensions>
 				<configuration>
 					<instructions>
-						<Sling-Initial-Content>SLING-INF/libs/sling/servlet/default/reseditor;overwrite:=true;path:=/libs/sling/servlet/default/reseditor,SLING-INF/libs/reseditor;overwrite:=true;path:=/libs/reseditor</Sling-Initial-Content>
-						<Import-Package>*,javax.servlet;version="[2.5.0,
-							3.1.0)",javax.servlet.http;version="[2.5.0,
-							3.1.0)",javax.servlet.jsp.jstl.core,javax.servlet.jsp.jstl.fmt,javax.servlet.jsp.jstl.sql,javax.servlet.jsp.jstl.tlv,
-							org.apache.xalan.serialize,org.apache.xalan.templates,org.apache.xml.utils,org.apache.xpath,org.apache.xpath.objects,
-							org.apache.taglibs.standard,org.apache.taglibs.standard.extra.spath,org.apache.taglibs.standard.functions,org.apache.taglibs.standard.lang.jstl,org.apache.taglibs.standard.lang.jstl.parser,org.apache.taglibs.standard.lang.jstl.test,org.apache.taglibs.standard.lang.jstl.test.beans,org.apache.taglibs.standard.lang.support,org.apache.taglibs.standard.resources,org.apache.taglibs.standard.tag.common.core,org.apache.taglibs.standard.tag.common.fmt,org.apache.taglibs.standard.tag.common [...]
+						<Sling-Initial-Content>SLING-INF/libs/sling/resource-editor-static-content;overwrite:=true;path:=/libs/sling/resource-editor-static-content,SLING-INF/libs/sling/resource-editor;overwrite:=true;path:=/libs/sling/resource-editor</Sling-Initial-Content>
+						<Import-Package>!org.slf4j.impl,*,
+							de.sandroboehme.jsnodetypes.javascript,
+							javax.el,
+							javax.naming,
+							javax.servlet.jsp,
+							javax.servlet.jsp.el,
+							javax.servlet.jsp.tagext,
+							javax.sql,
+							javax.xml.namespace,
+							javax.xml.parsers,
+							javax.xml.transform,
+							javax.xml.transform.dom,
+							javax.xml.transform.sax,
+							javax.xml.transform.stream,
+							javax.xml.xpath,
+							org.w3c.dom,
+							org.w3c.dom.traversal,
+							org.xml.sax,
+							org.xml.sax.helpers
 						</Import-Package>
-						<Require-Bundle>de.sandroboehme.jsnodetypes</Require-Bundle>
-						<Private-Package>
-							org.apache.sling.reseditor.*
-						</Private-Package>
+						<Export-Package>!org.apache.sling.reseditor</Export-Package>
 					</instructions>
 					<remoteOBR>www.jcrbrowser.org</remoteOBR>
 				</configuration>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.