Class ChangeSolution

java.lang.Object
net.simplace.sim.util.maintenance.ChangeSolution

public class ChangeSolution extends Object
Maintenance tool that migrates all solution files (*.sol.xml) below the workspace directory (../../) and writes them back. Currently only reformatMgm(Element) is active: the text of mgm elements of DefaultManagement components is moved to the rule attribute. Further conversions exist as private methods and can be switched on in convert().
Author:
Andreas Enders
  • Constructor Details

    • ChangeSolution

      public ChangeSolution()
      Reads all solution files below the workspace directory; files that cannot be parsed are logged and skipped.
  • Method Details

    • main

      public static void main(String[] args)
      Reads, converts and writes back all solution files.
      Parameters:
      args - not used