cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

FlexibleChangeItemReadinessDelegate: which jar?

rleir
17-Peridot

FlexibleChangeItemReadinessDelegate: which jar?

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
21-Topaz II
(To:rleir)

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

View solution in original post

5 REPLIES 5
HelesicPetr
21-Topaz II
(To:rleir)

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

RandyJones
19-Tanzanite
(To:rleir)

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 /]#
rleir
17-Peridot
(To:RandyJones)

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

rleir
17-Peridot
(To:rleir)

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!

Jaime_Lee
Community Manager
(To:rleir)

@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!

 

Top Tags