Uploaded image for project: 'Nuxeo Documentation'
  1. Nuxeo Documentation
  2. NXDOC-1963

Specialized instruction in scripting command does not use correct XML

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Addons

      Description

      The XML used in https://doc.nuxeo.com/nxdoc/scripting-commands/#specialized-installations does not use correct XML.

      <copy file="${package.root}/mylib-1.2.jar" tofile="${env.lib}/mylib-{version:.*}.jar"
          ignore="Version.isGreaterOrEqual(version, \"1.2\")" /> 

      It should be:

      <copy file="${package.root}/mylib-1.2.jar" tofile="${env.lib}/mylib-{version:.*}.jar"
          ignore="Version.isGreaterOrEqual(version, '1.2')" /> 

       

      As an additional notice, the explanation of the third command doesn't use the same XML piece (the toFile argument)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: