You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Jean-Louis Boudart (JIRA)" <ji...@apache.org> on 2013/05/22 11:38:19 UTC

[jira] [Resolved] (EASYANT-53) Option -configfile ignored when starting EasyAnt through easyant.bat/easyant shell-script

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

Jean-Louis Boudart resolved EASYANT-53.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10

Patch applied on trunk

Thanks again for the fix
                
> Option -configfile ignored when starting EasyAnt through easyant.bat/easyant shell-script
> -----------------------------------------------------------------------------------------
>
>                 Key: EASYANT-53
>                 URL: https://issues.apache.org/jira/browse/EASYANT-53
>             Project: EasyAnt
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9
>            Reporter: Tim Enderling
>             Fix For: 0.10
>
>         Attachments: EASYANT-53-Easyant-batch-file-shell-script-will-allo.patch
>
>
> Both easyant.bat and the easyant shell script add a {{-configfile}} option pointing to {{<EASYANT_HOME>/easyant-conf.xml}} to {{EASYANT_ARGS}} and pass it to {{EasyAntMain}}. 
> This way it is impossible for someone calling the batch file/shell script to pass a custom {{-configfile}} option (the value {{<EASYANT_HOME>/easyant-conf.xml}} will always win. This is a major drawback when using different {{easyant-conf.xml}} (like with different sets of system plugins) as the only workarounds are to either copy/link {{<EASYANT_HOME>/easyant-conf.xml}} from these different files or write a custom batch file/shell script.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira