Emmanuel Bourg
Emmanuel Bourg
I think this is too specific to become part of jdeb. That's great if you were able to reuse jdeb to support this format, but I think it's outside the...
Hi Roman, thank you for the patch. It's quite big and I haven't everything yet, it would have been preferable to split the refactoring from the feature addition. You can...
Interesting, that looks like a bug in the JDK. We should be able to work around this issue by modifying the gzip compressor in Commons Compress to write a custom...
Yes, that's what I'm doing currently :)
Commons Compress now has a better implementation of the gzip output stream. Could you give it a try Roman? The code is on the trunk and will be part of...
Commons Compress 1.7 has been released if you want to rework your patch Roman. Regarding the additions of a producer, I'm not a big fan of this solution. Following this...
Could you try again by replacing the data element with a fileset? It should preserve the permissions. ``` ```
Actually the right solution is to use a tarfileset. Until jdeb uses the Java 7 nio2 API it's not possible to preserve the permissions from the filesystem.
You can use several tarfilesets, one per type of permission, or you can use a permission mapper. There are some examples in the documentation : https://github.com/tcurdt/jdeb/blob/master/docs/ant.md
The .desktop file has to be put in the right directory (typically into `/usr/share/applications`), jdeb will not move it automatically.