Difference between revisions of "Manual Installation From Trunk"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
(Installation)
m (changed the link to the new freibier domain)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
==Pre-requisites==
 
==Pre-requisites==
  
* JDK1.5.x
+
* JDK1.5.x - '''NOTE JDK 1.6 won't compile current trunk (2008-02-18)''' '''NOTE current trunk actually compiles only with JDK 6 :) (2008-09-17)'''
  
 
* JAVA_HOME variables declared
 
* JAVA_HOME variables declared
Line 15: Line 15:
 
* Create a folder to hold the source code, for e.g, adempiere-source
 
* Create a folder to hold the source code, for e.g, adempiere-source
 
* Check out source from trunk into the folder created in previous step
 
* Check out source from trunk into the folder created in previous step
** svn co https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk
+
** svn co https://adempiere.svn.sourceforge.net/svnroot/adempiere/tags/trunk_last/
 
*** you might need export LC_ALL=en_US.UTF-8 (or any other UTF-8 language) before svn checkout  
 
*** you might need export LC_ALL=en_US.UTF-8 (or any other UTF-8 language) before svn checkout  
 
* cd into the trunk/utils_dev folder created by the checkout command
 
* cd into the trunk/utils_dev folder created by the checkout command
 
* Create mybuild.properties from build.properties
 
* Create mybuild.properties from build.properties
 
* Edit mybuild.properties to suit your environment
 
* Edit mybuild.properties to suit your environment
* At trunk/utils_dev, execute RUN_build.bat for window or RUN_build.sh for linux
+
* At trunk/utils_dev, execute RUN_build.bat for Windows or RUN_build.sh for Linux
 
* cd to the local deployment folder created by the build process ( the env.ADEMPIERE_HOME entry in mybuild.properties )
 
* cd to the local deployment folder created by the build process ( the env.ADEMPIERE_HOME entry in mybuild.properties )
 
* Execute the setup script RUN_setup.bat for window or RUN_setup.sh for linux
 
* Execute the setup script RUN_setup.bat for window or RUN_setup.sh for linux
Line 33: Line 33:
 
===Oracle===
 
===Oracle===
 
* The setup script have been changed to use the EZCONNECT naming method instead of TNSNAMES. Open your Oracle Net Manager, under profile -> Naming, make sure EZCONNECT is one of the selected methods.  Alternatively, verify that the SQLNET.ORA file have the following entries: NAMES.DIRECTORY_PATH = (EZCONNECT,TNSNAMES)
 
* The setup script have been changed to use the EZCONNECT naming method instead of TNSNAMES. Open your Oracle Net Manager, under profile -> Naming, make sure EZCONNECT is one of the selected methods.  Alternatively, verify that the SQLNET.ORA file have the following entries: NAMES.DIRECTORY_PATH = (EZCONNECT,TNSNAMES)
 +
 +
=== migration scripts ===
 +
 +
If you install from trunk it may be that not all migration scripts are applied to your database. Be cautious! (there is a section about this problem in [[https://sourceforge.net/apps/mediawiki/freibier/index.php?title=Install_from_Trunk Install from Trunk]])
 +
 +
== Links ==
 +
 +
There is another article at [[http://www.frei-bier.org/wiki/Install_from_Trunk Install from Trunk]] in the FreiBier Wiki. ([[User:Tbayen]])

Latest revision as of 11:58, 10 May 2012

Pre-requisites

  • JDK1.5.x - NOTE JDK 1.6 won't compile current trunk (2008-02-18) NOTE current trunk actually compiles only with JDK 6 :) (2008-09-17)
  • JAVA_HOME variables declared
  • One of the supported database
    • Oracle 10g
    • Oracle XE
    • Postgresql 8.1 and above
  • SVN client

Installation

  • Create a folder to hold the source code, for e.g, adempiere-source
  • Check out source from trunk into the folder created in previous step
  • cd into the trunk/utils_dev folder created by the checkout command
  • Create mybuild.properties from build.properties
  • Edit mybuild.properties to suit your environment
  • At trunk/utils_dev, execute RUN_build.bat for Windows or RUN_build.sh for Linux
  • cd to the local deployment folder created by the build process ( the env.ADEMPIERE_HOME entry in mybuild.properties )
  • Execute the setup script RUN_setup.bat for window or RUN_setup.sh for linux
    • You might need to execute chmod +x RUN_setup.sh for linux

Notes

Oracle

  • The setup script have been changed to use the EZCONNECT naming method instead of TNSNAMES. Open your Oracle Net Manager, under profile -> Naming, make sure EZCONNECT is one of the selected methods. Alternatively, verify that the SQLNET.ORA file have the following entries: NAMES.DIRECTORY_PATH = (EZCONNECT,TNSNAMES)

migration scripts

If you install from trunk it may be that not all migration scripts are applied to your database. Be cautious! (there is a section about this problem in [Install from Trunk])

Links

There is another article at [Install from Trunk] in the FreiBier Wiki. (User:Tbayen)