Hi Christopher,

> -----Original Message-----
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Thursday, June 19, 2014 1:31 AM
> To: Tomcat Developers List
> Subject: Re: Building tcnative on win32 [progress!]
> 
> Konstantin,
> 
> On 6/18/14, 5:54 PM, Konstantin Preißer wrote:
> >> -----Original Message-----
> >> From: Konstantin Preißer [mailto:kpreis...@apache.org]
> >> Sent: Wednesday, June 18, 2014 11:42 PM
> >
> >> Although Winrar.exe isn't a command-line tool, you can start it from
> >> command-line to extract a file. Unfortunately, when I try to run this
> >> command from an elevated cmd.exe to extract the OpenSSL source code
> >> package, WinRAR fails to create the Symlinks ("the system cannot find the
> >> specified path"):
> >> Start /wait "" "%ProgramFiles%\WinRAR\winrar.exe" x openssl-
> 1.0.1h.tar.gz
> >
> > OK, I think the problem is when running the above command, WinRAR uses
> a relative path to create a symlink which fails. It works if you specify an
> absolute path as target:
> >
> > Start /wait "" "%ProgramFiles%\WinRAR\winrar.exe" x openssl-
> 1.0.1h.tar.gz C:\MyFolder\OpenSSL-Output\
> >
> > With this command it will extract it to C:\MyFolder\OpenSSL-Output\ and
> create the symlinks successfully.
> >
> >
> > Unfortunately, WinRAR is proprietary software (not free). I have
> > tried 7-Zip, but instead of actually creating the symlinks, it just
> > seems to copy the file to the path where the symlink should be
> > created.
> 
> I was using 7za.exe and it was creating files whose contents contained
> the path-target of the symlink instead of what you describe above.
> 
> I'd be perfectly happy if it would just duplicate the files instead of
> creating symlinks, but that does not seem to be the actual behavior.

Sorry, you are right: After I looked at the files, I saw that 7z.exe created 
files which contained only the path for the symlinks, instead of duplicating 
the file.  :(

Unfortunately, I also have not found another tool which could duplicate the 
symlink file or actually create the NTFS symlink other than WinRAR.


Regards,
Konstantin Preißer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to