http://wiki.frei-bier.org/w/index.php?title=Build_and_deploy_from_trunk&feed=atom&action=historyBuild and deploy from trunk - Versionsgeschichte2024-03-29T12:15:42ZVersionsgeschichte dieser Seite in FreiBierMediaWiki 1.19.1http://wiki.frei-bier.org/w/index.php?title=Build_and_deploy_from_trunk&diff=72&oldid=prevTbayen: Die Seite wurde neu angelegt: „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 t…“2013-08-26T13:03:59Z<p>Die Seite wurde neu angelegt: „This page is a themtic duplicate with <a href="/wiki/Install_from_Trunk" title="Install from Trunk">Install from Trunk</a>. I have to join it later. If you want to build your ADempiere installation from a trunk version t…“</p>
<p><b>Neue Seite</b></p><div>This page is a themtic duplicate with [[Install from Trunk]]. I have to join it later.<br />
<br />
If you want to build your ADempiere installation from a trunk version this is the right page fo you.<br />
<br />
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 [[https://bitbucket.org/tbayen/adempiere361-tb my]]) adapted version. The beginning is such a source trunk.<br />
<br />
<br />
<br />
== start compiling ==<br />
<br />
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.)<br />
<br />
<pre><br />
cd utils_dev<br />
export JAVA_HOME=/usr/lib/jvm/default-java<br />
./RUN_build.sh<br />
</pre><br />
<br />
=== help with problems ===<br />
<br />
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.<br />
<br />
<br />
<br />
== deploy ==<br />
<br />
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).<br />
<br />
A common place for installing ADempiere is "/opt/Adempiere/", so you could make a deploy with the following script:<br />
<br />
<pre><br />
cd ${ADEMPIERE_BASISVERSION}<br />
cd utils_dev<br />
export JAVA_HOME=/usr/lib/jvm/default-java<br />
./RUN_build.sh<br />
cd ..<br />
ssh ${SERVER} "cp /opt/Adempiere/Adempiere.properties /opt/Adempiere.properties.backup"<br />
ssh ${SERVER} "rm -r /opt/Adempiere"<br />
scp -rp adempiere/Adempiere ${SERVER}:/opt/<br />
ssh ${SERVER} "cp /opt/Adempiere.properties.backup /opt/Adempiere/Adempiere.properties" <br />
</pre><br />
<br />
<br />
<br />
== what else? ==<br />
<br />
If you actualize your Adempiere version do not forget to run the needed migration scripts.</div>Tbayen