How to setup POS ACTIVEMQ
Let's get started
POS_Activemq is the fork of Openbravo pos. The pos synchronization and order synchronization button have been implemented using activemq to host the queues asynchronously. To have detailed information on this follow the link below. http://red1empire.blogspot.com/2011/09/openbravo-pos-activemq-integration-to.html
The Basics
Here we are dealing with Pos source code. You can download it from http://sourceforge.net/code-snapshots/svn/a/ad/adempiere/svn/adempiere-svn-16382-branches-POS_ActiveMQ.zip. To run our Pos source code you need an IDE . An integrated development environment (IDE) or interactive development environment is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. You definetly want that unless if you, sir, are a bad ass masochist. I'm Working with Eclipse ubuntu 12.04 (32bit) but I guess it should work with all IDEs. Below are the steps I followed.
- Run eclipse
- Import existing project into workspace
Nothing to worry about
- Project won't run because of missing lbraries: iText-2.1.0, jasperreports-3.1.4, jfreechart1.00.jar, ...
- It's nothing, just
Go to the project properties (right click on the project icon).
There choose Java build path > libraries > select missing > press Edit and find its position on your hard drive. It's in the packet you imported.
- Then you might face a little compilance problem.
Syntax error, varargs are only available if source level is 1.5 or greater. Again that ain't an issue.
Go to your project's Properties On the Properties dialog choose the Java Compiler node in the left tree. Finally set the Compiler compliance level to 1.5 or higher. Rebuild the project.
- One final small thing remains. It's just about you implementing unused methods. Eclipse will help you do that when you hover over the underlined error. You could also copy the code below and paste it in the DriverWrapper.java class.
@Override public java.util.logging.Logger getParentLogger() throws SQLFeatureNotSupportedException { throw new UnsupportedOperationException("Not supported yet."); } }getParentLogger() throws SQLFeatureNotSupportedException { throw new UnsupportedOperationException("Not supported yet."); }
That's all folks. You can now start your Pos. It will install with a Derby database though. Next issue How to setup postgres database for POS ACTIVEMQ.