Bug 812884 - RfE: Bundles and Drift should allow relative values in plugin descriptor
Summary: RfE: Bundles and Drift should allow relative values in plugin descriptor
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent
Version: 4.3
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-16 13:28 UTC by Heiko W. Rupp
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 812748 0 unspecified CLOSED [as7] Add bundle support for standalone mode 2021-02-22 00:41:40 UTC

Internal Links: 812748

Description Heiko W. Rupp 2012-04-16 13:28:53 UTC
Currently a bundle entry e.g. looks like 


    <bundle-target>
       <destination-base-dir name="Deploy Directory">
          <value-context>pluginConfiguration</value-context>
          <value-name>homeDir</value-name>
       </destination-base-dir>
  </bundle-target>

Now to say " I want x " below the home directory I have to create a new plugin config property 'foo' , 
set it to $homeDir/x and use foo. Same for drift.

It should be possible to say 

   <bundle-target>
       <destination-base-dir name="Deploy Directory">
          <value-context>pluginConfiguration</value-context>
          <value-name>${homeDir}/${config}/deployment</value-name>
       </destination-base-dir>
  </bundle-target>

and have the ${} expressions replaced accordingly


Note You need to log in before you can comment on or make changes to this bug.