incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChiaHung Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HAMA-371) Add a parameter to build.xml to allow developers deciding to reset content in conf files or not when building artifacts.
Date Tue, 22 Mar 2011 08:31:05 GMT

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

ChiaHung Lin updated HAMA-371:
------------------------------

    Status: Patch Available  (was: Open)

The attached file adds a change to allow developers passing a new parameter i.e. resetconf,
which prevent ant process reseting the files content in conf folder.

For example, executing `ant -Dresetconf=false package` prevents content within conf/groomservers
to be reset to localhost. 

> Add a parameter to build.xml to allow developers deciding to reset content in conf files
or not when building artifacts.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HAMA-371
>                 URL: https://issues.apache.org/jira/browse/HAMA-371
>             Project: Hama
>          Issue Type: Improvement
>          Components: build 
>    Affects Versions: 0.2.1
>         Environment: GNU/ Debian, JDK 1.6.0_21-b06
>            Reporter: ChiaHung Lin
>            Priority: Trivial
>              Labels: build
>             Fix For: 0.2.1
>
>         Attachments: HAMA-371.patch
>
>
> The build.xml in the latest trunk repository will reset content in conf folder to default.
For instance, issuing `ant package` will reset the content in conf/groomservers to localhost,
which is default. The patch provided allows developers passing a parameter `-Dresetconf=false`
so that the build process will not reset content back to default if developer wants to preserve
the change to configuration files. The default behavior is not change i.e. executing command
like `ant package` will still reset content in conf files back to default. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message