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

Re: request for simple example: commit or update a file with java

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2002-11-04 20:38:28 CET

cmpilato@collab.net writes:

> "Robert Koberg" <rob@koberg.com> writes:
> > Hi,
> >
> > Am I asking something totally stupid? Can anybody give me some hints
> > (offlist if this is an offtopic question)?
> Stupid? Heck, no. You just asked on a weekend. :-)
> > > Can anybody post a simple, basic example of the best way to perform a
> > > commit or update from within a java app? Lets say the app lives on
> > > the same machine as the subversion repos. Is there any way to pass
> > > the commit info as headers in a http response? Is the only way,
> > > currently, to do a Runtime.exec()? Any advice is appreciated.
> Currently, yes, you'll need to use something like Runtime.exec() --
> effectively running system() on the Subversion command-line client.
> The Java SWIG bindings aren't yet mature enough for you to use them
> directly. Contributions here would be appreciated, of course.

Speaking of which, I'm feeling like I should check in my JNI/SWIG
patch. I haven't done any more work on it, but it doesn't seem to
break the build and it's not like anyone else can work on it with it
just sitting on my machine. ;-)

Please speak up if this is likely to cause you merge conflicts or
other woes.

Daniel Rall <dlr@finemaltcoding.com>
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 4 20:39:12 2002

This is an archived mail posted to the Subversion Dev mailing list.