Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6606

The synergy plugin cannot set the workarea path using the 'ccm attr' command in Synergy 7.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • synergy-plugin
    • None
    • Windows

      The current version of the Synergy plugin attempts to set the workarea path ('wa_path' attibute) of a project using the 'ccm attr' command. In Synergy 7.1 the 'ccm attr' command cannot set the workarea for a project, the 'ccm wa' command must be used instead.

      In SetProjectAttributeCommand.java it appears that a similar problem has has already been rectified for the 'maintain_wa' attribute, and I have been able to similarly solve the issue in the same way by adding another condition to the existing if statement (line 25):

      else if (attribute.equals("wa_path")){
      commands = new String[]

      {ccmExe, "wa", "-setpath", value, "-project", project}

      ;
      }

      However a better solution would be to create a WorkAreaCommand class to inherit from the Command class and implement the setting of the 'maintain_wa' and 'wa_path' attributes in there.

            jribette jribette
            travis_p travis_p
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: