2011-09-12 63 views

回答

1

我還沒有試過這個,但有一個ant.propertyFile task。你可能可以做類似...

ant.propertyfile(
    file:"/projectPath/application.properties") { 
     entry(key:"app.name", value:'foo') 
    } 
)