You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Tim Enderling (JIRA)" <ji...@apache.org> on 2013/05/21 19:25:16 UTC

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

Tim Enderling created EASYANT-53:
------------------------------------

             Summary: 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


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