Friday, March 11, 2011

SVN on Eclipse using JavaHL

If you're finding that Subversion is not working with Eclipse due to an error such as:
unable to load default svn client
Visit Collabnet and download the latest Universal Subversion Binaries. I searched for a direct link to get software using the Eclipse software utility, but found nothing as useful as the repository on Collabnet. Unfortunately you have to register first, but it's a quick form.

After you install the binaries, you should be able to verify that JavaHL is working by visiting Eclipse>Preferences>Team>SVN, on the drop-down for SVN interface client.

Tuesday, March 1, 2011

References and Cloning examples

A very interesting example of the subtleties of cloning and referencing variables. Particularly noteworthy is the manner in which the references can be exploited to show ambiguous behavior. See the following example from php.net.

Object cloning with php5