[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: Gowri <gowricp_at_gmail.com>
Date: Thu, 5 Jun 2008 14:04:17 -0700 (PDT)

I'm not sure if my previous message will be posted shortly or not but
since it hasn't appeared so far, I will write a gist of what it
contained. Basically I use a Java library from tmatesoft to do my SVN
commit/update etc. What I need for the use case mentioned above is
some sort of cmd line invocation of Repo Browser.

I tried TortoiseProc.exe at the cmd line but it does not open Repo
Browser because of no knowledge of the URL I guess. Is there a way I
can specify the URL as a parameter to a command line invocation of the
GUI so that the Repo Browser shows up correctly?

Sorry if I've caused any confusion.

Regards,
Gowri

On Jun 5, 2:57 pm, "Andy Levy" <andy.l..._at_gmail.com> wrote:
> On Thu, Jun 5, 2008 at 3:50 PM, Gowri <gowr..._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-unsubscr..._at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-h..._at_tortoisesvn.tigris.org

---------------------------------------------------------------------
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-06 07:05:47 CEST

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