Description
Port property (sm.port) is not passed to and has no affect on any servicemix ant tasks, but printed before each task execution. Such issue limit user to use servicemix-ant-task.xml only with default jmx/rmi port and confused.
For example:
<target name="install-component" description="Installs service engine or binding component with installation parameters."> <echo message=" install-component" /> <echo message=" Installing a service engine or binding component."/> <echo message=" host=${sm.host}" /> <echo message=" port=${sm.port}" /> <!-- Printed --> <echo message=" file=${sm.install.file}" /> <jbi-install-component <!-- But not passed =( --> username="${sm.username}" password="${sm.password}" host="${sm.host}" file="${sm.install.file}"/> </target>
have to be
<target name="install-component" description="Installs service engine or binding component with installation parameters."> <echo message=" install-component" /> <echo message=" Installing a service engine or binding component."/> <echo message=" host=${sm.host}" /> <echo message=" port=${sm.port}" /> <!-- Printed --> <echo message=" file=${sm.install.file}" /> <jbi-install-component username="${sm.username}" password="${sm.password}" host="${sm.host}" port="${sm.port}" <!-- passed =) --> file="${sm.install.file}"/> </target>