| Summary: | root file permissions don't work with wildcards | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Andreas Pakulat <andreas> | ||||
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aniefer | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 3.7 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Andreas Pakulat
Apparently this is fixed in Eclipse 3.6, I just replaced our eclipse 3.5 installation that is being used to drive the PDE build with 3.6 and got the properly set executable bits on jre/bin/java. I've then tried to use jre/bin/* in the permissions property but that failed with /var/lib/hudson/jobs/Experimental PDE Build/workspace/build/package.org.eclipse.pde.build.container.feature.linux.gtk.x86.xml:1174: fullpath attribute may only be specified for filesets that specify a single file. So it seems that this is still not work. I'm mostly mentioning this to ask wether I should open a new report about that or adjust the title/description of this one? I changed the title. The original fix was bug 282260. The problem here is the zipfileset http://ant.apache.org/manual/Types/zipfileset.html used to specify the permissions. If we think we are only dealing with one file we use the "fullpath" attribute, otherwise for directories we use "prefix". I don't see any real reason we can't just use prefix all the time. A workaround for this should be to use the native zip or tar for creating the archive. This is controlled by the archivesFormat property in the builder's build.properties file. Use something like: archivesFormat = linux, gtk, x86 - zip The default is antZip which has this problem. (In reply to comment #3) > A workaround for this should be to use the native zip or tar for creating the > archive. > > This is controlled by the archivesFormat property in the builder's > build.properties file. Use something like: > archivesFormat = linux, gtk, x86 - zip > > The default is antZip which has this problem. Using zip or tar didn't help, all files under jre had no executable bits after unpacking the resulting tar/zip. And yes the original files used from the filesystem do have the bits set :) Created attachment 177476 [details]
patch
fixed |