I was installed Windchill Pdmlink 10.0 in my system.Can you please help how to setup a windchill envronment in eclipse ? Means Which jar files we need to add for run the windchill java programme ?
When you ask which jar files you need to add to run the Windchill Java program, that raises some questions/concerns.
Windchill's launch process sets up a lot of important JVM options on the command-line. This includes the classpath, but is certainly not limited to it. The classpath is logged early in the method server and server manager execution -- and clearly shows which jars used by the server processes at runtime. To actually run Windchill server processes, however, it's important to specify the correct JVM options as well.
If what you're trying to do is to have Eclipse (or any IDE for that matter) run Windchill so you can debug it, then that's really not the right approach. Instead what you want to do is to configure the Windchill server processes to listen for debugger connections and then connect the IDE's debugger to these running processes.
As for IDE compilation, that's a totally different story. You can use the jars from the classpath or you can use the much more fine-grained jars under WT_HOME/srclib.
Jess, can you please help understand how the following can be setup? Any steps/guides for eclipse to do this?
"Instead what you want to do is to configure the Windchill server processes to listen for debugger connections and then connect the IDE's debugger to these running processes."
Well, first off the approach to configuring a Java process to allow a debugger to be attached is quite general and covered by numerous articles one can find by googling "JPDA debug arguments" or the like, where JPDA is the underlying Java Platform Debugger Architecture. The results include http://stackoverflow.com/questions/138511/what-are-java-command-line-options-to-set-to-allow-jvm-to-... which seems to be a good starting point.
The Eclipse documentation almost certainly covers this as well. It should certainly cover the commands within the IDE for attaching a debugger to a running process.
As for how to insert the debug arguments in question into the Windchill server processes' command-line arguments, the easiest approach is probably to use the wt.manager.cmd.MethodServer.debug.args and/or wt.manager.cmd.ServerManager.debug.args properties for this purpose (for the method server and server manager respectively).
If you need to debug with multiple method servers, then things get a bit more complicated, as you need to assign a unique JPDA address to each method server. At that point you'd then need to examine the Javadoc for wt.manager.BaseServerLauncher to decide how to generate a unique JPDA address for each method server's arguments.