Fork me on GitHub

“A personal music server
for everyone”

Setting up Netbeans

This page describes how to set up Sockso with Netbeans.

Creating the Project

After you have cloned the Git repository, open Netbeans and choose to create a new project from existing sources.

Next, enter the name for the project (probably 'Sockso'), and choose the directory that you cloned the repository in.

NOTE: You will probably get an error here about the build.xml file already existing (Sockso uses its own, not Netbeans standard one) - so you will need to temporarily rename build.xml to something else. But name it back when we have passed this step!

Then add the main source code folders...

And just click Finish, you don't need to go on to the next step, and your project should be created for you...

The first thing you'll see is lots of errors on the packages like in the screenshot below. This is because we haven't told Netbeans about all the dependencies yet, so right click the Sockso project and select the Properties option from the menu.

Then we can go to the Libraries tab on the left side, and then click the button labelled Add JAR/Folder.

We then need to add all the .jar files from the following folders...

  • lib/dev (development)
  • lib/opt (optional)
  • lib/std (standard runtime libraries)

Missing Classes

After this most of the errors will have gone, but you may still see errors about missing template classes like in the screenshot below...

These classes (along with are created when you build Sockso, so go to the shell, change to the Sockso directory and run the compile Ant target. (You can also do this from within Netbeans if you have the Ant plugin)

$> ant compile

The reason you need to do this is because all Sockso's output templates are written using the Jamon templating engine (ie. all the .jamon files), which are converted to Java classes and then compiled into Sockso. So running the compile target as above will do all this.

Normally though you won't run the compile target directly, you'll usually just use run


  • No comments yet, be the first!

Post Comment

Just enter your name, fill out the easy captcha and enter your comments - it'll appear on the site right away. If you enter your email it will just be linked from your name so people can get in touch with you about your comment, so it's optional.

Sockso Community!

Sockso comes with the ability to be instantly part of the Sockso Community. So install now to to take part!

If you love using Sockso and would like to give a little back, try a donation to help out and support open source development.

Latest News & Releases RSS Icon

12th May

Sockso 1.5.3 - Bug fix release - fixes broken folder browsing and related artists.

29th April

Sockso 1.5.2 - Bug fix for broken local cover art, and updated French translation.

14th March 2012

Sockso 1.5.1 - Bug fixes for path security hole, API access, and encoded pluses. Along with updated Italian translation, adding ability to extract cover art from ID3 tags.

10th December

Sockso 1.5 - Added ability to add arbitrary meta tags, JPlayer support, HTTP Range header support, bug fixes, and finalised API v1.0

25th July

Sockso 1.4.2 - Fix for fetching cover artwork from Amazon.

24th July

Sockso 1.4.1 - Fixes for unicode output issue, and strict JSON API issue with single quotes.

23rd July

Sockso 1.4 - Added a JSON API to support developing applications on top of Sockso.

8th July

Posted screencast of *VERY* early version of new Sockso iPhone app. Feedback appreciated in the forums.

2nd July

Sockso 1.3.5 - Fix for problem on OSX where Sockso would not start, other minor bug fixes for Flac handling.

26th June

Sockso 1.3.4 - New HTML5 Player for iPad/iOS/etc support from nguillaumin, new 'tinygreen' skin from Simplify, and some bug fixes.

4th May

Sockso 1.3.3 - Album years now shown, Turkish translation added, and MP3 tag library updated (all thanks to badZeppelin!), some bug fixes to ajax page loading.

2nd April

Sockso 1.3.2 - Users can now require approval when registering, and updated ajaxified web interface with embedded player now default.

23rd March

Sockso 1.3.1 - Fix for missing 'colscan' command from console, moved optional libraries location (to upgrade rename your optionals folder from 'lib-opt' to 'lib/opt', and a bug fix for invalid URL characters breaking some playlist files.

17th March

Sockso 1.3 - Created ability to add servers to the new Sockso Community, and you can now run behind Apache without needing a VirtualHost (thanks to LightGlitch!)

5th February

Sockso 1.2.7 - Fix for broken javascript in 1.2.6.

30th January 2011

Sockso 1.2.6 (broken) - Fix for selecting the playlist in some browsers, and added new web admin console.

17th December

Sockso 1.2.5 - Minor bug fix for adding items to the playlist when browsing folders.

10th April

Sockso 1.2.4 - Patches from Will to improve HTTP/HTTPS streaming performance, and HTML compliance, improved music tree in GUI to cope with any size collections, hidden files now ignored on indexing, and some other bugs.

8th February

Sockso 1.2.3 - Fixed broken 1.2.2 release.

Linux Logo Windows Logo OSX Logo