Skip to main content
4-Participant
June 30, 2025
Solved

Basic Ant and packaging question

I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.7

I was curious how to compile just our custom Java code. I can't seem to find the right ant command.

Should the Java files be put in /codebase/src/... and then I issue an ant command?

If I compile our custom code to a Jar instead of several .class files, does this result in better performance? Where should the .jar file go?

JimwangAnswer
16-Pearl
July 1, 2025

4 replies

Jimwang16-PearlAnswer
16-Pearl
July 1, 2025
avillanueva
23-Emerald II
July 1, 2025

What OS are you on? For a long time, I let me IDE do the compilation against Windchill Jars outside of Windchill but since then I moved toward build scripts at the target host. Are you doing lots of development work or is this a one off? If anything simple, what @Jimwang is best course.  If you are using GIT and need to develop a automated build process, there are some other threads here that can help.

Translate