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.
---------------------------------------------------------------------
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:29:41 2005