[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 1.7.7 up for testing/signing

From: Branko Čibej <brane_at_wandisco.com>
Date: Thu, 04 Oct 2012 20:18:24 +0200

On 04.10.2012 17:19, Mat Booth wrote:
> I believe it should just do a simple "copy svn_private_config.hw
> svn_private_config.h"

That might work in 1.7 but won't in 1.8, which uses a transform script
on Windows to fill in some variables that are really only known at build
time (e.g., architecture -- Windows builds can be cross-compiles).

> I have it knobbled in my build script to do the copy before invoking
> the solution build because I never figured out why the solution didn't
> copy it.

But there's this in the svn_config.vcxproj file:

<CustomBuild Include="$(SolutionDir)\subversion\svn_private_config.hw">
  <FileType>Document</FileType>
  <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Creating svn_private_config.h from svn_private_config.hw.</Message>
  <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copy $(SolutionDir)\subversion\svn_private_config.hw $(SolutionDir)\subversion\svn_private_config.h &gt; nul:</Command>
  <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)\subversion\svn_private_config.h;%(Outputs)</Outputs>
...

In other words, you should see a svn_config project in the subversion
solution, and within that project an enty for svn_private_config.h, and
the custom build command should be the "copy" you're proposing.

-- Brane

> On 4 October 2012 16:00, Mark Phippard <markphip_at_gmail.com> wrote:
>> I paid closer attention this time. The file is *not* generated when I
>> run the Python script. When I build the solution from the command
>> line the file is generated, so it must be done as part of the Visual
>> Studio build scripts.
>>
>>
>>
>> On Thu, Oct 4, 2012 at 10:19 AM, Philip Herron
>> <philip.herron_at_wandisco.com> wrote:
>>> Maybe gen-mak.py didn't run properly i will re-check. Its just a really
>>> buggy batch file i have so might be my fault sorry. Will recheck. Though
>>> then again if gen-mak.py didnt run i wouldnt have had the *.sln to run
>>> msbuild over.
>>>
>>> --Phil
>>>
>>>
>>> On 04/10/12 15:14, Mark Phippard wrote:
>>>> Did you run the Python script (gen-make.py) to generate the Windows
>>>> build files? That is a first step required in doing a Windows build
>>>> and that is what generates that file from the template. The
>>>> equivalent of running ./configure on *nix.
>>>>
>>>> Mark
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Oct 4, 2012 at 10:11 AM, Philip Herron
>>>> <philip.herron_at_wandisco.com> wrote:
>>>>> Building on Windows vc2005 i had problem with svn_private_config.h not
>>>>> being
>>>>> found in the .zip its named: svn_private_config.hw not sure if this is a
>>>>> bug
>>>>> of mean to be some kind of *.h.in file for autoconf or something. But
>>>>> thought it was worth noting.
>>>>>
>>>>> --Phil
>>>>>
>>>>>
>>>>> On 04/10/12 07:25, Ben Reser wrote:
>>>>>> The 1.7.7 release artifacts are now available for testing/signing.
>>>>>> Please get the tarballs from
>>>>>> https://dist.apache.org/repos/dist/dev/subversion
>>>>>> and add your signatures there. Thanks!
>>>>>
>>>>
>>
>>
>> --
>> Thanks
>>
>> Mark Phippard
>> http://markphip.blogspot.com/
>
>

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-10-04 20:19:03 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.