Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5376

Improve generation/propagation of packagename/classname

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • None

      Create a specific DTO to propagate "sanitized" packagename/classname from first call (e.g. PMMLAssembler, PMMLCompiler) to all following methods

      Generated package/class names may clash applying sanitizePackageName/sanitizeClassName methods (i.e. we may have two packages with same name or two classes with same name).
      That validation should be made before actual compilation (regardless of how it has been fired).
      For package name clash, an exception must be thrown. For class name clash, probably a warn is enough (provided two classes with the same name are not created in the same package)

              gcardosi Gabriele Cardosi (Inactive)
              gcardosi Gabriele Cardosi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: