Bug 1144518 - [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...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Provisioning
Version: JON 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER04
: JON 3.3.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 1144514
Blocks: JON3-63, PRODMGT-126
TreeView+ depends on / blocked
 
Reported: 2014-09-19 15:58 UTC by Lukas Krejci
Modified: 2014-12-11 14:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1144514
Environment:
Last Closed: 2014-12-11 14:03:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Krejci 2014-09-19 15:58:08 UTC
+++ This bug was initially created as a clone of Bug #1144514 +++

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:

--- Additional comment from Lukas Krejci on 2014-09-19 11:57:39 EDT ---

in master:
commit db424208f58580cee5e5edc53485e4240f4afe2a
Author: Lukas Krejci <lkrejci>
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.

Comment 2 Lukas Krejci 2014-09-19 21:11:44 UTC
release/jon3.3.x:

commit 2c056844ea22bc3aff1752c870aed9e8a098f2b5
Author: Lukas Krejci <lkrejci>
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.
    
    (cherry picked from commit db424208f58580cee5e5edc53485e4240f4afe2a)

Comment 3 Simeon Pinder 2014-10-01 21:33:01 UTC
Moving to ON_QA as available for test with build:
https://brewweb.devel.redhat.com/buildinfo?buildID=388959


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