Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Wednesday, November 28, 2007

java code for Redefine property in the children target 2

/*
Buildfile: build.xml

print-global:
[echo] In print-global
[echo] The value of property.example is: Local File

print-target:
[echo] In print-target
[echo] The value of property.example is: Local File

print-file:
[echo] In print-file
[echo]
[echo] The value of property.file.example is: build.properties
[echo]

BUILD SUCCESSFUL
Total time: 0 seconds
*/

The value of property.file.example is: ${property.file.example}
------------------------------------------------------------------------------------
File: build.properties

property.example=Local File
property.file.example=build.properties

--------------------------------------------------------------------------------------
File: build.properties.default

property.example=Default File
property.file.example=build.properties.default

No comments: