Part I : Creating ADempiere project in Netbeans

Recently, somebody posted a question on one of the Adempiere forums on sourceforge.net -

I'd like to know how can I start seeing some code from
adempiere 3.50 repositories using NetBeans 6.0

 In this two part blog, I am going to answer this question and show how pleasing an experience it can be to create and run Adempiere in Netbeans.

Prerequisites

You need to have the following on your system, no matter what OS you are running.>

  1. JDK 5: At the time of this writing, Adempiere needs JDK 5 to run. A higher version would not do. Get the JDK from http://java.sun.com/javase/downloads/index_jdk5.jsp
  2. Get Netbeans from http://www.netbeans.org/downloads/
  3. Get Subversion from http://subversion.tigris.org/project_packages.html
    You can also browse more on the respective sites for a more detailed installation instructions.

You now need to need to

  1. Set java version 1.5 in your PATH
  2. Set JAVA_HOME to the JDK 1.5 directory
  3. Set svn in your PATH.

The show begins

Start Netbeans on your system. Go to Versioning -> Subversion -> Checkout as shown in the image below

Checking out Adempiere

Remember, if you forget to install svn, you would get a message similar to one shown below and you would have to restart the IDE

Fill in the following url as Subversion repository - : https://adempiere.svn.sourceforge.net/svnroot/adempiere

SVN Repository

  Username and password can be left blank.

Now put trunk as the repository folder as shown in the image below, alternatively simply type in trunk


Now put in an appropriate local folder name and select the checkbox "Scan for Netbeans Projects after Checkout". Trunk does have a nbproject folder and is already a Netbeans project.

 

That's all for checking out Adempiere. Sit back for a while and relax!!!

Once the checkout is complete, open the project in Netbeans by saying yes in the dialog box similar to the one shown below.


 

Next: Part II Running Adempiere in Netbeans


Comments:

Hello Praneet

A very good Tutorial you got here.

Hope to see more posts from you in the forum especially about porting Adempiere to Glassfish Application Server.

Regards

Moses W

Posted by 212.165.130.14 on April 29, 2008 at 03:59 PM TPT #

Thank you.
You help me alots

Posted by syzuhdi on July 23, 2008 at 04:57 PM TPT #

Hi Praneet,

Nice tutorial and really appreciate it.
Btw, based on your experience, which one is better either eclipse or netbeans?

Correct me if i'm wrong,for me, i choose netbeans for the lightweight rather than eclipse.

Posted by Deeja on September 13, 2008 at 01:16 AM TPT #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by praneet