Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

3.3. Setting Preferences

download PDF

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 -> Content Repository -> Publishing. This dialog allows you to set whether resource versioning will be used for your ModeShape repository or not.
    ModeShape Preferences dialog

    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.

    To open the Ignored Resources dialog, click Window -> Preferences -> Content Repository -> Publishing -> Ignored Resources. 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.
    ModeShape: Ignored Resources Preferences dialog

    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.
  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

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.