Bug 1144514 - [ant bundles] properties contained in property files contained inside a bundle distribution are not replaced in the deployed files
Summary: [ant bundles] properties contained in property files contained inside a bundl...
Status: ON_QA
Alias: None
Product: RHQ Project
Classification: Other
Component: Provisioning
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
: RHQ 4.13
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 1144518
TreeView+ depends on / blocked
 
Reported: 2014-09-19 15:49 UTC by Lukas Krejci
Modified: 2014-09-19 15:58 UTC (History)
1 user (show)

(edit)
Clone Of:
: 1144518 (view as bug list)
(edit)
Last Closed:


Attachments (Terms of Use)
reproducer-bundle.zip (836 bytes, application/octet-stream)
2014-09-19 15:49 UTC, Lukas Krejci
no flags Details

Description Lukas Krejci 2014-09-19 15:49:09 UTC
Created attachment 939388 [details]
reproducer-bundle.zip

Description of problem:
A property file that contains properties for replacement in deployed files can be included as a part of the bundle distribution zip itself.

If that is the case, the properties from that file weren't properly replaced in the templatized deployed files.

Version-Release number of selected component (if applicable):
4.13.0-SNAPSHO

How reproducible:
always

Steps to Reproduce:
1. try to deploy the attached bundle



Actual results:
The "deployed.file" contains tokens that correspond to the properties in the "in-bundle.properties" file that are not replaced with the corresponding values.

Expected results:
the "deployed.file" file should have the tokens replaced with the values of the properties from the in-bundle.properties file contained in the bundle zip file.

Additional info:

Comment 1 Lukas Krejci 2014-09-19 15:57:39 UTC
in master:
commit db424208f58580cee5e5edc53485e4240f4afe2a
Author: Lukas Krejci <lkrejci@redhat.com>
Date:   Fri Sep 19 17:51:25 2014 +0200

    [BZ 1144514] No need to remove non-deployed property files from bundle
    temporary location before deployment.
    
    This was a remnant of an abandoned approach to the functionality that is
    not needed anymore.


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