此内容没有您所选择的语言版本。

3.3. Setting Preferences


3.3.1. Setting Preferences

The ModeShape Preferences dialog allows for resource versioning to be set along with specific file types and folders that you never wish to have published to or unpublished from a ModeShape repository.

Procedure 3.3. Setting preferences

  1. Open ModeShape Preferences dialog.

    The ModeShape Preferences dialog is accessed by navigating to Window -> Preferences -> ModeShape. This dialog allows you to set whether resource versioning will be used for your ModeShape repository or not.

    Figure 3.7. ModeShape preferences dialog

  2. Activate resource versioning.

    Click the Enable resource versioning checkbox to activate resource versioning.

3.3.2. Ignored Resources

You can manage the resources to be published using the Ignored Resources menu.

Procedure 3.4. Manage Ignored Resources

  1. Open Ignored Resources Preferences dialog.

    Click the Ignored Resources menu item under ModeShape on the Preferences dialog. On this screen you can manage the resources that will not be published to your ModeShape repository.
    The current excluded file types and folders are presented as the list of checkbox items that appear under the Ignored Resources heading.

    Figure 3.8. ModeShape: Ignored Resources preferences dialog

  2. Add a new resource to the Ignored Resources list.

    To add a new file extension type or folder name to be filtered from publishing, click the New button, enter the details and click the Apply button so that your preference changes are saved.

    Figure 3.9. ModeShape: Ignored Resources preferences dialog

  3. Remove a resource from the Ignored Resources list.

    To remove an entry, select an entry from the list in the Preferences dialog and click the Remove button. Ensure that you click the Apply button so that your preference changes are saved.

Note

If you decide to ignore a resource that has been published in the past, ensure that all instances are unpublished before ignoring it, otherwise you will not be able to unpublish the resource either. That said, this can be an effective way of ensuring a resource cannot be unpublished by accident. Remember though that, since preference settings are only local to your working environment, in a multi-user ModeShape repository someone else could unpublish it.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat