Re: Writing java hooks, can I use javahl?
> 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:email@example.com <firstname.lastname@example.org>" --
> README-HIGH-LEVEL-API.txt )
> Thanks in advance for your help
> ---------- Forwarded message ----------
> From: Joseph Mocker <email@example.com>
> Date: Nov 6, 2006 2:51 PM
> Subject: Re: Hooks written in Java
> To: Dave_Thomas mailing lists < firstname.lastname@example.org>
> Cc: email@example.com
> In the source dist I see a folder, subversion/bindings/java which
> appears to be java bindings. The README there says its mature.
> 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