Thursday, February 19, 2009

Getting Started with GWT ADempiere Client

Introduction

This post explains how to install step-by-step GWT ADempiere client on debugging mode by using Eclipse IDE as development environment, and all requirements that are needed to run this project accurately.

Requirements

  1. ADempiere database server
  2. Java 5
  3. Eclipse for Java EE Developers
  4. GWT 1.5.3
  5. Cypal Studio
  6. Subclipse for SVN

Make sure that ADEMPIERE_HOME and JAVA_HOME environment variable had been set properly. Also make sure that ADempiere application is working on the computer where GWT ADempiere client will be running.

Installation process

Once ADempiere database server, Java 5 and Eclipse IDE had been installed properly, next steps are to install GWT, Cypal Studio plug-in, and Subclipse plug-in in Eclipse IDE in order to download the GWT ADempiere client source code from the SVN server and start debugging the code.

Downloading and installing GWT

In this step, GWT will be downloaded and installed into the platform where the user would like to debug the project project. User will download GWT based on the platform, for example, Mac OS, Windows, or Linux. The most important on this step is to set the GWT_HOME environment variable, which should contain the path where GWT is installed.

Downloading and installing Cypal Studio plug-in

Once GWT had been installed, next step is to download and install Cypal Studio plug-in. The instructions that are used to install Cypal Studio plug-in are published on Cypal Studio site http://www.cypal.in/studiodocs. Go to Cypal Studio website for more information.

Downloading and installing Subclipse plug-in

In this step, Subclipse plug-in will be installed in Eclipse IDE. To install this plug-in, follow the instructions that are published on Subclipse website http://subclipse.tigris.org/install.html. The instructions are very useful and easy to follow.

Making check-out of GWT ADempiere project

The final step is to download GWT ADempiere source code. Once Subclipse had been downloaded and installed into Eclipse IDE, check out GWT ADempiere source code from the SVN server by following these steps:

  1. Go to SVN repositories tab in order to add ADempiere SVN server.
  2. Right click on SVN repositories and click on New → Repository Location.
  3. Add the repository URL host, which is https://adempiere.svn.sourceforge.net/svnroot/adempiere
  4. Once repository URL host had been added, expand ADempiere repository→contributions→e-Evolution.
  5. Right click on ADempiereGWT folder and click on Checkout as it is illustrated in the following image.

Running and debugging the GWT ADempiere Client

To start running the GWT ADempiere project, select Run→Run Configurations in order to open the launch configuration dialog box. Double click on “GWT Hosted Mode Application”. In the main page, select ADempiereGWT as project and org.eevolution.ui.gwt.AdempiereGXT as module. In the parameters page, the parameters can be set such as port and log level for the hosted mode GWTShell to use. The Cypal Studio plug-in page gives more information about Run/Debug GWT application. Finally, click Run to execute the GwtShell and bring up the GWT ADempiere application.

Wednesday, January 7, 2009

Living in Atlanta

Since August 2008 I've living in Atlanta. I came here because I wanted to improve my English skills. Improving my English has been one of my major goal in my life. I started to study at the Georgia Tech Language Institute in 4 level. Now I'm studying my 6 level, and I'm very glad because I've improved a lot. Now I look forward to study for the TOEFL and GRE tests. I wanna get a master degree in any University in USA when I have opportunity. As most of you know, I'm Computer Science Engineer and I'd like to get a master degree in Software Engineering. That would be better if I get a job here in USA.

Friday, August 8, 2008

Member of ADempiere ERP Business Suite

This post is to let you know that I have a member of the ADempiere ERP Business Suite. You can check by clicking on here

Wednesday, June 4, 2008

GWT 1.5 RC1 Released

First Release Candidate build of GWT 1.5 is already available for download. You can grab it from Google Web Toolkit Downloads

For those who haven’t been keeping up with this release, you can read about the details here:
What’s New In GWT 1.5

Saturday, May 31, 2008

About licensing issues related to GWT Libraries

A couple of weeks ago, I've been looking for GWT Libraries in order to develop GWT Applications quickly. I found some GWT Libraries such as GWT Ext, GWT incubator, and Ext GWT (Also knowing as GXT). With respect to GWT Ext, this library has a lot of widgets that we need to develop the Application. However, people have written on several posts that it's inefficient due to third party Java Script library it uses.

About GXT, I though I couldn't use this library because it has dual licensing. I had to write an e-mail to GXT Team in order to know if I could use GXT with System that has GPLv2 License. Fortunately, the answer was the following.

Juan,

If you add "or any later version" to the GPL v2, you will remove any technical issue you might have. We don't have an issue with GPLv2. We don't see a conflict.

The Ext Team

I'm really happy with this answer because currently, GXT is one of the best library that I found.

Wednesday, May 7, 2008

Problems installing PL/Java on Mac OS 10.4.11

A couple of days ago, I tried to install PL/Java with PostgreSQL on my new Laptop. I have to tell you it has been challenging since PL/Java packages have been compiled for Windows and Linux distributions. I downloaded all available packages and none of them worked on my Mac. Several errors were launched, one of them was that pljava library couldn't be loaded because the first eight bytes are unknown. Finally, I downloaded the Source Code and I decided to compile. I put all the compiled files on their proper paths and then PL/Java could be installed on the database schema.

Launching Macbook Pro

A couple of weeks ago, I got a new Macbook Pro Laptop. I wanted to share this notice with you because I'm very glad with my new attainment. For me, the features of this Laptop are unbelievable. It has 4 Gb of RAM, 2.4GHz Intel Core 2 Duo processor with 3MB on-chip shared L2 cache running 1:1 with processor speed, 15.4-inch (diagonal) antiglare widescreen TFT LED backlit display with support for millions of colors; optional glossy widescreen display and 160 Gb of HD. I think it's one of the best laptop that you can find in the market.