Novell Home

Moving the IDM Designer Location in Linux

Novell Cool Solutions: Tip
By Geoffrey Carman

Digg This - Slashdot This

Posted: 14 Nov 2007
 

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.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell