Article

geoffc's picture
article
Reads:

4028

Score:
3
3
2
 
Comments:

0

Moving the IDM Designer Location in Linux

Author Info

14 November 2007 - 5:40am
Submitted by: geoffc

Problem

If you have installed Designer for Identity Manager on Linux, and want to move its location, or rename it, it is not as simple as just moving or renaming the directory.

Solution

The start script (StartDesigner.sh) and the configuration of the JRE file (Designer.ini) need to be edited to reference the new path.

The desktop icon (<your home dir>/Desktop/Designer.desktop) contains a path reference to where the StartDesigner.sh script should be. That will need to be edited.

StartDesigner.sh is in /designer/eclipse and references the location of the directory several times:

#!/bin/sh
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/data/programs/designer3M2unstable/designer/eclipse/plugins/com.novell.designer.core.iconeditor_2.0.0.200706201206/os/linux:/home/data/programs/designer3M2unstable/designer/eclipse/plugins/com.novell.designer.idm.config_2.0.0.200706201206/os/linux:/home/data/programs/designer3M2unstable/designer/eclipse/plugins/com.novell.designer.idm.config_2.0.0.200706201206/os/linux/gcc3
export LD_LIBRARY_PATH
MAGICK_CONFIGURE_PATH=/home/data/programs/designer3M2unstable/designer/eclipse/plugins/com.novell.designer.core.iconeditor_2.0.0.200706201206/os/linux/ImageMagick-6.2.6/config
export MAGICK_CONFIGURE_PATH
/home/data/programs/designer3M2unstable/designer/eclipse/Designer

As you can see, three variables get set and reference the complete path to the Designer install. Designer.ini is in the same location, and as you can see, it sets a variable -vm that tells Designer which JRE to use. (Because Designer is Java-based, this is critical, as you might imagine).

-vm
/home/data/programs/designer3M2unstable/designer/eclipse/jre/bin/java
-vmargs
-Xms256m
-Xmx1024m
-XX:MaxPermSize=128m

As Designer matures, I find myself using 2.1.1, 3.0 M1, 3.0M2, and some nightly builds. Having them in seperate directories is very helpful when I encounter a bug.




User Comments

© 2013 Novell