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

Re: command line invocation of GUI

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 5 Jun 2008 15:57:05 -0400

On Thu, Jun 5, 2008 at 3:50 PM, Gowri <gowricp_at_gmail.com> wrote:
> Hi all,
>
> I am writing this Java tool through which users will be committing a
> bunch of files and directories with the click of a button. They don't
> even have to use any SVN tool's GUI or command line for the same.
> However, I need to allow users to specify the directory under which
> they would like to commit their files. For this purpose I need
> something to the equivalent of JFileChooser and I guess the Repo-
> Browser serves this purpose. So here are my questions:
>
> 1. My tool should have a browse button and when a user clicks on this,
> the repository browser should open up (maybe a command line invocation
> of the GUI and specifying the URL as a parameter to it) and the user
> should choose the destination dir. How do I do a cmd line invocation?
>
> 2. Is there a better way of doing the above?
>
> 3. How do I get the contents of the 'URL' text box of the Repo-Browser
> which tells me which folder in SVN was selected?
>
> Appreciate all the help I can get.

You're invoking TSVN from a Java app to do SVN tasks? Sounds like a
very roundabout way to get things done.

Look at SVNKit, the Subversion Java API, and implement all the
functionality in your own application. A stripped-down Eclipse with
Subclipse integrated may also have a lot of what you're looking for.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-06-05 21:57:16 CEST

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

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