Saturday, March 15, 2014

Chocolates, who does not like them?

Some art work at the exhibition..
[14/03/2014] As usual, this year too there is a Chocolate festival in Obidos. Last year, I missed it. But not this time. :) This year, the festival will be open from the 14th of March to the 6th of April on Fridays to Sundays. The Sun was pleasant. It was a good feeling, enjoying all the chocolates and the exhibition (in collaboration with Jardim Zoologico Lisboa / Lisbon Zoo), and talking to the organizers/volunteers in fancy clothes. Glad I did not miss it this time. Moreover, lucky to be there on the first day itself. Totally worth it.

Saturday, March 8, 2014

Building Freenet from source on Windows 8.1

Configuring Freenet from Firefox.
My interest on Freenet is mostly towards its goal on the Internet Freedom. Freenet is a software that lets users use share and browse cites without the fear of censorship, while providing anonymity.

In this post, we will see how to build and use Freenet from the source in Windows 8.1. (After 5 long years, I have come back to Windows. It doesn't mean that I have forgotten Linux. I still love Linux and open source. But I hope I can contribute to the open source in different ways using Windows.)

You need java, ant, and git for this. 
First checkout the source code.
$ git clone git://github.com/freenet/fred-staging.git

Rename the checked out directory fred-staging to fred and go into it.
$ mv fred-staging fred
$ cd fred

Create a file "override.properties", with the below line as the content.
lib.contrib.get=true
Download bouncy castle jar and put it into the lib directory as bcprov.jar.
Download JUnit jar and put it into the lib directory as junit.jar.

To build,
$ ant

To build, skipping the tests and documentation tasks,
$ ant -Dtest.skip=true -Ddoc.skip=true

freenet.jar is built inside the dist directory. Move it into the lib directory, and run from the lib directory using the below command,
$ java -jar freenet.jar

Now you are done. Go ahead and read the Usage FAQ to configure and start using Freenet!