[
https://jira.codehaus.org/browse/MWAS-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Javier Murciego closed MWAS-64.
-------------------------------
Resolution: Duplicate
See MWAS-30
> unable to find "ws_ant" executable (too many candidates)
> --------------------------------------------------------
>
> Key: MWAS-64
> URL: https://jira.codehaus.org/browse/MWAS-64
> Project: Maven 2.x WebSphere 6 Plugin
> Issue Type: Bug
> Affects Versions: 1.1.1
> Reporter: Javier Murciego
> Assignee: Javier Murciego
> Priority: Minor
> Attachments: ws_ant.patch
>
>
> In one of the servers where I execute the "WAS6 mojo", this error is throwed:
> "Couldn't find ws_ant[.sh|.bat], candidates:
> {/opt/IBM/SDP/runtimes/base_v61/bin/ws_ant.sh,/opt/IBM/SDP/runtimes/base_v61/bin/ws_antOther.sh}"
> The reason is that I have two scripts in "$WAS_HOME/bin" whose names start
> with "ws_ant".
> The mojo uses the prefix "ws_ant" to find the ws_ant executable.
> The simplest manner to solve this is to change the prefix to "ws_ant."
> (realize that a dot has been included at the end of the name of the prefix,
> and it has to appear).
> Another technique is to add a new parameter to the mojo where it will be
> possible to declare the name of the "ws_ant" executable. In this way, the
> administrators could use personalized ws_ant scripts. However, I think that
> it's an unusal requirement, and the configuration of the mojo will be
> complicated.
> Attached, I send a patch to this problem using the simplest solution.
> Best regards, Javi.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email