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

RE: bug in svnAnt status?

From: Martin Letenay <mle_at_whitestein.com>
Date: 2005-09-22 11:34:32 CEST

the problem was obvious.
You were using svnant with command line client binding which is actually
just trying to parse the stdout of the svn command.
And you have german locale set, so the svn's output was localized and the
parser was not able to handle (german) output.
Fortunatelly, svn command line client seems to honor LANG and LC_ALL
environment variables,
so we can call the svn command with these env varibales set to expected
locale and the output can be parsed correctly regardless
OS/User settings...
The fix will be in the upcoming new release of svnant ...

From: Martin Letenay [mailto:mle@whitestein.com]
Sent: 09 September 2005 11:36
To: users@subclipse.tigris.org
Subject: RE: bug in svnAnt status?

OK, I'll try to look at it over the weekend.
If this problem is blocking you, try to use JavaHL adapater, it's much
stable than the command line wrapper ...

From: Syga, Rafael SYA [mailto:syga@boehme-weihs.de]
Sent: 09 September 2005 11:18
To: users@subclipse.tigris.org
Subject: AW: bug in svnAnt status?

Yes, I have tried SVNAnt 1.0.0RC1 and 0.9.13 version.

-----Ursprüngliche Nachricht-----
Von: Martin Letenay [mailto:mle@whitestein.com]
Gesendet: Freitag, 9. September 2005 11:10
An: users@subclipse.tigris.org
Betreff: RE: bug in svnAnt status?

Guys, have you tried it with 1.0.0RC1 ?
Is there the problem too ?


From: Syga, Rafael SYA [mailto:syga@boehme-weihs.de]
Sent: 09 September 2005 10:58
To: users@subclipse.tigris.org
Subject: AW: bug in svnAnt status?

Hi Gunnar,
yes I have the same problem, I have posted it yesterday.
But until now any response and no solution by my side.
The <propset> task have the same problem, it seems that <propset> use the
status commad, too.


-----Ursprüngliche Nachricht-----
Von: gunnar.schmid.sp@lhsystems.com [mailto:gunnar.schmid.sp@lhsystems.com]
Gesendet: Freitag, 9. September 2005 10:21
An: users@subclipse.tigris.org
Betreff: bug in svnAnt status?


I'm using svnAnt 0.9.13 and a local repository (for testing purposes).
Everytime I try to execute the status command I get an NPE:

My target in build.xml:

  <target name="svn_status">
                <status path="src/SvnTestMain.java"
textStatusProperty="status.text" propStatusProperty="status.prop" />

        <echo message="Status (Text): ${status.text}" />
        <echo message="Status (Prop): ${status.prop}" />


Buildfile: D:\Daten\eclipse\ice\svn_test\build.xml
      [svn] Using command line interface
Svn : Status
info D:\Daten\eclipse\ice\svn_test\src\SvnTestMain.java
Pfad: D:\Daten\eclipse\ice\svn_test\src\SvnTestMain.java
Name: SvnTestMain.java
URL: <file:///D:/spielwiese/svn_repo/svn_test/src/SvnTestMain.java>
Revision: 2
Knotentyp: Datei
Plan: normal
Letzter Autor: u172824
Letzte ge"nderte Rev: 2
Letztes ®nderungsdatum: 2005-09-08 17:34:36 +0200 (Do, 08 Sep 2005)
Text zuletzt ge"ndert: 2005-09-08 16:05:53 +0200 (Do, 08 Sep 2005)
Pr?fsumme: 7461ccf8ca5c5514cc3cc8cbbdde90a9
status -v -N --no-ignore D:\Daten\eclipse\ice\svn_test\src\SvnTestMain.java
M 2 2 u172824

D:\Daten\eclipse\ice\svn_test\build.xml:35: java.lang.NullPointerException

Total time: 2 seconds

Has anyone experienced something similar? Is this already a known bug?

Received on Thu Sep 22 19:34:32 2005

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

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