Hi Vidar,
On Aug 30, 2009, at 3:47 PM, Vidar Ramdal wrote:
On Fri, Aug 28, 2009 at 10:23 PM, Josh Kennedy<[email protected]>
wrote:
[...] As I mentioned above I am still going
to be versioning content inside of svn, and I would like to be able
to have
the node properties, content, and scripts in one bundle that can be
installed into an active Sling instance.
On that note, is there any available reference documentation or
configs for
using jcrinstall? Or until SLING-1078 is there something else I
should be
using to install content bundles?
Hi Josh;
Have you seen http://cwiki.apache.org/SLING/content-loading.html
and/or the FsResourceProvider?
The former lets you specify content in XML or JSON files, which is
loaded into the repository when your bundle is started. The XML/JSON
lets you specify nodes and properties.
I was wondering if there was a way I could have normal files and an
XML/JSON descriptor to add properties to the nt:file itself? I've
tried doing it various ways, but it doesn't seem to be supported. If
it currently doesn't do this, is it a possible addition to the JCR
content loader?
The latter lets you map a file system path onto a path in the resource
tree - but won't let you specify properties.
--
Vidar S. Ramdal <[email protected]> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 21 531941, ext 2070