On Sun, May 31, 2009 at 12:06 AM, Niklas Gustavsson <[email protected]> wrote: > On Fri, May 29, 2009 at 7:17 PM, Roger Marshall > <[email protected]> wrote: >> My first question is whether there is actually valid set of properties file >> entries that would work with the first version of ftpserver.xml (the one >> using the http://mina.apache.org/ftpserver/spring/v1 schema)? > > We do not currently support property based configuration (I personally > find this a major gap since I'm a big user of property replacement > with Spring). However, there is an issue reported > (https://issues.apache.org/jira/browse/FTPSERVER-282) that we plan on > fixing for 1.1. Not waiting for 1.1, I think your solution is the best > available. I'm not very familiar with the problem your having so I do > not have any more input than the excellent reply you already received > from David.
I should also have noted that you can used a .PropertyPlaceholderConfigurer in which case you can choose the property name yourself. However, as FTPSERVER-282 points out, if using our custom schema, you will not be able to use this for numeric values, instead you would have to use the standard Spring <bean> tags. /niklas
