Summary: | Add method to explicitly define symlinks in <tar> task | ||
---|---|---|---|
Product: | Ant | Reporter: | Kevin Riff <kriff> |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | ebourg, stevel |
Priority: | P2 | ||
Version: | 1.6.5 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Kevin Riff
2006-07-17 15:49:37 UTC
*** Bug 43689 has been marked as a duplicate of this bug. *** I also a similar functionality: I want to create a Mac-specific .tar.gz bundle which should contain the application's .app directory structure containing a PDF-documentation file, but the documentation should also be accessible parallel to the .app directory structure, so the average user is able to view the documentation after unpacking the .tar.gz file (note: the .app directory structure on OS X usually is treated as file by the Finder). When we can expect this issue to be fixed? Currently, I don't know of a work-around, except of duplicating the .pdf file in both locations. Mike, nobody works on Ant in any paid form, the general rule is that to fix a problem that you have, the best way is to patch your local copy of the source, then submit a patch including those changes and some tests/documentation, as that is what is needed to get your patch in the main branch, There is a workaround, which is you create the (hanging) symlink in the source filesystem pointing to the final destination, and then tar it using the native tar command, instead of the <tar> task. I've been using this when creating RPMs. It isn't x-platform though, only works on a unix system. (In reply to comment #3) > There is a workaround, which is you create the (hanging) symlink in the source > filesystem pointing to the final destination, and then tar it using the native > tar command, instead of the <tar> task. I've been using this when creating > RPMs. It isn't x-platform though, only works on a unix system. This is no work-around for us, because we work on Windows. If I would have the experience of how the tar format looks like, I've already would have done the change myself and maybe suggested a patch. Unfortunately, I haven't that experience. |