I'm posting here hoping to get some directions about the iManager Dev
kit. I downloaded the kit from here
(http://www.novell.com/developer/ndk/...loper_kit.html). In
reading the documentation, you are supposed to be able to run the
build.bat in the samples directory and compile the sample classes but I
am getting compile errors i.e. missing packages. I'm afraid the SDK
documentation leaves some details about setting up the environment
properly since there is some assumption that you are a developer. I am
pasting a portion of the output here.

Buildfile: build.xml

prepare:
[echo] deploy.home = C:\imgrsdk\imgrsdk\samples/../../web
[echo] basedir = C:\imgrsdk\imgrsdk\samples

compile:
[echo] basedir = C:\imgrsdk\imgrsdk\samples
[echo] classpath = final/classes:
${env.TOMCAT5}https://www.novell.com/common/lib/servlet-api.jar:

C:\imgrsdk\imgrsdk\samples/../../web/WEB-INF/lib/AdminNamespace.jar:

C:\imgrsdk\imgrsdk\samples/../../web/WEB-INF/lib/njweb.jar:

C:\imgrsdk\imgrsdk\samples/../../web/WEB-INF/lib/eMFrame.jar:

C:\imgrsdk\imgrsdk\samples/../../web/WEB-INF/lib/jdom.jar:

C:\imgrsdk\imgrsdk\samples/../../web/WEB-INF/lib/nps.jar
[echo] ant.file = C:\imgrsdk\imgrsdk\samples\build.xml
[javac] Compiling 16 source files to
C:\imgrsdk\imgrsdk\samples\final\classes
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \BasicTaskExampleTask.java:17:
package com.novell.emframe.dev does not exist
[javac] import com.novell.emframe.dev.*;
[javac] ^
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \BasicTaskExampleTask.java:21:
cannot find symbol
[javac] symbol: class Task
[javac] public class BasicTaskExampleTask extends Task
[javac] ^
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \BasicTaskExampleTask.java:23:
cannot find symbol
[javac] symbol : class TaskContext
[javac] location: class com.company.plugins.BasicTaskExampleTask
[javac] public boolean execute(TaskContext context, Properties
resultStrings)
[javac] ^
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \ConfigurationStoreExampleTask.java:17:
package com.novell.emframe.dev does not exist
[javac] import com.novell.emframe.dev.*;
[javac] ^
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \ConfigurationStoreExampleTask.java:18:
package com.novell.emframe.dev.config does not exist
[javac] import com.novell.emframe.dev.config.SystemConfig;
[javac] ^
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \ConfigurationStoreExampleTask.java:19:
package com.novell.emframe.dev.config does not exist
[javac] import com.novell.emframe.dev.config.ConfigException;
[javac] ^
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \ConfigurationStoreExampleTask.java:21:
package javax.servlet.http does not exist
[javac] import javax.servlet.http.HttpServletRequest;
[javac] ^
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \ConfigurationStoreExampleTask.java:24:
cannot find symbol
[javac] symbol: class Task
[javac] public class ConfigurationStoreExampleTask extends Task
[javac] ^
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \ConfigurationStoreExampleTask.java:26:
cannot find symbol
[javac] symbol : class TaskContext
[javac] location: class
com.company.plugins.ConfigurationStoreExampleTask
[javac] public boolean execute(TaskContext context, Properties
resultStrings)
[javac] ^
[javac]
C:\imgrsdk\imgrsdk\samples\src\com\company\plugins \CustomCreateExampleTask.java:17:
package com.novell.emframe.dev does not exist
[javac] import com.novell.emframe.dev.*;
[javac] ^


--
abrahamr
------------------------------------------------------------------------
abrahamr's Profile: https://forums.netiq.com/member.php?userid=3644
View this thread: https://forums.netiq.com/showthread.php?t=46644