[ 
https://issues.apache.org/activemq/browse/SM-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Zobkov updated SM-1892:
---------------------------------

    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:
{code:xml}
 <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>
{code}

have to be

{code:xml}
 <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>
{code}

  was:
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:
{code:xml}
 <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>
{code}


> Port property is not passed to any Servicemix Ant tasks in 
> servicemix-ant-tasks.xml (install-component, etc)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1892
>                 URL: https://issues.apache.org/activemq/browse/SM-1892
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>            Reporter: Alexander Zobkov
>            Priority: Minor
>
> 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:
> {code:xml}
>  <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>
> {code}
> have to be
> {code:xml}
>  <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>
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to