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

Re: Building errors about gpgpassphrase

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 26 Jun 2008 07:26:20 +0200

Garfield wrote:
> Hi, everyone, I am sorry to bother you again.
> I am very happy to know TSVN-1.5.0 was released! I checked out source
> code from
> http://tortoisesvn.tigris.org/svn/tortoisesvn/tags/version-1.5.0
> and builded it.
> At last, I got the msi files, but I met some errors about gpgpassphrase
> in this process.
>
> First, The line 28 in default.build is:
> <loadfile file="gpgpassphrase.txt" property="gpgpassphrase"
> failonerror="false" />
> But there is no file named "gpgpassphrase.txt" in work copy or repository;
> So when I run "nant clean", building was broken at this line because
> gpgpassphrase.txt does not exist.

why broken? there's a
failonerror="false"
you will get an error, but the build will not fail.

> Second, The line 107 in src\TortoiseSVNSetup\setup.build is:
> <arg value="${gpgpassphrase}" />
> When I run "nant release setup", building was broken at this line
> because gpgpassphrase is not defined.
>
> Third, The line 102 in src\TortoiseSVNSetup\setup.build is:
> <exec program="gpg.exe" workingdir="..\..\bin">
> There is no file named "gpg.exe" in my computer. I guessed it should be
> in tools-1.5.zip, but it is not.
>
> I searched in mailing list archives with keyword "gpgpassphrase" or
> "gpg.exe", but there is no result.
> So I send this email for your help.

you will get those errors only if you pass the 'release' target when
building. So, either:
* create a file called 'gpgpassphrase.txt' which has your GPG passphrase
in it (plaintext), install GPG (http://www.gnupg.org/). Then the build
will automatically sign the msi file with your GPG signature

or

* add a 'buildonerror="false"' statement in those <exec ...> tasks.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-06-26 07:26:40 CEST

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