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

Re: Writing java hooks, can I use javahl?

From: Dave_Thomas mailing lists <davelist_at_peoplemerge.com>
Date: 2006-11-07 21:14:28 CET

>
> Hi all,
>
> Given a repository and the name/number of a transaction I need to get the
> following info to write hooks in java:
> * a list of changed paths
> * the log entry of a transaction
> * ability to get a property of a specific path in a transaction
>
> Note, this is not revision info that I need. This is for a 'pre-commit'
> hook. Any samples would be appreciated.
>
> (No-whining disclaimer #1: Sorry if this is a duplicate. I tried to send
> mail to this list but I wasn't subscribed. List archives don't cover Nov
> 2006 yet.)
> (No-whining disclaimer #2: I thought this was a user mailing list issue
> but "Please direct discussions of the API to the
> mailto:dev@subversion.tigris.org <dev@subversion.tigris.org>" --
> README-HIGH-LEVEL-API.txt )
>
> Thanks in advance for your help
> Dave
>
> ---------- Forwarded message ----------
> From: Joseph Mocker <mock+svn@fakebelieve.org>
> Date: Nov 6, 2006 2:51 PM
> Subject: Re: Hooks written in Java
> To: Dave_Thomas mailing lists < davelist@peoplemerge.com>
> Cc: users@subversion.tigris.org
>
> In the source dist I see a folder, subversion/bindings/java which
> appears to be java bindings. The README there says its mature.
>
> --joe
>
> Dave_Thomas mailing lists wrote:
> > Hi all,
> >
> > I'm the only python developer at the company I work, and they'd really
> > appreciate it if I could port the scripts I wrote into Java.
> >
> > Does anyone have sample java hooks I could look at? I saw a mention
> > of using the JavaSVN FSFS and FSRepresentation clases.
> >
> > I know getting Java to run as a trigger is easy: I can simply invoke
> > the JVM and the classes I want from a shell script which will get a
> > return code like the Python equivalent.
> >
> > Alternatively, I could parse the output of `svnlook.`
> >
> > Thanks!
> >
> > Dave
> >
>
Received on Tue Nov 7 21:14:50 2006

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