[jira] [Commented] (SLING-2769) Broken sample: post-servlet-extensions
[ https://issues.apache.org/jira/browse/SLING-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13796796#comment-13796796 ] Bertrand Delacretaz commented on SLING-2769: The org.apache.sling.samples.simple-demo bundle, built from trunk, works for me when installed in a Sling instance built from the launchpad/builder trunk. Let's discuss on the Sling users list if you're still seeing this issue. Broken sample: post-servlet-extensions -- Key: SLING-2769 URL: https://issues.apache.org/jira/browse/SLING-2769 Project: Sling Issue Type: Bug Components: Launchpad, Samples Affects Versions: Launchpad Base 2.5.0 Reporter: Lukas Eder Assignee: Bertrand Delacretaz Priority: Minor I'm learning about Sling and I'm trying to build and run the Sling samples within my Launchpad instance. For instance, I'm trying to run samples/post-servlet-extensions. However, it seems that this sample depends on JCR 1.0, transitively, as I'm getting this error in the Sling Console, after loading the bundle: Imported Packages javax.jcr,version=[1.0,2) -- Cannot be resolved The Launchpad (version 6), however includes JCR 2.0. Is this sample outdated? How can this be fixed? Note: - I've tried upgrading the JCR dependency in ../../../parent/pom.xml before building the samples (with mvn clean install) - without success - I've tried upgrading the sample's dependencies on org.apache.sling.servlets.post from 2.0.4-incubator to 2.2.0 and on org.apache.sling.jcr.resource from 2.0.6 to 2.2.4 - without success - I've tried building Sling from trunk - without success, as many artefacts seem to be missing from the Apache SNAPSHOT repositories. I'm not having such issues with the samples/urlfilter sample -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (SLING-2769) Broken sample: post-servlet-extensions
[ https://issues.apache.org/jira/browse/SLING-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795566#comment-13795566 ] Henk-Jan Castermans commented on SLING-2769: Hello, I'm having the same kind of error on the trunk-checkout. I try to run the the /samples/simple-demo The bundle is installed but won't start; This is what i see in the console: Apache Sling Sample Applicationorg.apache.sling.samples.simple-demo Symbolic Name org.apache.sling.samples.simple-demo ... Imported Packages javax.el,version=[2.1,3) from org.apache.sling.scripting.jsp (38) javax.jcr,version=[1.0,2) -- Cannot be resolved (red) javax.servlet from org.apache.felix.http.jetty (65) I'm I doing something wrong or is this some kind of bug? Kind regards, Henk-Jan Broken sample: post-servlet-extensions -- Key: SLING-2769 URL: https://issues.apache.org/jira/browse/SLING-2769 Project: Sling Issue Type: Bug Components: Launchpad, Samples Affects Versions: Launchpad Base 2.5.0 Reporter: Lukas Eder Assignee: Bertrand Delacretaz Priority: Minor I'm learning about Sling and I'm trying to build and run the Sling samples within my Launchpad instance. For instance, I'm trying to run samples/post-servlet-extensions. However, it seems that this sample depends on JCR 1.0, transitively, as I'm getting this error in the Sling Console, after loading the bundle: Imported Packages javax.jcr,version=[1.0,2) -- Cannot be resolved The Launchpad (version 6), however includes JCR 2.0. Is this sample outdated? How can this be fixed? Note: - I've tried upgrading the JCR dependency in ../../../parent/pom.xml before building the samples (with mvn clean install) - without success - I've tried upgrading the sample's dependencies on org.apache.sling.servlets.post from 2.0.4-incubator to 2.2.0 and on org.apache.sling.jcr.resource from 2.0.6 to 2.2.4 - without success - I've tried building Sling from trunk - without success, as many artefacts seem to be missing from the Apache SNAPSHOT repositories. I'm not having such issues with the samples/urlfilter sample -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (SLING-2769) Broken sample: post-servlet-extensions
[ https://issues.apache.org/jira/browse/SLING-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13592129#comment-13592129 ] Lukas Eder commented on SLING-2769: --- Great, thanks for fixing the OSGi import. I'll create a new issue for the failing trunk build, with more info... Broken sample: post-servlet-extensions -- Key: SLING-2769 URL: https://issues.apache.org/jira/browse/SLING-2769 Project: Sling Issue Type: Bug Components: Launchpad, Samples Affects Versions: Launchpad Base 2.5.0 Reporter: Lukas Eder Assignee: Bertrand Delacretaz Priority: Minor I'm learning about Sling and I'm trying to build and run the Sling samples within my Launchpad instance. For instance, I'm trying to run samples/post-servlet-extensions. However, it seems that this sample depends on JCR 1.0, transitively, as I'm getting this error in the Sling Console, after loading the bundle: Imported Packages javax.jcr,version=[1.0,2) -- Cannot be resolved The Launchpad (version 6), however includes JCR 2.0. Is this sample outdated? How can this be fixed? Note: - I've tried upgrading the JCR dependency in ../../../parent/pom.xml before building the samples (with mvn clean install) - without success - I've tried upgrading the sample's dependencies on org.apache.sling.servlets.post from 2.0.4-incubator to 2.2.0 and on org.apache.sling.jcr.resource from 2.0.6 to 2.2.4 - without success - I've tried building Sling from trunk - without success, as many artefacts seem to be missing from the Apache SNAPSHOT repositories. I'm not having such issues with the samples/urlfilter sample -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira