2009/10/27 Vidar Ramdal <[email protected]>

> On Tue, Oct 27, 2009 at 4:29 PM, Natale Vinto <[email protected]> wrote:
> > I've taken latest sling trunk from SVN and built it. I would use a
> > PostgreSQL db instead of default Derby, so I've changed the
> repository.xml
> > that I' ve found in
> >
> sling-builder/bundles/jcr/jackrabbit-server/src/main/resources/repository.xml
> > in this way
> > http://pastebin.ca/1645228
> > But i don't see any tables in the db,  even if sling starts fine. Also
> > espblog example seems to write elsewhere because post are saved, maybe
> with
> > a derby configuration that I can't find because I 've changed jackrabbit
> > repository.xml to work on postgresql.
>
> Hi Natale,
>
> Look under your launchpad/webapp/target/sling/jackrabbit folder. There
> should be a repository.xml there, which is the one being used when you
> run the launchpad webapp.
>
> Hi Vidar,
I can't find that folder. In target dir I have only this:

classes
dependency-maven-plugin-markers
launchpad-bundles
maven-archiver
maven-shared-archive-resources
org.apache.sling.launchpad.webapp-6-SNAPSHOT
org.apache.sling.launchpad.webapp-6-SNAPSHOT-sources.jar
org.apache.sling.launchpad.webapp-6-SNAPSHOT.war
.plxarc
test-classes
war

repository.xml that I found in sling-builder project are theese:

blues...@ray:~/Documenti/sling_workspace/sling-builder$ find . -name
repository.xml
./sling/_org.apache.sling.launchpad.testing-6-SNAPSHOT/jackrabbit/repository.xml
./bundles/jcr/jackrabbit-server/target/classes/repository.xml
./bundles/jcr/jackrabbit-server/src/main/resources/repository.xml

that are the same of the last one (the one I've modified to work with
postgresql).  Then I've seen that in the webapp deployed in Tomcat there is
that repository.xml in

apache-tomcat-6.0.20/webapps/ROOT/WEB-INF/resources/bundles/15/org.apache.sling.jcr.jackrabbit.server-2.0.5-SNAPSHOT.jar

So I wonder where sling write data and where espblog sample write posts!

Best Regards



> > Another question : can I use more jackrabbit repository in sling?
>
> Not that I'm aware of - maybe someone else can answer this?
>
> --
> 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
>



-- 
Natale Vinto
http://www.gotext.org
http://bluesman.gotext.org

Reply via email to