Re: Getting started with Sling

2015-01-05 Thread Bertrand Delacretaz
On Mon, Jan 5, 2015 at 5:01 PM, Bruce Edge wrote: > ...I¹ve seen references to /etc and /system, which appears to be different > from /jcr:system, do these have any significance?... /etc/map is used for the URL to resource mappings as per http://sling.apache.org/documentation/the-sling-engine/map

Re: Getting started with Sling

2015-01-05 Thread Bruce Edge
From: Bertrand Delacretaz >I think the only really "magic" locations are defined by the resource >resolver's search paths, which by default is set to [ /libs , /apps ]. > >That's used to locate request processing scripts (looking under /apps >first), and the JCR provider of the OSGi installer also

Re: Getting started with Sling

2015-01-05 Thread Bertrand Delacretaz
On Sat, Jan 3, 2015 at 5:40 PM, Sylvain Wallez wrote: > ...Indeed, there seems to be a number of "magic" places in Sling. I've seen > some of them mentioned in the docs ( (/apps, /var, /etc...) but haven't > found a comprehensive list I think the only really "magic" locations are defined by t

Re: Getting started with Sling

2015-01-03 Thread Sylvain Wallez
Hi Henry. Sorry for the late answer and happy new year :-) Le 31/12/2014 01:26, Henry Saginor a écrit : You could add Makdown4j as embedded dependency inside your pom, something felix maven plugin supports [1]. It does not have to be an OSGi bundle. It will just get embedded in your OSGi bundl

Re: Getting started with Sling

2014-12-30 Thread Henry Saginor
You could add Makdown4j as embedded dependency inside your pom, something felix maven plugin supports [1]. It does not have to be an OSGi bundle. It will just get embedded in your OSGi bundles’ jar and added to it’s internal classpath. You could also try to add it to the /apps//install in Sling.

Re: Getting started with Sling

2014-12-30 Thread Sylvain Wallez
Ok, got it running. There was a node.js server running on port 8080 on my machine and for some reason Sling was answering requests in the browser, but node.js was answering to Maven deploy requests. Go figure... I started implenting within espblog an observer to capture the content of a markdo

Re: Getting started with Sling

2014-12-30 Thread Bertrand Delacretaz
On Tue, Dec 30, 2014 at 12:30 AM, Henry Saginor wrote: > ...if you can access the web console you can also upload/install the bundle > manually from there (from http://localhost:8080/system/console/bundles), > just to get going Yes, or also via WebDAV, just copy the required bundles under a

Re: Getting started with Sling

2014-12-29 Thread Henry Saginor
Hmm … That is obvious I guess. :) It’s just the only thing I could think of. Seems maven sling plugin is getting a 404. And I just installed espblog this way myself. But if you can access the web console you can also upload/install the bundle manually from there (from http://localhost:8080/syste

Re: Getting started with Sling

2014-12-29 Thread Sylvain Wallez
Sorry, I forgot to state the obvious: yes, Sling is started and the console works fine! I started it from launchpad/builder/target by running java -jar org.apache.sling.launchpad-8-SNAPSHOT-standalone.jar Sylvain Le 30/12/2014 00:02, Henry Saginor a écrit : Hi Sylvian, Can you access Feli

Re: Getting started with Sling

2014-12-29 Thread Henry Saginor
Hi Sylvian, Can you access Felix Web Console at http://localhost:8080/system/console? How are you starting your Sling instance? Henry On Dec 29, 2014, at 2:30 PM, Sylvain Wallez wrote: > Le 29/12/2014 08:17, Bertrand Delacretaz a écrit : >> Hi Sylvain, >> >> Good to see you here ;-) > > Hi

Re: Getting started with Sling

2014-12-29 Thread Sylvain Wallez
Le 29/12/2014 08:17, Bertrand Delacretaz a écrit : Hi Sylvain, Good to see you here ;-) Hi Bertrand ! Looking at the list archives, I've seen quite a few familiar names ;-) On Sun, Dec 28, 2014 at 8:54 PM, Sylvain Wallez wrote: ...I thought of having an authoring area that would store co

Re: Getting started with Sling

2014-12-28 Thread Bertrand Delacretaz
Hi Sylvain, Good to see you here ;-) On Sun, Dec 28, 2014 at 8:54 PM, Sylvain Wallez wrote: > ...I thought of having an authoring area that would store content in its > original format (html, asciidoc or markdown) and have an observer that > converts this content to html and stores it in the pub

Re: Getting started with Sling

2014-12-28 Thread Sylvain Wallez
Hi Henry, Thanks a lot for this detailed answer! Le 28/12/2014 09:43, Henry Saginor a écrit : Hi Sylvain, I hope I understand what you are trying to do. But here is what I would suggest. Sorry if I wasn't clear. No specific plans actually beyond setting up a blog engine, and maybe replace m

Re: Getting started with Sling

2014-12-28 Thread Henry Saginor
Hi Sylvain, I hope I understand what you are trying to do. But here is what I would suggest. 1) Think about how you are going to structure your blog content ahead of time. I would suggest something like /content/blog/year/month/post/comments. This way your archive script does not need to query t

Getting started with Sling

2014-12-27 Thread Sylvain Wallez
Hi all, I'm discovering Sling these days (it's never too late!), and as a playground I'm trying to implement a blog engine that goes further than the espblog sample, with support for archive pages, comments and writing content in different markup languages (html, markdown and asciidoc). I qu