2008-10-07から1日間の記事一覧

ant,XMLPropertyでプロパティに空文字列を指定する

<xmlproperty file="hage.properties.xml" semanticattributes="true" keeproot="false" /> <hoge> <emptystring></emptystring> </hoge> とかやってもhoge.emptystringプロパティは定義されない。パースのやりかたを考えるとまあ妥当な仕様ではある。 属性使ってもプロパティが定義できるので、空文字列を入れたいときは <hoge emptystring=""> </hoge> …</xmlproperty>