Skip to main content
17-Peridot
April 7, 2022
Solved

FlexibleChangeItemReadinessDelegate: which jar?

  • April 7, 2022
  • 2 replies
  • 2298 views

Hi team,

In the help page

http://support.ptc.com/help//windchill/whc/whc_en/index.html#page/Windchill_Help_Center%2FChgMgmtChgAssocConvertCustom.html

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

 

Best answer by HelesicPetr

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

2 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
April 8, 2022

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

20-Turquoise
April 8, 2022

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 /]#
rleir17-PeridotAuthor
17-Peridot
April 11, 2022

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

rleir17-PeridotAuthor
17-Peridot
April 11, 2022

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!