Question
OOTB resource ConstraintDisplayNamesRB.java file not getting compiled
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.11
We are modifying the "ConstraintDisplayNamesRB.java" OOTB file. But the file is not getting compiled with below command.
ant -f bin/tools.xml class -Dclass.includes=com/ptc/core/meta/container/common/ConstraintDisplayNamesRB.java -Dclass.force=true
Build logs are attached in "Error Message or Warning" section.
Here are the errors that I faced
svc-dna@awac0307be Windchill]$ ant -f bin/tools.xml class -Dclass.includes=com/ptc/core/meta/container/common/ConstraintDisplayNamesRB.java -Dclass.force=true
Buildfile: /app01/ptc/Windchill_12.1/Windchill/bin/tools.xml
********************************************************************************
!+! STARTED @ Fri May 08 08:01:50 UTC 2026
********************************************************************************
--------------------------------------------------------------------------------
!+! ENTERING WindchillTools[/app01/ptc/Windchill_12.1/Windchill/bin/tools.xml]
--------------------------------------------------------------------------------
Overriding previous definition of reference to ant.projectHelper
Build sequence for target(s) `class' is [init, class.init, wt_home.check, class.check, class.clean, bundle.force, class]
init:
class.init:
wt_home.check:
class.check:
class.clean:
bundle.force:
--------------------------------------------------------------------------------
!+! ENTERING ANTCALL WITHIN WindchillTools[/app01/ptc/Windchill_12.1/Windchill/bin/tools.xml]
--------------------------------------------------------------------------------
Overriding previous definition of reference to ant.projectHelper
Build sequence for target(s) `bundle' is [init, java.init, AppStarter.init, bundle.includes.convert, bundle.init, wt_home.check, bundle.check, bundle]
[antcall] Entering /app01/ptc/Windchill_12.1/Windchill/bin/tools.xml...
Build sequence for target(s) `bundle' is [init, java.init, AppStarter.init, bundle.includes.convert, bundle.init, wt_home.check, bundle.check, bundle]
init:
java.init:
AppStarter.init:
bundle.includes.convert:
bundle.init:
wt_home.check:
bundle.check:
bundle:
[java] Update ResourceInfos = false
[java] Build ResourceBundles = true
[java] Process Locales = en_US,en_GB,es,fr,de,ja,it,ko,ru,zh_CN,zh_TW,pt_BR
[java]
[java] Execution/Launch Time = 0.049 seconds
[antcall] Exiting /app01/ptc/Windchill_12.1/Windchill/bin/tools.xml.
--------------------------------------------------------------------------------
!+! EXITING FROM ANTCALL WITHIN WindchillTools[/app01/ptc/Windchill_12.1/Windchill/bin/tools.xml]
--------------------------------------------------------------------------------
class:
********************************************************************************
!+! FINISHED @ Fri May 08 08:01:51 UTC 2026
!+! Log: /app01/ptc/Windchill_12.1/Windchill/buildlogs/1114-tools.log
[WARNING] There are more than 250 log files in the directory '/app01/ptc/Windchill_12.1/Windchill/buildlogs'. Consider cleaning this directory soon.
********************************************************************************
BUILD SUCCESSFUL
Total time: 1 second
[svc-dna@awac0307be Windchill]$

