Skip to content

Ofbiz

Date:
wt., sty 14, 2025

cd /srv/Ofbiz/IG

./gradlew "ofbiz -shutdown"

./gradlew ofbiz

GitHub Apache OFBiz

New text

Revisions Requiring Data Migration - upgrade ofbiz

New text

OFBiz Source Repository

New text

Solving the inconsistent dependency location in Gradle

New text

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

Kill all Gradle Daemons Regardless Version?

pkill -f '.*GradleDaemon.*'

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