Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
zk-8.5.0 | 2017-11-10 | ||
zk-8.0.2.2 | 2017-04-22 | ||
zk-8.0.1.1 | 2016-03-23 | ||
create.zk.p2.readme | 2016-03-23 | 1.8 kB | |
Totals: 4 Items | 1.8 kB | 25 |
1. download osgi lib from https://sourceforge.net/projects/zk1/files/ZK/ example:https://sourceforge.net/projects/zk1/files/ZK/zk-8.0.1.1/zk-bin-osgi-8.0.1.1.tar.gz/download 2. download eclipse sdk if you don't have eclipse. http://download.eclipse.org/eclipse/downloads/drops4/R-4.4.2-201502041700/#EclipseSDK 3. set shell varial: ECLIPSE_ROOT=/mnt/data/programe/eclipse-luna ROOT_REPOSITORY=/mnt/data/dev/project/me/repository/stuff/setup.idempiere/localRepository 4. create zk p2 folder ROOT_REPOSITORY/zk-8.0.1.1 ROOT_REPOSITORY/zk-8.0.1.1/plugins 5. extract zk lib to plugins 6. rename zk lib to eclipse p2 standard mv $ROOT_REPOSITORY/zk/plugins/zcommon.osgi.jar $ROOT_REPOSITORY/zk/plugins/zcommon_8.0.1.1.jar mv $ROOT_REPOSITORY/zk/plugins/zel.osgi.jar $ROOT_REPOSITORY/zk/plugins/zel_8.0.1.1.jar mv $ROOT_REPOSITORY/zk/plugins/zhtml.osgi.jar $ROOT_REPOSITORY/zk/plugins/zhtml_8.0.1.1.jar mv $ROOT_REPOSITORY/zk/plugins/zk.osgi.jar $ROOT_REPOSITORY/zk/plugins/zk_8.0.1.1.jar mv $ROOT_REPOSITORY/zk/plugins/zkbind.osgi.jar $ROOT_REPOSITORY/zk/plugins/zkbind_8.0.1.1.jar mv $ROOT_REPOSITORY/zk/plugins/zkplus.osgi.jar $ROOT_REPOSITORY/zk/plugins/zkplus_8.0.1.1.jar mv $ROOT_REPOSITORY/zk/plugins/zul.osgi.jar $ROOT_REPOSITORY/zk/plugins/zul_8.0.1.1.jar mv $ROOT_REPOSITORY/zk/plugins/zweb.osgi.jar $ROOT_REPOSITORY/zk/plugins/zweb_8.0.1.1.jar mv $ROOT_REPOSITORY/zk/plugins/zjavassist.jar $ROOT_REPOSITORY/zk/plugins/zjavassist_8.0.1.1.jar 7. run command to create p2 metadata $ECLIPSE_ROOT/eclipse -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository file:$ROOT_REPOSITORY/zk-8.0.1.1 -artifactRepository file:$ROOT_REPOSITORY/zk-8.0.1.1 -source $ROOT_REPOSITORY/zk-8.0.1.1 -publishArtifact NOTE: edit version to newest