IDEMPIERE-3531: note

This commit is contained in:
hieplq 2018-09-12 00:55:12 +07:00
parent 0a5d5a78ac
commit 2adb208a0c
2 changed files with 30 additions and 4 deletions

26
note.for.update.readme Normal file
View File

@ -0,0 +1,26 @@
1. cache repository:
- org.idempiere.p2.targetplatform.target
when update url of repository on target file, should change name of target also. format suggest idempiere-yymmdd
- repository on POM file (org.idempiere.parent/pom.xml)
each repository link should have unique id
<repository>
<id>${idempiere-equinox-repository-id}</id>
<url>${idempiere-equinox-url}</url>
<layout>p2</layout>
</repository>
when change value of url change value of id also
2. feature
when feature list on org.idempiere.p2/category.xml change (version, delete, add,...) do update this file before build
3. build
maven to p2 ([idempiere-root]/org.idempiere.maven.to.p2) build with profile buildP2FromMaven
mvn verify -P buildP2FromMaven
4. equinox repository link
on org.idempiere.parent/pom.xml have two link idempiere-equinox-url, idempiere-orbit-url
it for run tycho-eclipserun-plugin and target for run standalone bom like org.idempiere.maven.to.p2
it's don't need up to date and don't need same to link on org.idempiere.p2.targetplatform.target
but better make it same

View File

@ -25,10 +25,10 @@
<!-- default value of properties, use when run without profile --> <!-- default value of properties, use when run without profile -->
<idempiere.target>org.idempiere.p2.targetplatform</idempiere.target> <idempiere.target>org.idempiere.p2.targetplatform</idempiere.target>
<idempiere-equinox-url>http://download.eclipse.org/eclipse/updates/4.7</idempiere-equinox-url> <idempiere-equinox-url>http://download.eclipse.org/eclipse/updates/4.8</idempiere-equinox-url>
<idempiere-equinox-repository-id>eclipse-oxygen</idempiere-equinox-repository-id> <idempiere-equinox-repository-id>eclipse-photon</idempiere-equinox-repository-id>
<idempiere-orbit-url>http://download.eclipse.org/tools/orbit/downloads/drops/R20180330011457/repository</idempiere-orbit-url> <idempiere-orbit-url>http://download.eclipse.org/tools/orbit/downloads/drops/R20180606145124/repository</idempiere-orbit-url>
<idempiere-orbit-repository-id>orbit-oxygen3a-R20180330011457</idempiere-orbit-repository-id> <idempiere-orbit-repository-id>orbit-photon-R20180606145124</idempiere-orbit-repository-id>
<url.file.srv>http://downloads.sourceforge.net/project/idempiere/binary.file</url.file.srv> <url.file.srv>http://downloads.sourceforge.net/project/idempiere/binary.file</url.file.srv>
<extra.ui.install>org.eclipse.equinox.p2.director, org.idempiere.equinox.p2.director.feature.feature.group, org.idempiere.fitnesse.feature.feature.group</extra.ui.install> <extra.ui.install>org.eclipse.equinox.p2.director, org.idempiere.equinox.p2.director.feature.feature.group, org.idempiere.fitnesse.feature.feature.group</extra.ui.install>
<idempiere.product.id>org.adempiere.server.product</idempiere.product.id> <idempiere.product.id>org.adempiere.server.product</idempiere.product.id>