2007/1/11, Tim Ellison <[EMAIL PROTECTED]>:
Ronald Servant wrote:
> On 1/11/07, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
> ...
>> I've implemented this approach in r495243. Now the build copies
>> msvcr71.dll from system32 directory and fails if there is no needed
>> library there (this means that the user does not have MSVS2003 which
>> is requirement).
>
> We should also provide an option that will allow the user to specify
> where msvcr71.dll can be found. Some environment variable would do the
> trick.
>
> I have the MSVC tools available to compile with, but do not have a
> standard install of the full IDE etc.. on my machine.  This is done so
> that I can use different versions of MSVC on the same machine.
>
> So the setup that you just put together would fail on my machine.

Agreed.

Alexey if you had used:

   <copy file="${msvcr71.url}" tofile="${msvcr71.dll}" />

instead of:

> +    <copy file="${hyenv.SystemRoot}/system32/msvcr71.dll" 
tofile="${msvcr71.dll}" />

then I think we would be good.  Ron could override by specifying
-Dmsvcr71.url=c:\mypath\... to Ant.

(maybe consider changing the property name too since it is not a URL).
Yes, this could work...
I'll implement this tomorrow and will try to implement md5 check...

SY, Alexey

Reply via email to