The Axon.ivy Designer contains many features, that our dev team does not need. On the other hand my favorite third parties of the Eclipse Marketplace are not included. So the installation of a new Designer takes some time and must repeatedly be applied for all our developers. The wiki that describes our preferred installation is growing and growing... :-(

Isn't there a way to get my custom Designer with just what I need and share it with my team?

asked 27.03 at 07:57

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.1k567688
accept rate: 75%


Since Axon.ivy 7.1.0 we made some core features and SCM third parties uninstallable. All root entries, except the 'Axon.ivy Product' can be removed either manually via the Uninstall button or automated with the P2 Director application. alt text

You can customize your eclipse installation for your needs by using the p2 director application. https://help.eclipse.org/oxygen/topic/org.eclipse.platform.doc.isv/guide/p2_director.html

For me it makes totally sense to handcraft a Designer for your team. If a script does it and provides the resulting designer zip to a shared location. You can avoid documentation that describes the best setup of a designer.

Here is my script that removes all yet optional features of a Designer, but add the Market Place + Path Tools. The script is designed to run on a debian linux. But you can easily adapt the solution to run on windows...

#!/bin/bash

# download and unpack nightly designer:
UNPACKED=/tmp/designerToModify
MODZIP=/tmp/myCustomDesigner.zip
rm -rf $UNPACKED
URL=https://developer.axonivy.com/download/sprint-release/AxonIvyDesigner-latest_Windows_x64.zip
NEWZIP=`/usr/bin/wget $URL -P /tmp | grep 'saving to:.*'`
/usr/bin/unzip -q $NEWZIP -d $UNPACKED

# modify installation
## removes optional core parts:
## - rule.engine
## - webeditor
## removes optional team providers:
## - EGIT (GIT)
## - Subversion (SVN)
## installs additional bundles:
## - the Eclipse marketplace
## - PathTools
./Axon.ivy\ Designer \
-nosplash \
-application org.eclipse.equinox.p2.director \
-repository \
http://download.eclipse.org/releases/luna/,\
http://cdn.rawgit.com/sandipchitale/pathtools/1.0.64/PathToolsUpdateSite/site.xml \
-installIUs \
org.eclipse.epp.mpc.feature.group,\
PathToolsFeature.feature.group \
-uninstallIU \
ch.ivyteam.ivy.designer.rule.engine.feature.feature.group,\
ch.ivyteam.ivy.designer.webeditor.feature.feature.group,\
org.eclipse.egit.feature.group,\
org.tigris.subversion.clientadapter.javahl.feature.feature.group,org.tigris.subversion.clientadapter.svnkit.feature.feature.group,org.tigris.subversion.subclipse.feature.group \
-purgeHistory \
-destination $UNPACKED \
-vmargs -Declipse.p2.mirrors=false -Djava.net.preferIPv4Stack=true

# zip to share with my team:
cd $UNPACKED
rm -rf $UNPACKED/p2/org.eclipse.equinox.p2.repository/cache
/usr/bin/zip -0 -r -q $MODZIP $UNPACKED

The result is a lightweight Designer with just what i want. In my case - the Eclipse Marketplace: alt text

link

answered 27.03 at 07:58

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
6.9k11239
accept rate: 70%

edited 28.03 at 02:49

Thanks for your useful information, can I archive this ability with Ivy 6, especially Ivy Designer 6.3? The linux version of Ivy

Designer got trouble with Html Dialog Web Editor and I really want to remove it.

Thanks for your help.

(28.03 at 13:03) xuanvinh xuanvinh's gravatar image

For the versions older than 7.1.0 it is possible to add additional features to the product. But core features are not uninstallable in older versions. This is a new optimization that has just started. Even tough you might be able to hack the 'Html Dialog Web Editor' out of the product. It will lead to runtime problems as soon as you either: create a new html dialog, open a html dialog editor view by double clicking on the project tree, open a html dialog view by pressing 'E' while hovering a User Dialog activity.

(29.03 at 02:43) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image

But there is a little hope if you finally switch to 7.0.0 LTS. We made it possible to skip the usage of the web editor even tough it is installed. See XIVY-2444 Axon.ivy Designer with optional features

(29.03 at 02:44) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×61
×1

Asked: 27.03 at 07:57

Seen: 168 times

Last updated: 29.03 at 02:44