We are using Windows as development system and ANT to create the platform-specific bundles. For the Mac OS X specific bundle (.tar.gz file) we are using the tar task. I want to create a symbolic link in the output .tar.gz file which points to another file in the same .tar.gz file. Can this be done using ANT?
A:
You cannot create a symbolic link on Windows. Therefore, the Symlink Ant task would not work properly. One option would be to run a continuous build server on a Mac machine. Then, you could run that task at regular intervals and the Symlink Ant task would work.
mike boldischar
2009-12-18 16:52:19
Maybe there is a misunderstanding: I don't want to create a symlink in the operating system's file system, but only in the .tar.gz file which is created by ANT's tar task.
mklhmnn
2009-12-22 09:08:25
It's not true that you cannot create a symbolic link in Windows. mklink is the command line tool; CreateSymbolicLink is the Win32 function. http://msdn.microsoft.com/en-us/library/aa363866(VS.85).aspx
Cheeso
2010-02-20 14:24:49