It's your plugin, change it to a Map and then convert the map to a Properties

2009/6/18 Benson Margulies <bimargul...@gmail.com>:
> It can't, sadly. The underlying property in the plugin is a
> Properties, not a Map. Properties won't take that syntax. I've opened
> a JIRA asking for it.
>
> On Thu, Jun 18, 2009 at 5:07 PM, Zac Thompson<zac.thomp...@gmail.com> wrote:
>>>                                    <properties>
>>>                                        <property>
>>>                                            <name>trainCorpus</name>
>>>                                            <value>${en.trainCorpus}</value>
>>>                                        </property>
>>>                                        <property>
>>>                                            <name>testCorpus</name>
>>>                                            <value>${en.testCorpus}</value>
>>>                                        </property>
>>>                                    </properties>
>>
>> It's a small improvement, but I think the above could be written as:
>>
>>                                   <properties>
>>
>> <trainCorpus>${en.trainCorpus}</trainCorpus>
>>                                       
>> <testCorpus>${en.testCorpus}</testCorpus>
>>                                   </properties>
>>
>> Zac
>>
>

Reply via email to