[GRADLE-860] Ant Exec has stale ant.project.properties in Gradle but in Groovy is OK. Created: 19/Mar/10 Updated: 04/Jan/13 Resolved: 22/Mar/10 | 
|
| Status: | Resolved | 
| Project: | Gradle | 
| Affects Version/s: | 0.8 | 
| Fix Version/s: | None | 
| Type: | Bug | ||
| Reporter: | Carlton Joseph | Assignee: | Hans Dockter | 
| Resolution: | Not A Bug | Votes: | 0 | 
| Attachments: | 
 | 
| Description | 
| 
 Below have: 1 - Log of Gradle failing ===================================================================== BUILD SUCCESSFUL Total time: 3.343 secs 2 - Log of Groovy passing ===================================================================== 3 - Gradle code =============================================================================== task runs << { String execAnt(String cmd, String arguments) {  println "return code: ${ant.project.properties.cmdExit}" 4 - Groovy code =============================================================================== String execAnt(String cmd, String arguments) {  println "return code: ${ant.project.properties.cmdExit}" runs()  | 
| Comments | 
| Comment by Carlton Joseph [ 19/Mar/10 ] | 
| 
 changing the if to false or true in groovy code below also show the code =============================================================  | 
| Comment by Carlton Joseph [ 22/Mar/10 ] | 
| 
 The issue is an Ant issue and not a Gradle or Groovy problem.  |