Description of problem: unable to create new bundle Version-Release number of selected component (if applicable): jon 3.2 er3 How reproducible: always Steps to Reproduce: 1. navigate to bundles -> click "new" button 2. upload recipe file (attached examples) 3. click "next" button Actual results: the following exception thrown: java.lang.Exception:Failed to parse the bundle Ant script. -> org.rhq.bundle.ant.InvalidBuildFileException:The deployment unit must specifically declare compliance mode of the destination directory screen-shot -> http://d.pr/i/Zz1f Expected results: recipe uploaded, bundle creation/installation is possible Additional info: example bundles attached
Created attachment 812827 [details] generatedBundle
Created attachment 812828 [details] bundleRecipe2
Created attachment 812832 [details] WorkingBundle
attached WorkingBundle - having recipe without ant script (target tags in xml)
see https://docs.jboss.org/author/display/RHQ/Ant+Bundles#AntBundles-rhq%3Adeploymentunit "compliance This is a new required attribute (as of RHQ 4.9.0)" Any new bundles you create in the new JON/RHQ must have this required attribute - if not, the bundle will be rejected.
Apparently the zipped bundles and the recipe upload use different error messages. The attachment shows how this looks for the zipped-bundle for me.
Created attachment 813015 [details] Screenshot
this bug is not a bug. the error message is fine and shows in the UI. I created another BZ that is related but different - if you upload the bundle in a .zip format, you get a shorter error that is less descriptive see bug #1019917 but if you are uploading a recipe, there is no bug. hence, this BZ will be closed.