Launching iManager in Eclipse
Novell Cool Solutions: Feature
By R Sathish
Reader Rating
from 2 ratings
|
Digg This -
Slashdot This
Posted: 17 Aug 2004 |
Here's a nicely detailed, step-by-step article explaining how to launch iManager in Eclipse.
| 1. Create a Java project | |
- File -> New Project -> Java Project
- Enter name "iManager 2.5" -> Next
- Add source files to work area.
- Link to VCS work area - Please see my article on linking IDE and Work area

| 2. Create iManager 2.5 library | |
- Libraries -> Add Library -> User library -> Next -> User libraries -> New
- Enter name as "iManager 2.5

3. Add jars (Beware of a defect in Eclipse 3.0 RC3 which crashes Eclipse while pointing the mouse over a file name. Use Ctrl+A instead.)
Add all jars in
TOMCAT_HOME\bin\
bootstrap.jar
commons-daemon.jar
tomcat-jni.jar
TOMCAT_HOME\server\lib\
catalina-ant.jar
catalina.jar
commons-beanutils.jar
commons-digester.jar
commons-logging.jar
commons-modeler.jar
jaas.jar
jakarta-regexp-1.2.jar
mx4j-jmx.jar
mx4j.license
servlets-cgi.renametojar
servlets-common.jar
servlets-default.jar
servlets-invoker.jar
servlets-manager.jar
servlets-ssi.renametojar
servlets-webdav.jar
tomcat-coyote.jar
tomcat-http11.jar
tomcat-jk.jar
tomcat-jk2.jar
tomcat-util.jar
tomcat-warp.jar

TOMCAT_HOME\common\lib\
activation.jar
ant.jar
commons-collections.jar
commons-dbcp.jar
commons-logging-api.jar
commons-pool.jar
jasper-compiler.jar
jasper-runtime.jar
jdbc2_0-stdext.jar
jndi.jar
jta.jar
mail.jar
naming-common.jar
naming-factory.jar
naming-resources.jar
servlet.jar
TOMCAT_HOME\webapps\nps\WEB_INF\lib\
AdminNamespace.jar
cos.jar
eMFrame.jar
iManagerBase.jar
iManagerBaseExt.jar
iManTagLibrary.jar
imap.jar
jaxen-full.jar
jcert.jar
jcifs.jar
jclient.jar
jdom.jar
jnet.jar
jsso.jar
jstl.jar
ldap.jar
ldapbp.jar
local_policy.jar
LogEvent.jar
NetComponents.jar
NMASToolkit.jar
novbp.jar
nps.jar
observer.jar
pop3.jar
rbsCore.jar
saxpath.jar
smtp.jar
snmp2.jar
standard.jar
sunjce_provider.jar
US_export_policy.jar
WebServiceSDK.jar
xp.jar
xtier.jar
Remove all jars which you will be compiling.
(While working on Plugin X, remove X.jar.)
| 3. Copy Required native libraries | |
In Windows
Copy TOMCAT_HOME\ webapps\nps\WEB-INF\bin\jclient.dll to WINDIR\system32
In Linux
Modify LD_LIBRARY_PATH to include IMANAGER_HOME/bin/linux/eDirectory/lib which has:

These libraries are provided by eDirectory.
iManager 2.5 has a separate copy of these libraries.
IMANAGER_HOME is the directory where iManager standalone version is installed.
| 4. Create a Debug configuration | |
1. Run-> Debug?-> Java Application -> New

Main tab
2. Set project to "iManager 2.5"
3. Set Main Class to "org.apache.catalina.startup.Bootstrap"
Arguments tab
4. Program arguments = "start"
5. VM arguments = "-Dcatalina.home=G:\imanager\tomcat"
6. Apply
7. Debug
| 5. Launch iManager in a key stroke | |
1. F11 will launch iManager 25 inside eclipse.
2. Set breakpoints

3. Eclipse changes perspective to Debug when it hits a breakpoint. View output in Console tab.
Reader Comments
- thanks from the neophyte!!
- this is helpful
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
