Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi team,
In the help page
towards the bottom there is some sample code:
public class CustomReadinessDelegate extends FlexibleChangeItemReadinessDelegate {
We are trying to compile something similar to this but FlexibleChangeItemReadinessDelegate is not in our classpath.
$ javac -cp ../srclib/tool/Annotations.jar:../srclib/*:../codebase com/myco/dept/change/flexible/MyReadinessDelegate.java
com/myco/dept/change/flexible/MyReadinessDelegate.java:8: error: cannot find symbol
public class MyReadinessDelegate extends FlexibleChangeItemReadinessDelegate {
^
symbol: class FlexibleChangeItemReadinessDelegate
Which Windchill 12.0.2.3 jar contains this delegate?
thanks -- Rick
Solved! Go to Solution.
Hi @rleir
It is in wncWeb.jar
This jar is located in <wthome>\codebase\WEB-INF\lib
my Windchill lib version is 12.0.2.0
PetrH
Hi @rleir
It is in wncWeb.jar
This jar is located in <wthome>\codebase\WEB-INF\lib
my Windchill lib version is 12.0.2.0
PetrH
Teaching a man to fish...
You can use the which command:
https://www.ptc.com/en/support/article/cs34287
[root@wct01 /]# windchill wt.util.jmx.Which wt/change2/flexible/FlexibleChangeItemReadinessDelegate.class
URL: jar:file:/opt/ptc/Windchill/Windchill/codebase/WEB-INF/lib/wncWeb.jar!/wt/change2/flexible/FlexibleChangeItemReadinessDelegate.class
Last Modified: Fri Feb 11 15:28:20 CST 2022
Size: 10644
CRC: 2245216837
[root@wct01 /]#
Hi Petr, Randy @Jaime_Lee
How can I mark two answers as both presenting the solution?
I will try by accepting both in sequence, and maybe both will end up as 'accepted'.
thanks -- Rick
Hmm, that makes it impossible to mark Randy's answer as a solution, even though it is a valuable introduction to the 'Which' command.
Many thanks Randy!
@rleir I guess it is the "FIRST" acceptable solution with our community software. Giving the "shout out" and kudoing Randy was the right move! This helps him collect kudos towards the much coveted "Top Kudoed Author" status. More info on how marking accepted solutions helps can be found here:
https://community.ptc.com/t5/Welcome-How-To-s/Accepted-Solutions/m-p/729299
Thank you for coming back to mark the accepted solution!