Bug 1097321 - archive does not get extracted to the destination path specified with destinationDir attribute if exploded=true
Summary: archive does not get extracted to the destination path specified with destina...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Provisioning
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: JON3-55
TreeView+ depends on / blocked
 
Reported: 2014-05-13 14:46 UTC by Sunil Kondkar
Modified: 2022-03-31 04:27 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
bundle (1.43 KB, application/zip)
2014-05-13 14:47 UTC, Sunil Kondkar
no flags Details

Description Sunil Kondkar 2014-05-13 14:46:54 UTC
Description of problem:

The destinationDir attribute in rhq:archive does not support when exploded="true".

The archive is copied to the destination directory and remain as an archive. The archive is not extracted to the destination directory.

For Ex:

Below is in deploy.xml of the bundle. The archive product.zip has some files

<rhq:archive name="product.zip" exploded="true" destinationDir="/store/testdest/Bundle-Test">

When the bundle is deployed to the platform, the dir '/store/testdest/Bundle-Test' has the archive product.zip and it is not extracted.

Version-Release number of selected component (if applicable):
Version : 4.12.0-SNAPSHOT
Build Number :	a3c6d72

How reproducible:
Always

Steps to Reproduce:

1. Create a bundle with deploy.xml having destinationDir attribute and  exploded="true" in rhq:archive and the bundle has an archive ( Please refer the attached bundle )

2. Upload the bundle
3. Deploy the bundle to platform
4. Verify the destination directory specified with destinationDir attribute

Actual results:

The archive is copied to the destination directory and remain as an archive. The archive is not extracted to the destination directory.

Expected results:

The archive should be extracted to the destination directory when explode=true.

Additional info:

Comment 1 Sunil Kondkar 2014-05-13 14:47:30 UTC
Created attachment 895167 [details]
bundle


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