Uploaded image for project: 'Fuse/AMQ Documentation'
  1. Fuse/AMQ Documentation
  2. FUSEDOC-861

Fabric console reference for the fabric:profile-edit is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.2.0
    • 6.2.0
    • None
    • None
    • Sprint 2015-K

      The console reference for the fabric:profile-edit command has some incorrect examples.

      https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.2/html/Console_Reference/ConsoleFabricProfileEdit.html

      The sections referring the to adding and removing bundles is incorrect. The example shows the -bundle option being used when the actual option is -bundles

      The command help of fabric:profile-edit shows the following options:

      JBossFuse:karaf@root> fabric:profile-edit --help
      DESCRIPTION
              fabric:profile-edit
      
      	Edits the specified version of the specified profile (where the version defaults to the current default version)
      
      SYNTAX
              fabric:profile-edit [options] profile [version] 
      
      ARGUMENTS
              profile
                      The target profile to edit
              version
                      The version of the profile to edit. Defaults to the current default version.
      
      OPTIONS
              -i, --import-pid
                      Imports the pids that are edited, from local OSGi config admin
              --help
                      Display this help message
              --delimiter
                      Specifies the delimiter to use for appends and removals.
                      (defaults to ,)
              --delete
                      Delete values. This option can be used to delete a feature, a bundle or a pid from the profile.
              -o, --overrides
                      Edit overrides, specifying a comma-separated list of overrides to add (or delete).
              -r, --repositories
                      Edit the features repositories
              -p, --pid
                      Edit an OSGi configuration property, specified in the format <PID>/<Property>.
              --resource
                      Selects a resource under the profile to edit. This option should only be used alone.
              -f, --features
                      Edit features, specifying a comma-separated list of features to add (or delete).
              --remove
                      Removes value from a delimited list. It is only usable with the system, config & pid options
              --set
                      Set or create values (selected by default).
                      (defaults to true)
              --append
                      Append value to a delimited list. It is only usable with the system, config & pid options
              --fabs
                      Edit fabs, specifying a comma-separated list of fabs to add (or delete).
              -n, --endorsed
                      Edit endorsed libraries, specifying a comma-separated list of libs to add (or delete).
              -b, --bundles
                      Edit bundles, specifying a comma-separated list of bundles to add (or delete).
              -s, --system
                      Edit the Java system properties that affect installed bundles (analogous to editing etc/system.properties in a root container).
              -l, --libs
                      Edit libraries, specifying a comma-separated list of libs to add (or delete).
              -c, --config
                      Edit the Java system properties that affect the karaf container (analogous to editing etc/config.properties in a root container).
              -x, --extension
                      Edit extension libraries, specifying a comma-separated list of libs to add (or delete).
      

              jmurphey_jira Jane Murphey (Inactive)
              rhn-support-jsherman Jason Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 45 minutes Remaining Estimate - 7 hours, 15 minutes
                  7h 15m
                  Logged:
                  Time Spent - 45 minutes Remaining Estimate - 7 hours, 15 minutes
                  45m