Bug 610879 - ant bundle distro file has a raw file but GUI still wants me to upload it
Summary: ant bundle distro file has a raw file but GUI still wants me to upload it
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Provisioning
Version: 3.0.0
Hardware: All
OS: All
high
medium vote
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: rhq4
TreeView+ depends on / blocked
 
Reported: 2010-07-02 16:32 UTC by John Mazzitelli
Modified: 2011-05-24 01:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
testbundle.zip (603 bytes, application/zip)
2010-12-23 16:12 UTC, John Mazzitelli
no flags Details

Description John Mazzitelli 2010-07-02 16:32:45 UTC
I have my bundle distribution file which contains 2 entries. 1. deploy.xml and 2. subdir/test.properties

I am trying to upload this bundle distribution .zip file using the GUI.

It doesn't realize that subdir/test.properties exists in the bundle distro zip and its asking to upload it.

Need to fix the server-side ant bundle plugin so it doesn't report that it needs the file if it already exists in the bundle distro zip file.

Comment 1 Shashin Shinde 2010-07-02 16:39:50 UTC
I think in this case the problem is with the subdir/test.properties
If the file is present at the same level as deploy.xml file in my-bundle.zip the UI finds it correctly. If it is in some child directory, it is not found by the UI. Running it from the command line rhq-ant works fine.

Comment 2 John Mazzitelli 2010-12-23 16:11:04 UTC
git commit 9f1a09b854b0f21b66819f2906e7b6659347d2e7

Comment 3 John Mazzitelli 2010-12-23 16:12:17 UTC
Created attachment 470446 [details]
testbundle.zip

to test, if you can upload the attached "testbundle.zip" bundle distribution file to the RHQ server and a bundle is successfully created without it asking you to upload additional files, this bug is fixed.

Comment 4 Sunil Kondkar 2011-03-09 10:42:56 UTC
Verified on Build# 1083 ( Version: 4.0.0-SNAPSHOT Build Number: fbbf83c)

Uploaded the attached "testbundle.zip" bundle distribution file to the RHQ server. The bundle is successfully created without asking to upload additional files.

Marking the bug as verified.

Comment 5 Corey Welton 2011-05-24 01:12:58 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 6 Corey Welton 2011-05-24 01:12:58 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 7 Corey Welton 2011-05-24 01:13:08 UTC
Bookkeeping - closing bug - fixed in recent release.


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