Toms Online Notebook Sharing my stuff.

Entries tagged [opensource]

Creating a JAR file with only the classes needed

by tgutwin

Posted on Sunday Jan 29, 2017 at 01:46PM in Programming

CupOfJava.jpgHave you ever wanted to create a JAR file for your Java class but only wanted to collect and jar the class files required by your class?
I found a very useful class to do this for you:
It is called: ZipLock written by Stuart D. Gathman at his company Business Management Systems.

Direct link to Original file.
Its perfectly simple and OpenSource!  Thanks Stuart.

I also wrote a simple bash script below to wrap the calling of the java class...

Read More

LedNet Proxy

by tgutwin

Posted on Sunday Dec 18, 2016 at 06:40PM in Programming

LedNet-5Wire.jpgI want to control a LED light Strip with the 5 channel (rgbw) LEDNet controller that I bought.  I want to use my own software. Thankfully others have figured out the IP messaging packet, so I wrote my own little app that lets me program/control a Strip of RGBw LEDs.

The ultimate intent is to be able to control it using My UDI ISY-994 home controller.

Its all do-able.

Read More

Installing Apache Roller in Jetty 9

by tgutwin

Posted on Sunday Jan 24, 2016 at 05:15PM in Technology

jettyIcon.pngsteamroller5.jpgI have been using Google for my Web Based notebook Blog for a few years, however, it did not have all the features I wanted to use; like commenting and a tag cloud. SO, I installed my own weblog software - Apache Roller. I also looked at WordPress, but I wanted a Java only solution. You are looking at it right now. This is how I got it running on Jetty.

I am going to point out how easy it was to install in a simple Java Servlet engine like Jetty, without a full Application Server. The Roller instal docs say that all it needs is a servlet engine, but then it goes on to only have examples for installing in full J2EE Application Servers (JBOSS, Tomcat, Websphere).

I use Jetty 9 on its own, without a full App server, and it was very easy to get going. My production DB is MariaDB (mySql) on Fedora 23.

Read More