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

Re: building docs

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: Thu, 3 Apr 2008 22:58:36 +0200

Steve,

On 03/04/2008, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>
> Jean-Marc van Leerdam wrote:
>
> > Steve,
> >
> > OK. Downloaded that 0.85 version.
> >
> > The doc readme.txt states:
> >
> > NAnt Build:
> > -----------
> > A NAnt build script has been provided to build the docs. When doc.build
> > is run for
> > the first time, the template doc.build.include.template is copied to
> > doc.build.include.
> > Adjust the settings for your build environment in doc.build.include, not
> > in the template.
> >
> > I do not see the .template file, only a versioned doc.build.include. Is
> > it still needed to customise this versioned file?
>
>
I guess this has been superseded by the doc.build.user / doc.build.user.tmpl
files?

> And running nant gives:
> > ...
> >
> >
> > prepare.custom:
> >
> > [exec]
> > C:\Data\develop\TSVNWork\tortoisesvn\doc\doc.build.include(164,4):
> > [exec]
> > 'C:\Data\develop\TSVNWork\tortoisesvn\bin\release\bin\SubWCRev.exe' failed
> > to start.
> >
>
> Put C:\program files\tortoisesvn\bin into your PATH variable so SubWCRev
> can be found.

It is in my path..

I've set the following in doc.build.user:

    <property name="path.subwcrev"
        value="C:\Progra~1\TortoiseSVN\bin"
        unless="${property::exists('path.subwcrev')}"
    />

And the output from nant shows:
NAnt 0.85 (Build 0.85.2478.0; release; 14-10-2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Data/develop/TSVNWork/tortoisesvn/doc/doc.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: all

clean:

prepare:

PrepareVersionInfo:

     [nant] C:\Data\develop\TSVNWork\tortoisesvn\versioninfo.build
versioninfo
            Buildfile:
file:///C:/Data/develop/TSVNWork/tortoisesvn/versioninfo.build
            Target framework: Microsoft .NET Framework 2.0
            Target(s) specified: versioninfo

            versioninfo:

                 [exec] SubWCRev: 'C:\Data\develop\TSVNWork\tortoisesvn'
                 [exec] Last committed at revision 12548
                 [exec] Updated to revision 12549
                 [exec] Local modifications found
                 [nant] C:\Data\develop\TSVNWork\tortoisesvn\version.build
setversioninfo
                        Buildfile:
file:///C:/Data/develop/TSVNWork/tortoisesvn/version.build
                        Target framework: Microsoft .NET Framework 2.0
                        Target(s) specified: setversioninfo

                        setversioninfo:

                        BUILD SUCCEEDED

                        Total time: 0.1 seconds.

            BUILD SUCCEEDED

            Total time: 0.4 seconds.

prepare.custom:

     [exec] File 'source/pubdate.tmpl' does not exist
     [exec]
C:\Data\develop\TSVNWork\tortoisesvn\doc\doc.build.include(164,4):
     [exec] External Program Failed: C:\Program
Files\TortoiseSVN\bin\SubWCRev.exe (return code was 2)

BUILD FAILED - 1 non-fatal error(s), 0 warning(s)

C:\Data\develop\TSVNWork\tortoisesvn\doc\doc.build.include(171,4):
Could not find file
'C:\Data\develop\TSVNWork\tortoisesvn\doc\source\Pubdate.none' to copy.

Total time: 0.7 seconds.

So the strange thing is that SubWCRev is found during the
'PrepareVersionInfo' phase, but not in the 'prepare.custom' phase.

-- 
Regards,
Jean-Marc
----------------
    ___
   // \\  @@     "De Chelonian Mobile"
  / \_/ \/._)    TortoiseSVN
<\_/_\_/ /      The coolest Interface to (Sub)Version Control
  /_/   \_\      Check out http://tortoisesvn.net
Received on 2008-04-03 22:58:46 CEST

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

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