Apache Jackrabbit - rep.home 设置在哪里?

Apache Jackrabbit - where is rep.home set ?

和长耳兔一起玩。在 Linux VM 上加载了教程。

试图理解配置文件,我看到了(在 repository.xml 中):

<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
    <param name="path" value="${rep.home}/repository"/>
</FileSystem>

很简单,变量就是父变量。我想弄清楚的是 rep.home 定义在哪里?我发现它被使用了很多,但无法弄清楚它的设置位置。我有一堆存储库目录:

/home/andy/Desktop/netbeans/jackrabbit/jackrabbit/repository
/opt/jackrabbit/jackrabbit/repository
/opt/jackrabbit/jackrabbit-core/src/test/repository
/opt/jackrabbit/jackrabbit-core/target/repository
/opt/jackrabbit/jackrabbit-core/target/simple_repository
/opt/jackrabbit/jackrabbit-core/target/repository/repository
/opt/jackrabbit/jackrabbit-core/target/repository-2/repository
/opt/jackrabbit/jackrabbit-core/target/repository-factory-test/repository
/opt/jackrabbit/jackrabbit-core/target/repository-lock-test/repository
/opt/jackrabbit/jackrabbit-core/target/simple_repository/repository
/opt/jackrabbit/jackrabbit-jca/target/repository
/opt/jackrabbit/jackrabbit-jca/target/repository/repository
/opt/jackrabbit/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/repository
/opt/jackrabbit/jackrabbit-jcr-commons/target/classes/org/apache/jackrabbit/commons/repository
/opt/jackrabbit/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/repository
/opt/jackrabbit/jackrabbit-jcr-rmi/target/classes/org/apache/jackrabbit/rmi/repository
/opt/jackrabbit/jackrabbit-jcr-server/target/repository
/opt/jackrabbit/jackrabbit-jcr-server/target/repository/repository
/opt/jackrabbit/jackrabbit-spi2jcr/target/repository
/opt/jackrabbit/jackrabbit-spi2jcr/target/repository/repository
/opt/jackrabbit/jackrabbit-standalone/jackrabbit/repository

我已查找配置文件来设置该变量并检查了 java 参数。我错过了什么?

Tips/pointers/RTFMs赞赏

安迪

JackRabbit 项目中,查看 web.xml 文件。您将看到 servlet RepositoryStartup

对于此 servlet,参数 bootstrap-config 包含提到的文件,其中提到了存储库主页(可能 bootstrap.properties