Difference between revisions of "Compile"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
(Compilation FAQ)
(Compilation FAQ)
Line 31: Line 31:
  
 
:In addition to the shell scripts (i.e. *.sh files) you may also need to run this utility (dos2unix) against the file Compiere2/jboss/bin/run.conf.
 
:In addition to the shell scripts (i.e. *.sh files) you may also need to run this utility (dos2unix) against the file Compiere2/jboss/bin/run.conf.
 +
*OutOfMemoryError when running the ant build
 +
:Allow the ant Prozess to use more (heap) memory. One way of doing this is by settin the ANT_OPTS environment variable. Example for Windows: <blockquote>set ANT_OPT=-Xmx256M</blockquote>

Revision as of 00:34, 14 November 2006

Building the source

Here you will find instructions for compiling and installing Adempiere from source and suggestions for when compilation doesn't go so smoothly.

Adempiere Stable

Instructions for installing the latest stable Adempiere 3.x release.

Adempiere Trunk

Instructions for installing the latest and greatest Adempiere development source code.

Older Versions

Instructions for installing the latest and greatest Adempiere development source code.

Building two versions

Learn how to build two (or more) copies of Adempiere.

Newbie Guide

Working with Adempiere SVN (on quality.adempiere.org)

Compilation FAQ

Problems (and their solutions) that people often have compiling Adempiere.

  • Remember to add "execute" permission to all the shell scripts before you start!
Run the following command fro the directory above the Compiere2 directory to convert all shell script files.
find Compiere2 -name *.sh -exec chmod +x "{}" \;
Thanks to "DeathMeat" on Freenode #adempiere for that.
  • Errors running standard unix shell scripts
The standard unix shell scripts were created on a dos/windows platform and contain special characters that are incompatible with unix and which can cause strange errors when you run the scripts. The common dos2unix utility will correct this problem. Running the following command from the directory above the Compiere2 install directory should fix this
find Compiere2 -name *.sh -exec dos2unix -d "{}" \;
Thanks again to DeathMeat from freenode #adepiere for that.
In addition to the shell scripts (i.e. *.sh files) you may also need to run this utility (dos2unix) against the file Compiere2/jboss/bin/run.conf.
  • OutOfMemoryError when running the ant build
Allow the ant Prozess to use more (heap) memory. One way of doing this is by settin the ANT_OPTS environment variable. Example for Windows:
set ANT_OPT=-Xmx256M