Difference between revisions of "Create your ADempiere development environment"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
(Download ADempiere sources)
m (Download ADempiere sources)
Line 29: Line 29:
  
 
==Download ADempiere sources==
 
==Download ADempiere sources==
 +
 +
I With Subclipse (for Linux and Windows)
  
 
First, you have to work in the "SVN Repository Exploring" perspective:  
 
First, you have to work in the "SVN Repository Exploring" perspective:  
Line 40: Line 42:
 
* Type in the location URL: https://adempiere.svn.sourceforge.net/svnroot/adempiere
 
* Type in the location URL: https://adempiere.svn.sourceforge.net/svnroot/adempiere
  
The Adempiere SVN Repository treewill be created.
+
The Adempiere SVN Repository tree will be created.
 
Open the Repository tree and check out all projects AS projects. (do not check all out as one big project)
 
Open the Repository tree and check out all projects AS projects. (do not check all out as one big project)
 
Do not check out all projects at once, this will fail,
 
Do not check out all projects at once, this will fail,
 
instead choose half of the projects at a time.
 
instead choose half of the projects at a time.
 +
 +
 +
 +
II With Tortoise SVN (only for Windows)
 +
* Download and Install Tortoise (http://tortoisesvn.net/downloads). Tortoise is integrated with Windows explorer.
 +
* Create a directory e.g. C:\srcAdempiere\trunk
 +
* Open windows explorer and navigate to e.g. C:\srcAdempiere\trunk
 +
* Right click on trunk and choose "SVN checkout"
 +
* Fill URL of repository with: https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk
 +
* Click OK. It starts checking out the trunk immediately. If the connection broke in the middle of checkout, you just right-click on trunk and select "SVN update" option. This applies for normal updates.
  
 
==Compile ADempiere sources==
 
==Compile ADempiere sources==

Revision as of 11:36, 24 March 2007

Preparing your Environment

Download and install

Subclipse enables you to access the Adempiere subversion repository (SVN) through eclipse.

Subclipse installation

1.- Automatic subclipse installation

In Eclipse Menu->Help/Software Updates/Find&Install. Select Subclipse

2.- Manual installation

If automatic subclipse installation fails: Download Subclipse installation file (e.g. site-1.2.0.zip). In Eclipse Menu->Help/Software Updates/Find&Install. Search for "New features to install", "New archived site". Select downloaded file (e.g. site-1.2.0.zip). In the following dialog deactivate "Subclipse mylar integration".

Verification of correct Subclipse installation: Eclipse Menue ->Help/Software Updates/Manage Configuration. If you expand eclipse expandiert, youl will see for example Subclipse 1.2.0.

These tools install differently depending on your Operating System. When provided information on these websites does not suffice, try to find help on the forums of your Operating System or unofficial forums about these tools.

Download ADempiere sources

I With Subclipse (for Linux and Windows)

First, you have to work in the "SVN Repository Exploring" perspective:

  • Open Eclipse
  • Eclipse menu->Window->Open Perspective->Other
  • Then select SVN Repository Exploring


Create a new Repository Location within the "SVN Repository Exploring" :

The Adempiere SVN Repository tree will be created. Open the Repository tree and check out all projects AS projects. (do not check all out as one big project) Do not check out all projects at once, this will fail, instead choose half of the projects at a time.


II With Tortoise SVN (only for Windows)

  • Download and Install Tortoise (http://tortoisesvn.net/downloads). Tortoise is integrated with Windows explorer.
  • Create a directory e.g. C:\srcAdempiere\trunk
  • Open windows explorer and navigate to e.g. C:\srcAdempiere\trunk
  • Right click on trunk and choose "SVN checkout"
  • Fill URL of repository with: https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk
  • Click OK. It starts checking out the trunk immediately. If the connection broke in the middle of checkout, you just right-click on trunk and select "SVN update" option. This applies for normal updates.

Compile ADempiere sources

Although sources don't compile right away, nothing is really wrong with it. All you need to do is checking the Java Build Path and libraries of each project that doesn't compile. It happens these paths need an update before eclipse manages to compile it all.

To make things easier, follow this list in same order. This way you respect the project dependencies.

  • Tools
  • Looks
  • dbPort
  • Print
  • Base
  • serverRoot
  • Interfaces
  • Extend
  • Client
  • serverApps
  • Install
  • sqlj
  • webstore
  • doc

See also