Skip to main content
1-Visitor
Dec 24, 2015 8:59 AM UTC
Question

Could anybody tell me the following packages in which JAR file?

Could anybody tell me the following packages in which JAR file? I'm using Windchill 10.1 M050. Thanks a lot!

com.ptc.windchill.enterprise.doc.*

com.ptc.windchill.option.model.*

com.ptc.windchill.option.service.*

com.ptc.wpcfg.deliverables.*

10 replies

12-Amethyst
Dec 25, 2015 6:25 AM UTC

Based on the module installed typically you will find your packages in below jars.

DocumentStrutureBrowser.jar

DocumentManagement.jar

wncWeb.jar

OptionsCore.jar

wnc.jar

OptionsMigrators-windu.jar

OptionsMigrators-winru.jar

DDLBasic.jar

Translate
kshu1-VisitorAuthor
1-Visitor
Dec 25, 2015 7:18 AM UTC

Thanks very much!

Translate
2-Explorer
Dec 29, 2015 4:41 PM UTC

You can use the Which command to find out the resource jar for any class or package. From a Windchill shell, run the command java wt.util.jmx.Which

whichcommand.JPG

Thank you,

Binesh Kumar

Translate
kshu1-VisitorAuthor
1-Visitor
Jan 6, 2016 1:53 AM UTC

Thank you!

Translate
1-Visitor
Dec 30, 2015 6:35 AM UTC

Kouryo - As underlined by Binesh, you can use "Which" utility from a Windchill shell with "java" or "windchill" using "/" (instead of .) in order to separate the various java packages

2015-12-30_WNC_11_Which_Usage_for_PTC_Community_Thead.jpg

Translate
kshu1-VisitorAuthor
1-Visitor
Jan 6, 2016 1:53 AM UTC

Thank you!

Translate
1-Visitor
Jan 5, 2016 11:43 PM UTC

Be careful what jar file you use, packages are split among multiple jar files. Therefore, it is best to use an IDE like Eclipse to add all jars to a project classpath and use the java search features to locate where a class, method, or other information is stored (and to do this from full/maintence release/CPS to later)  and recompile as needful.

Translate
kshu1-VisitorAuthor
1-Visitor
Jan 6, 2016 1:53 AM UTC

Thank you!

Translate
1-Visitor
Jan 6, 2016 4:39 PM UTC

for Windows OS, following command works.

forfiles /S /M *.jar /C "cmd /c jar -tvf @file | findstr /C:"myClass" && echo @path"

Translate