core-jgi/org.idempiere.p2.targetplat...
hengsin 9c7713fa8d
IDEMPIERE-5448 2023 June Platform Update (#1531)
* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- upgrade to tycho 3.1.0-SNAPSHOT
- set maven compiler source and target level to 11
- upgrade to junit 5.9.1

* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- Change tycho version to 3.0.3

* IDEMPIERE-5448 2023 June Platform Update

* IDEMPIERE-5448 2023 June Platform Update

- Explicitly set target, source and release level to JavaSE 11

* IDEMPIERE-5448 2023 June Platform Update

- Use 3.0.5-SNAPSHOT to fix stack overflow error.

* IDEMPIERE-5448 2023 June Platform Update

- Change source, target and release level to JDK 17
- Update target platform name to idempiere-230620

* IDEMPIERE-5448 2023 June Platform Update

- Fix LogFactory ClassNotFound exception with Eclipse 2023-06
2023-06-21 13:44:18 +02: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-5448 2023 June Platform Update (#1531) 2023-06-21 13:44:18 +02:00
maven.locations.xml IDEMPIERE-5448 2023 June Platform Update (#1531) 2023-06-21 13:44:18 +02:00
org.idempiere.p2.repository.target IDEMPIERE-5448 2023 June Platform Update (#1531) 2023-06-21 13:44:18 +02:00
org.idempiere.p2.targetplatform.target IDEMPIERE-5448 2023 June Platform Update (#1531) 2023-06-21 13:44:18 +02:00
org.idempiere.p2.targetplatform.tpd IDEMPIERE-5448 2023 June Platform Update (#1531) 2023-06-21 13:44:18 +02: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. Note that even if there's only update to maven.locations.xml, you should at minimum update the target timestamp (format is idempiere-yymmdd) value.
  • 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
  • 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, quit Eclipse, remove the embedded jars and execute "mvn clean verify -U"
  • 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