+++ This bug was initially created as a clone of Bug #665508 +++ rhq:file and rhq:url-file each support the ability to indicate where the file should be copied on the destination machine. rhq:archive and rhq:url-archive does not support those attributes. However, it would be nice to be able to tell where you want the archive to be stored. Note this probably only makes sense when exploded="false" since the zip file doesn't exist if its exploded. <rhq:archive name="test.zip" exploded="false" destinationDir="subdir" ... would mean the test.zip would get copied in ${rhq.deploy.dir}/subdir. <rhq:url-archive url="http://server/files/test.zip" exploded="false" destinationDir="subdir" ... would mean the test.zip would be downloaded from that URL and stored in ${rhq.deploy.dir}/subdir. Today, you have no choice but to have the downloaded file stored directly in ${rhq.deploy.dir}.
After some discussion decided that only the "destinationDir" attribute should be supported and not to support renaming archives. Also, currently supporting this only when exploded=false. Wiki updated: https://docs.jboss.org/author/display/RHQ/Ant+Bundles#AntBundles-rhq%3Aarchive master commit e26efc5c109e10da6418defa48b565c9b0c6097c Author: Jay Shaughnessy <jshaughn> Date: Fri Apr 25 15:34:22 2014 -0400 Add "destinationDir" attribute for the archive targets. Note that it can only be used in conjunction with "exploded=false".
Heiko Rupp <hrupp> updated the status of jira JON3-55 to Resolved
Larry O'Leary <loleary> updated the status of jira JON3-55 to Reopened
master commit 007e6bdd575abd48681d6c321d6edbc878c29b52 Author: Jay Shaughnessy <jshaughn> Date: Thu May 15 15:21:15 2014 -0400 - Add support for exploded archives. So, the new destinationDir attribute can be used with exploded=true|false. Also, - Fix FileUtilTest.normalizePath() and .stripDriveLetter() to normalize the Windows drive letter by ensuring upcase.
Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993
Verified on Version : 3.3.0.DR01 Build Number : 6468454:dda0a47 TCMS execution run on linux and Windows: https://tcms.engineering.redhat.com/run/167387/ https://tcms.engineering.redhat.com/run/167388/
JON 3-55 captures this release note work.
Larry O'Leary <loleary> updated the status of jira JON3-55 to Closed