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

Re: Fwd: FW: JavaHL: console window is opened on setRevProperty?

From: <patrick_at_qint.de>
Date: 2005-09-06 14:39:19 CEST

Hi Lieven,
I would think that the post-revprop-change script, which you need to be
able to
set a revprop, is run in the console window. It may be difficult to suppress.
Regards,
Patrick

Quoting Lieven Govaerts <lgo@mobsol.be>:

> Patrick,
>
> Citeren patrick@qint.de:
>
>> Hi Lieven,
>> I have never seen javahl opening/closing a console window. There is no code
>> in
>> the javahl binding for that. The only reason may be in subversion core. What
>> kind of connection do you use? (svn/http/file).
>> Regards,
>> Patrick
>> Quoting Lieven Govaerts <lgo@mobsol.be>:
>>
>
> It seems to happen only on local repository access ( on Windows ). This code
> opens a console windows ( 5 times ):
>
> import org.tigris.subversion.javahl.Revision;
> import org.tigris.subversion.javahl.SVNClient;
>
> public class ConsoleTest {
> public static void main(String[] args) {
> SVNClient svn = new SVNClient();
> try {
> for (int i=0;i<5;i++)
> {
>
> svn.setRevProperty("file:///C:/depost/devel/workspace/SVNTest/build/rsc/test_base",
> "pst:test", Revision.HEAD, "testval", false);
> Thread.sleep(100);
> }
> } catch (Exception e) {
> e.printStackTrace();
> }
> }
> }
>
> If you run it from the command line with 'java ConsoleTest', it doesn't show
> the console window, but if you use 'javaw ConsoleTest' it will.
>
> Lieven.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 6 14:39:57 2005

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.