Skip to content

Commit 8564eea

Browse files
committed
Updated default value for overwrite to true
1 parent 236d8b7 commit 8564eea

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

gp-ant-task/example/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<property name="gp.bundleLayout" value="LANGUAGE_DIR"/>
5151
<property name="gp.includepattern" value="**/*.json"/>
5252
<property name="gp.excludepattern" value="**/*_*.json"/>
53-
<gp:download>
53+
<gp:download overwrite="${gp.overwrite}">
5454
<credentials url="${gp.url}" userId="${gp.userId}" password="${gp.password}" instanceId="${gp.instanceId}"/>
5555
<targetLanguage lang="es"/>
5656
<targetLanguage lang="pt-BR"/>
4 Bytes
Binary file not shown.

gp-ant-task/src/main/java/com/ibm/g11n/pipeline/ant/GPDownloadTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void setOutputDir(File outputDir) {
6464
* Whether this goal overwrites existing bundle file in output directory
6565
* or not. The default value is true.
6666
*/
67-
private boolean overwrite;
67+
private boolean overwrite = true;
6868

6969
public void setOverwrite(boolean overwrite) {
7070
this.overwrite = overwrite;

0 commit comments

Comments
 (0)