Setting up Maven on 64bit Windows 7

1. Download and install Java JDK (minimum 1.7) Jave SE downloads

2. Download Maven Binary from Apache from the Maven Downloads Page or use this direct link for Maven 3.2.1 (Binary zip)

3. Extract zip file to C:\Program Files (x86)\ApacheMaven\apache-maven-3.2.1 (Note: if you select a different directory, please update following steps accordingly)

4. Open the “Environment Variables” in Windows. (WinKey + Pause/Break) > Advanced System Settings > Advanced tab > “Environment Variables…” Button.




5. Add the following variables to the “System variables” section. (Not the “User variables”)

JAVA_HOME
C:\Program Files\Java\jdk1.7.0_51

M2_HOME
C:\Program Files (x86)\ApacheMaven\apache-maven-3.2.1

M2
%M2_HOME%\bin



6. Open the “Path” variable in the System variables section, and add the following at the end of your Path:
;%M2%;%JAVA_HOME%\bin
Note: the semicolon ( ; ) is used to separate values.

7. Open a new command prompt (Winkey + R then type cmd) and run

mvn --version

to verify that it is correctly installed.

C:\Users\curtis>mvn --version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T10:37:52-07:00)
Maven home: C:\Program Files (x86)\ApacheMaven\apache-maven-3.2.1
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_51\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

8. Open the “.m2″ folder in your Windows home directory. (WinKey + R the type “%UserProfile%\.m2″ without the quotes).

9. Create a new file named “settings.xml”, with the information needed to point to your repository. (Sorry for the image, wordpress doesn’t like XML)

10. Save settings.xml file, and close.

Headphones Helper

After a recent legal issue over a previous Android app, and the name it used, I have had to re-brand it as “Headphones Helper”. This new app has all of the capabilities as the old app, and more! If you would like to view this new app, you can find it here Headphones Helper.

Planned features include:

  • The ability to choose different music apps based on unique Bluetooth devices (for example you could have you Bluetooth headset A open Pandora, and headset B open your phone).
  • The ability to change the media function that a shake will perform (example, shake your phone left to right to skip the track, or instead you can shake it to pause your music).
  • A simple count down timer that will open, and allow you a predefined period before launching you music app, or give you options to choose other activities.

I would like to add a few more features, but am still working on the plan for them. If you can think of anything you want added, feel free to email me.

Fan mail for the “What’s The Time?” App

Just thought I would share a nice email I got today from a fan of the “What’s The Time?” App.

“Your time app is just superb. Please don’t change a thing to it except for technical upgrades.

Running galaxy S3 and rooted.

Thanks again for a fine app. “

Installing LemonPOS on the Raspberry Pi

Being that my previous attempt of installing the Openbravo ERP solution on the Raspberry Pi failed, I have decided to switch to the LemonPOS package. This has turned out to be much easier than installing Openbravo
All of these following steps will be performed in the terminal.
The first step is to make sure everything is up to date

sudo apt-get update
sudo apt-get upgrade

Now that everything is up to date, we can install the needed packages

sudo apt-get install kde-standard libqt4-dev

While kde is installed, it will prompt you to either choose LightDM or KDE. Being that we already have LXDE, we can choose LightDM since it has less resouces to install.
Once you have KDE, and QT4 installed, we can install mysql

sudo apt-get install mysql-client mysql-server

Now we need to install everything else that’s needed for the compile

sudo apt-get install build-essential g++ cmake gettext libqt4-sql-mysql kdelibs5-dev

The next step is to download the source, and move it over to the pi. You can get the source from sourceforge Click here to download latest release

You will need to either use sftp or scp to move the tarball to the pi.

After transferring the source to the pi, find it’s location. I put mine in /home/pi/Downloads

cd Downloads
tar -jxvf lemonpos-0.9.4-rc7.tar.bz2

Once it's finished extracting the tarball, move into the newly created directory, and create a 'build' Direcotry and move into it


cd lemonpos
mkdir build
cd build

Run CMake with your path to KDE4

cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`

Run make to compile lemonpos. This took about an hour on my pi

make


After the compile is finished, you will need to install everything

sudo make install

After everything is installed, we need to set up the initial database where everything will be stored

cd lemonpos/database_resources/
cat lemon_mysql.sql | mysql -u root -p

I haven't confirmed if the next step is needed, but I did it anyways just in case

cat mexico_taxes.sql | mysql -u root -p

You now have a working installation of LemonPOS! The next step is to set everything up. The username and password are set to the default of:

username: "admin"
password: "linux"

You can now go to the desktop, and run squeeze to set up all your items, and prices. After Squeeze is all set up, you can start using LemonPOS.
I decided that I wanted LemonPOS to start every time the desktop is loaded. To do this, you will need to add this line to the end of /etc/xdg/lxsession/LXDE/autostart

@lemon

This will make it so everytime the desktop is started, Lemon will start with it.
Now that everything is installed, you can go read the Users guide on SourceForge.net

Sources:
http://sourceforge.net/apps/mediawiki/lemonpos/index.php?title=Ubuntu_Installation_Guide

What’s The Time App

I thought I would take some time to discuss another App that I have designed, and is currently available on Google Play.  The App is called “What’s The Time”, the time is an homage to the Beastie Boys’ song “Time To Get Ill”, Although my App doesn’t actually sing the song. What it does though, is to automatically read the time out loud based on predefined settings. With “What’s The Time?” you can set your phone or tablet to automatically speak the time. What’s the time will speak the time in a way humans understand, so it’s not confusing.

There are 3 automated settings for this app:

The first setting is “Every Hour”, with this setting the app will speak the time every hour, on the hour.

The second setting is “Every Half Hour”, with this setting the app will speak the time every 30 minutes.

The third setting is “Every Quarter Hour”, with this setting the app will speak the time every 15 minutes.

There is also an added button to say what time it is right now.

The main reason I designed this App was so I had a way to know the time throughout the without having to constantly check my phone.  I find it is very helpful while wasting time in the mornings before work.  I know exactly how much time I have left.  One of the reviews stated they found the App was useful while studying.

If you would like to download it yourself, feel free to visit The Play Store

Bogey’s Club in Clearfield, Utah

One of the funnest projects I’ve had the opportunity to work on was Bogey’s Club located in Clearfield, Utah. I started as just a web page designer for them, and was continuously asked to come back for new projects. Of all the projects we worked on there, the lighting and sound system design was one of the most pronounced changes I helped with. If you would like to view a gallery of the club, and the lighting system I helped design, here is a Photo album of my work.

One of my newest customers Union Station Fermentation

Ok, they’re not extremely new to the DBC-Customs family of customers, but I couldn’t leave them out on my new page. Union Station Fermentation is a home brew store located in Ogden, Utah. I started going there almost a year ago, and they were one of the most helpful stores of any kind, let alone home brewing. They have offered some much helpful advice, and friendliness, that I volunteered my services to them. We started with a WordPress site hosted on my server farm, and have grown to a forum for home brewers, an online retail store, and their original site. They continue to grow as a company, and I am glad to be there with them. If you would like to visit their main site feel free to go to UnionStationFermentation.com

Our Android Apps

lately I have been exploring the wonderful world of Android apps.  I have created a new app for one of our customers “Union Station Fermentation”. It’s a very simple app that allows their customs to keep up to date with everything going on at the store.  If you would like to explore the App, feel free to check it out on the market.
Union Station Fermentation by DBC-Customs

Our new site

I’ve have been so busy making sites for previous customers lately, that I haven’t had time to work on my own.  I guess it’s been good that I’ve been very busy, but I’m glad I finally had some time on my own to get this up an running.  We plan on using this to keep everyone updated with our latest projects.