Using 2.2.3 Build 1044
Windows 7
Project type- Touch 2.3.x

Steps to recreate:
  1. Create a model with userClassName = 'Group.DiagramMetaData' (21 characters in length)
  2. Save Project
  3. Publish Project
  4. Note that this new js file will not be copied to the publishpath location
  5. Rename the userClassName = 'Group.DiagramMetaDat' (20 characters in length)
  6. Save Project
  7. Publish Project
  8. Note that this file is now copied into the publishpath location