[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: Garfield <fieldcoil_at_gmail.com>
Date: Thu, 26 Jun 2008 14:53:28 +0800

Hi, Stefan,
These are command prompt content when I run "nant clean"

J:\tsvn\SVN\TortoiseSVN>nant clean
NAnt 0.85 (Build 0.85.2478.0; release; 2006-10-14)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///J:/tsvn/SVN/TortoiseSVN/default.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: clean

 [loadfile] J:\tsvn\SVN\TortoiseSVN\default.build(28,3):
 [loadfile] File 'J:\tsvn\SVN\TortoiseSVN\gpgpassphrase.txt' does not exist.

VSNET:

clean:

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

Total time: 0.2 seconds.
J:\tsvn\SVN\TortoiseSVN>
Then I checked sub-folder "obj" and "bin", the output files
those were generated by last building were not cleaned.
So I thought that the "Clean" failed.

2008/6/26, Stefan Küng <tortoisesvn_at_gmail.com>
>
> 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 08:55:54 CEST

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