Skip to main content

Posts

Showing posts from December, 2009

Installing SubVersion with Apache2 on Ubuntu 9.10

First start off by installing Apache: sudo apt-get install apache2 Enter the root password and follow the instructions. Check that is it installed correctly by going to http://localhost and checking that you see the standard Apache "It works!" message. Then install subversion and the subversion Apache module: sudo apt-get install subversion libapache2-svn Then create a directory to store repositories in: sudo mkdir /var/svn/ sudo mkdir /var/svn/repositories and create a test repository: sudo svnadmin create /var/svn/repositories/test So that Apache can read and write the repository its user ( www-data ) needs to be given ownership of it: sudo chown -R www-data:www-data /var/svn/repositories/test To be able to authenticate users who access the repository a password file is needed: sudo htpasswd -c /etc/subversion/passwd paul Enter a password for the user paul . For additional users repeat the command without the -c option to make sure the existing file is appended to rather

Installing Eclipse Galileo on Ububtu 9.10

Before installing Galileo on Ubuntu it is worth making sure you have a decent and reasonably recent Java SDK. Open a command prompt and enter: sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk enter the root password and follow the instructions. Once the SDK is installed, check the version: java -version This should give you something along the lines of: java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03) Java HotSpot(TM) Server VM (build 14.1-b02, mixed mode) If you get something that suggests a different SDK is install run the following command to remove it and try again: sudo apt-get autoremove Then download Eclipse from the Eclipse download page: http://www.eclipse.org/downloads/ Once downloaded unarchive it: tar xvfz eclipse-jee-galileo-SR1-linux-gtk.tar.gz and move the eclipse directory into /opt : sudo mv eclipse /opt It is now possible to run Eclipse with the following command: /opt/eclipse/eclipse however, as Eclipse uses the la

Java Dependency Management with Ivy - Part II

In Part I of Java Dependency Management with Ivy I looked at basic Ivy usage and configuration using Ant and the Ivy Eclipse plugin, IvyDE. I demonstrated how Ivy can be used to download modules (dependencies) from a repository, such as the Maven Repository and cache them locally, negating the need to check them into a source control system. However there are some scenarios where the Maven repository is not suitable: 1.Your development team may not have direct access to the Maven repository or you want to prevent each module from being downloaded more than once. 2.You may want to restrict or specify the modules your development team has access to. 3.You want to use libraries such Microsoft's SQL Server JDBC driver or your own propriety JARs that are not hosted in the Maven repository. Ivy and IvyDE can be easily configured to look at custom repositories. In this article I will discuss a way of setting up a local public repository and a shared repository, and how to reference them

House of Suns

House of Suns by Alistair Reynolds ISBN: 978-0575082373 This is much more like it! Reynolds' best work outside of his Revelation Space series. I loved the characters, their interaction and the way he swapped the first person between the two main characters and the young Abigail Gentian. From reading the back of the book, which describes Abigail Gentian splitting herself into multiple clones, two of whom fall in love, I was expecting the two lead characters to both be female. Maybe that would have been a step too far? Reynolds describes this book as stand alone on his website. I'm really rather hoping there will be some more.