Core format migration (JAR- Sources)
Core format migration
Warning
In JAR format, patchs can not be applied because the Core is resolved dinamically as a dependency.
-
To migrate from an environment with sources, you need to add to the build.gradle, the Etendo core dependency
implementation('com.etendoerp.platform:etendo-core:<version>')
-
You need to remove all the folders and files leaving the ones belonging to attachments,gradle, modules and config directories:
- gradle/
- attachments/
- config/
- modules/
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- settings.gradle
-
To update the environment you have to execute the task
and run
-
To migrate from an environment with JARs to sources, you have to remove the Etendo core dependency from your build.gradle and run
-
To work with sources, you need to specify the version to use in the Etendo plugin extension block inside the build.gradle
By default, Etendo tries to resolve the artifact
com.etendoerp.platform:etendo-core
Info
Notice the
supportJars
flag. This is used to indicate if the current core version support JARs or not. By default is set totrue
. -
Finally, to download the sources you need to run the expand core task.
-
Recompile
-
Update the database