Ofbiz
cd /srv/Ofbiz/IG
./gradlew "ofbiz -shutdown"
./gradlew ofbiz
Gradle caches
Gradle caches artifacts in USER_HOME/.gradle folder.
The compiled scripts are usually in the .gradle folder in your project folder.
USER_HOME/.gradle folder do Ofbiz 16.11.05
gradle 2.13
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-rc-5-bin.zip
From 14 to 18 migrating
Copy derby to new version
./gradlew "ofbiz --load-data readers=seed"
Images
old
IG/framework/images/webapp/images/products/
new
IG_NEW/themes/common-theme/webapp/images/products/
/srv/2T/OfBiz_test/18/IG/applications/product/data/CatalogSystemPropertyData.xml
/srv/2T/OfBiz_test/18/IG/applications/product/config/catalog.properties
How to set JAVA_HOME in Linux for all users
sudo su
zFileProfile="/etc/profile"
zJavaHomePath=$(readlink -ze $(which java) | xargs -0 dirname | xargs -0 dirname)
echo $zJavaHomePath
echo "export JAVA_HOME=\"${zJavaHomePath}\"" >> $zFileProfile
echo "export PATH=\$PATH:\$JAVA_HOME/bin" >> $zFileProfile
tail -2 $zFileProfile