3 Replies Latest reply on Nov 10, 2014 8:17 AM by Deepak Angeswar

    Query on using FileSystem as Modeshape Repository

    Deepak Angeswar Newbie

      All,

       

      I am using Modeshape 3.8.0.Final and infinispan 5.3.0.Final.

      So far i have been using a Database as the repository.

       

      I am trying to also support filesystem (directory on the disk) as the repository.

       

      I am looking at the example shown here: https://github.com/ModeShape/modeshape-examples/blob/3.x/modeshape-filesystem-store-example/

       

      In https://github.com/ModeShape/modeshape-examples/blob/3.x/modeshape-filesystem-store-example/src/main/resources/infinispan-configuration.xml

      I see the following

      <property name="location" value="target/content" />

       

      and in https://github.com/ModeShape/modeshape-examples/blob/3.x/modeshape-filesystem-store-example/src/main/resources/my-repository-config.json

      i see the following

      "directory": "target/binaries",

       

       

      Its slightly confusing on in which directory my repository "content" must reside?

      Should it be under "target/binaries" where modeshape does a look up and "target/content" will be used by infinispan for internal caching?

       

      Is my above statement correct?

       

       

      regards