Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Java code > Reverse engineering legacy Java code > Generating Java code > Migrating Java synchronizer generation template schemes to work with ACS (Java code) > Upgrading ACS Code Generator DLLs to work with the latest version of ACS (Java code)
  
Upgrading ACS Code Generator DLLs to work with the latest version of ACS (Java code)
If you are upgrading Modeler and you want to continue to use the ACS Code Generator DLLs you are using:
You must regenerate those ACS Code Generator DLLs from their associated TDK models using the TDK provided with the latest version of Modeler. Ensure that you generate to a target folder that is empty.
Update the TDK profile in your TDK model before regenerating the ACS Code Generator DLL.
We typically recommend that you use the new ACS Code Generator DLLs provided with the latest version of Modeler, because the new ACS Code Generator DLLs support generation of State Diagrams, and include the latest bug fixes and maintenance changes.
If you have installed Modeler to the default location, the replacement Code Generator DLLs reside in subfolders of the following folder.
For Windows 7 and later operating systems:
C:\Users\<user>\AppData\Roaming\ItsShadow\ScriptDir\JavaGen
For 64-bit versions of pre Windows 7 operating systems:
C:\Program Files (x86)\PTC Integrity Modeler\Modeler\System\JavaGen
For 32-bit versions of pre Windows 7 operating systems:
C:\Program Files\PTC Integrity Modeler\Modeler\System\JavaGen
If you have customized the ACS Code Generator DLLs you are using, you can regenerate those ACS Code Generator DLLs using the TDK provided with the latest version of Modeler, or you can apply your customizations to the new ACS Code Generator DLLs. For information about customizing an ACS Code Generator DLL, see Overview of generation templates (link works only if TDK is installed).
For information about migrating Java Synchronizer generation template schemes to work with ACS, see Migrating Java synchronizer generation template schemes to work with ACS (Java code).