Hi Andy,
I'm the only programmer on my team and everybody else generally use
the TSVN GUI. I use the SVN library from tmatesoft for doing my
commit, add etc. But the use case that I mentioned requires a GUI and
I thought I could probably invoke the TSVN GUI from command line
instead of writing my own Java GUI using tmatesoft APIs. I thought I
should do a Runtime.getRuntime.exec() and invoke this GUI. From the
Windows commandline, saying TortoiseProc.exe does not open up the Repo
Browser (probably because it doesn't know the URL). What I wanted to
know was whether I could specify the URL as a cmd line parameter.
Sorry if my question was not clearly worded.
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:32 CEST