Community
Participate
Working Groups
UnzipperGenerator, used among others by package.xml, directs the contents of tar archive to a wrong directory. "UnzipperGenerator". Evidence: If a file is handled as a zip file, it is unzipped twice, once with <exec executable="unzip" dir="${tempDirectory}/."> and again, with slightly different parameters, using <exec executable="unzip" dir="${tempDirectory}/aix.motif.ppc/."> For tars, there is are corresponding lines <exec executable="tar" dir="${tempDirectory}/."> and <exec executable="tar" dir="${tempDirectory}/."> where the second call has once again slightly different parameters. Thus, the root files for the application do not end up in the config specific folder as they should, but instead are extracted to the platform-independent 'eclipse' folder only. The relevant methods in the source code are UnzipperGenerator.generateUntarRootFiles(String[]) and UnzipperGenerator.generateUnzipRootFiles(String[]).
Created attachment 59123 [details] Patch, replacing the folder name. I have attached a patch file for the UnzipperGenerator. The class now uses the previously created rootFileFolder String as target for the untaroperation, just as witnessed in the generateUnzipRootFiles method. I believe this to solve the problem.
patch released to HEAD