SVN Commit Failed

Today when I tried to commit from Terminal, I have got this message:

“svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no ‘editor-cmd’ run-time configuration option was found”

But svn checkout, status and update are working. I did some research and found that I can get around this by using -m parameter

svn ci -m “message”

And again, it works.

Installing Ubuntu on Eee PC

Almost forget to blog about this…

Eee PC is a tiny laptop from ASUS, check out the details from this link: http://eeepc.asus.com

Note, let me stick with ‘tiny laptop’ than a proper term until every legal thing is sorted.

Eee PC is small, light weight and it comes with no CD ROM. I can spend extra money to buy an external CD ROM but I couldn’t be bothered with it.

My first attemped is to get Ubuntu Live CD running on a flash drive. But after, I spent a few hours trying to get Ubuntu on a stick, I gave up. So, I went and pulled my IDE external HDD case apart as well as pulled the CD ROM Drive from my PC and connected everything together. It worked great. I’m glad that pulling a few things together can save a lot of money and yes, most of my IT equipments are pretty out-of date (IDE/SATA).

I put Ubuntu CD in (can be downloaded from http://www.ubuntu.com), connected the external CD ROM to USB, pressed F2 (Changed to boot from CD ROM) and my Ubuntu was slowly running. Please note the word ‘slow.’ Everything went smoothly, the installation process went really well, except the screen is too small (not-so-high). It was not enough to display the whole configuration page, with a help of ALT key, everything was ok.

After, I have my Ubuntu running there are a few issues that I have to solve. I refered to https://help.ubuntu.com/community/EeePC and now I have Ubuntu running happily on my Eee PC, of course with wifi.

Installing UTF-X on a Mac

This is a record of my first attempt to install UTF-X, XSLT Unit testing framework, on Mac OS X. This is a link to UTF-X’s project page: http://utf-x.sourceforge.net/

Note that the steps are based on RUBRIC’s documentation.

1. Installing JDK from http://java.sun.com

2. Installing apache ant from http://ant.apache.org/

2.1 Download and Unzip to a directory, say ~/ant/

2.2 Add ant/bin to System Path

2.2.1 vi .profile then add “EXPORT PATH=$PATH:/path/to/ant/bin”

2.3 Create a new system variable “ANT_HOME” with a value “/path/to/ant”

2.3.1 vi .profile then add “EXPORT ANT_HOME=/path/to/ant”

2.4 Create a new system variable “JAVA_HOME” with a value “/path/to/java” for example “/Library/Java/Home”

2.4.1 vi .profile and add “EXPORT JAVA_HOME=/Library/Java/Home”

2.5 run source .profile to use those variables

3. Installing UTF-X

3.1 Download and Unzip to a directory, say ~/utf-x

3.2 Compile UTF-X samples by running “ant samples” via Terminal

Ahh it works.