-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Addons
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)