ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Enderling (JIRA)" <j...@apache.org>
Subject [jira] [Created] (EASYANT-53) Option -configfile ignored when starting EasyAnt through easyant.bat/easyant shell-script
Date Tue, 21 May 2013 17:25:16 GMT
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

Mime
View raw message