core-jgi/org.idempiere.p2.targetplat...
hengsin b8947f1f06 IDEMPIERE-6043 Upgrade Jasper Report to version 6.21.0 (#2245) 2024-03-04 21:24:04 +01:00
..
.settings IDEMPIERE-4488 Remove .classpath from repository (#607) 2021-03-03 00:02:03 +01:00
.project IDEMPIERE-5448 2023 June Platform Update (#1531) 2023-06-21 13:44:18 +02:00
README.md IDEMPIERE-6043 Upgrade Jasper Report to version 6.21.0 (#2245) 2024-03-04 21:24:04 +01:00
maven.locations.xml IDEMPIERE-6043 Upgrade Jasper Report to version 6.21.0 (#2245) 2024-03-04 21:24:04 +01:00
org.idempiere.p2.repository.target IDEMPIERE-5980:spring-jcl make conflict between an export and import (slow down start idempiere on some condition) (#2175) 2024-01-06 12:06:44 +01:00
org.idempiere.p2.targetplatform.target IDEMPIERE-6043 Upgrade Jasper Report to version 6.21.0 (#2245) 2024-03-04 21:24:04 +01:00
org.idempiere.p2.targetplatform.tpd IDEMPIERE-6043 Upgrade Jasper Report to version 6.21.0 (#2245) 2024-03-04 21:24:04 +01:00
pom.xml IDEMPIERE-4933 Platform update for 9.x (#857) 2021-09-04 16:12:10 +02:00

README.md

#How to Update Target Plaform

  • Install Target Platform DSL Editor from https://github.com/eclipse-cbi/targetplatform-dsl
  • Update maven.locations.xml (if needed)
  • Update org.idempiere.p2.targetplatform.tpd. Target name is of format idempiere-{version} (for e.g idempiere-12)
  • Turn off Project > Build Automatically
  • Right click on org.idempiere.p2.targetplatform.tpd and select "Create Target Definition File"
  • Open the updated org.idempiere.p2.targetplatform.target, switch to Source tab and copy location entries from maven.locations.xml
  • Use current date (with format yyyymmdd) as sequenceNumber of org.idempiere.p2.targetplatform.target (for e.g 20240215)
  • Switch back to Definition tab and wait for resolution of the target plaform. Check target platform state to verify there's no unresolve plugins except the platform launcher fragment (select "Show only unresolved plug-ins"). If resolution of target platform is very slow, you can try "rm .metadata/.plugins/org.eclipse.pde.core/.p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs" (run at the root of your workspace folder) to speed it up.
  • If there are update to embedded jars or there are new embedded jars to download, quit Eclipse, remove the embedded jars and execute "mvn clean validate"
  • Reload target platform
  • Turn on Project > Build Automatically
  • If there are features that give missing plugin warnings, try "Clean all projects" and rebuild the whole workspace
  • If necessary, update server.product (in org.idempiere.p2 and org.adempiere.server.feature), org.idempiere.eclipse.platform.feature/feature.xml and org.adempiere.server.feature/feature.xml
  • If necessary, update org.idempiere.server.feature/setup/configuration/config.ini and org.idempiere.equinox.p2.feature/director/configuration/config.ini
  • Validate all Eclipse application launch configuration is working.
  • Validate unit test launch configuration is working.
  • Validate application created by mvn verify is working as expected.
  • Update org.idempiere.p2.repository.target - open in target editor, switch to Content tab and update the list of selected bundle.
  • Update org.idempiere.p2.targetplatform.mirror.feature/feature.xml (Follow instructions in org.idempiere.p2.targetplatform.mirror.feature).
  • Update name and "idempiere.target.platform" setup task in utils_dev/oomph/idempiere.setup