git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@927416 13f79535-47bb-0310-9956-ffa450edef68master
@@ -237,6 +237,7 @@ Nico Seessle | |||||
Nigel Magnay | Nigel Magnay | ||||
Oliver Merkel | Oliver Merkel | ||||
Oliver Rossmueller | Oliver Rossmueller | ||||
Omer Shapira | |||||
Oystein Gisnas | Oystein Gisnas | ||||
Patrick C. Beard | Patrick C. Beard | ||||
Patrick Chanezon | Patrick Chanezon | ||||
@@ -64,6 +64,10 @@ Fixed bugs: | |||||
* email : IO error sending mail with plain mimetype | * email : IO error sending mail with plain mimetype | ||||
Bug 48932 | Bug 48932 | ||||
* the complete-ant-cmd.pl script failed to create a proper cache of | |||||
target if "ant -p" failed. | |||||
Bugzilla Report 48980 | |||||
Other changes: | Other changes: | ||||
-------------- | -------------- | ||||
@@ -973,6 +973,10 @@ | |||||
<first>Oliver</first> | <first>Oliver</first> | ||||
<last>Rossmueller</last> | <last>Rossmueller</last> | ||||
</name> | </name> | ||||
<name> | |||||
<first>Omer</first> | |||||
<last>Shapira</last> | |||||
</name> | |||||
<name> | <name> | ||||
<first>Øystein</first> | <first>Øystein</first> | ||||
<last>Gisnås</last> | <last>Gisnås</last> | ||||
@@ -83,7 +83,7 @@ sub getTargets { | |||||
# cache-file. | # cache-file. | ||||
my $cacheFile = $buildFile; | my $cacheFile = $buildFile; | ||||
$cacheFile =~ s|(.*/)?(.*)|${1}.ant-targets-${2}|; | $cacheFile =~ s|(.*/)?(.*)|${1}.ant-targets-${2}|; | ||||
if ((!-e $cacheFile) || (-M $buildFile) < (-M $cacheFile)) { | |||||
if ((!-e $cacheFile) || (-z $cacheFile) || (-M $buildFile) < (-M $cacheFile)) { | |||||
open( CACHE, '>'.$cacheFile ) || die "can\'t write $cacheFile: $!\n"; | open( CACHE, '>'.$cacheFile ) || die "can\'t write $cacheFile: $!\n"; | ||||
open( HELP, "$antCmd -projecthelp -f '$buildFile'|" ) || return(); | open( HELP, "$antCmd -projecthelp -f '$buildFile'|" ) || return(); | ||||
my %targets; | my %targets; | ||||