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.
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.
git commit 9f1a09b854b0f21b66819f2906e7b6659347d2e7
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.
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.
Bookkeeping - closing bug - fixed in recent release.