Build and deploy from trunk

Aus FreiBier
Version vom 26. August 2013, 14:03 Uhr von Tbayen (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

This page is a themtic duplicate with Install from Trunk. I have to join it later.

If you want to build your ADempiere installation from a trunk version this is the right page fo you.

You may download your trunk from one of the Mercurial Repositories (e.g. Install ADempiere 361 in Eclipse) out there or from your own (or [my]) adapted version. The beginning is such a source trunk.


Inhaltsverzeichnis

start compiling

This page was helpful: http://www.adempiere.com/Manual_Installation_From_Trunk. If you want to configure some things like the adempiere Version and Vendor string you may create a "mybuild.properties" file as a copy of "build.properties" and adapt it to your needs. (You do not need to have this file.)

  cd utils_dev
  export JAVA_HOME=/usr/lib/jvm/default-java
  ./RUN_build.sh

help with problems

If you have problems you may have a look at http://www.adempiere.com/Compile but it seems that this page is quite old and these issues are solved already.


deploy

You should copy the directory "adempiere/Adempiere" to your target server. There you should start RUN_setup.sh for the graphical configuration and setup tool (or RUN_silentsetup.sh if you already created a configuration in the file Adempiere.properties and just wants to deploy a new software version).

A common place for installing ADempiere is "/opt/Adempiere/", so you could make a deploy with the following script:

cd ${ADEMPIERE_BASISVERSION}
cd utils_dev
export JAVA_HOME=/usr/lib/jvm/default-java
./RUN_build.sh
cd ..
ssh ${SERVER} "cp /opt/Adempiere/Adempiere.properties /opt/Adempiere.properties.backup"
ssh ${SERVER} "rm -r /opt/Adempiere"
scp -rp adempiere/Adempiere ${SERVER}:/opt/
ssh ${SERVER} "cp /opt/Adempiere.properties.backup /opt/Adempiere/Adempiere.properties"        


what else?

If you actualize your Adempiere version do not forget to run the needed migration scripts.

Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Werkzeuge