Java – USB – Lights

Problem Statement:

We need to display lights and play sounds for different activities in IT Departments.

Example: Specific production server went down. Or Build failed. Or Too much traffic on network, got email from xyz….etc

Solution 1:

DelCom Product: This comes with DLL and we need to write Java JNI.

http://www.delcomproducts.com/products_USBLMP.asp

Solution 2:

Arduino Micro Controller

http://joe.blog.freemansoft.com/2011/04/extreme-feedback-aka-status-lights-das.html

http://arduino.cc/en/

http://cweiske.de/tagebuch/usblamp-monitoring.htm

Writing simple USB Driver: http://www.linuxjournal.com/article/7353

Hudson Build Lights: http://www.rallydev.com/engblog/tag/indicator-lights/

-o-

Advertisements

Hudson Setup

I would like to write about Hudson Setup http://wiki.hudson-ci.org.

Option 1: Decided to go with >java -jar hudson.war
It is not performing as expected. So did the following steps.

Setup Maven manually and provide following information.

starthudson.sh file looks like this. Fill with correct information

export MAVEN_HOME=$HOME/apache-maven-2.2.1
export PATH=$MAVEN_HOME/bin:$PATH

export JAVA_HOME=/apps/java1.5/
export PATH=$JAVA_HOME/bin:$PATH

export HUDSON_HOME=$HOME/hudson/.hudson

nohup java -jar hudson.war –httpPort=23455 –ajp13Port=23456 &

Manually setup .m2 folder. I.e copy content from local system to linux system.

Now Hudson is up and running.

Step 2: Enable the security. Same document given how to disable security too.

http://wiki.hudson-ci.org/display/HUDSON/Standard+Security+Setup

List of Hudson plugins are available at http://wiki.hudson-ci.org/display/HUDSON/Plugins

-o-