The D language (DLANG) provides a standard library to read CSV files. Unfortunately, the documentation does not show any examples which reads a file. Instead, the documentation shows how to use the CSV library from a string. It’s not very useful since we always read CSV format from files rather than string variables …
Anyway, since there are very few examples of DLANG (D language) code on Internet, I am going to explain how I managed to read properly a CSV file with the std.csv lib and stock line values into an associative array.
If you need tu use Axis-1.4 and wss4j-1.5 with Jboss 7, you could have some runtime exceptions with xmlsec because wss4j-1.5 needs xmlsec-1.4.2 and Jboss has xmlsec-1.5.1 in its classpath and it won’t use your application jar but the one inside Jboss modules. Continue reading
I was looking for a way to inject values of my .properties files into a annotation driven bean. I had configured a PropertyPlaceholderConfigurer but you cannot inject values of your .properties with this bean. The solution is to configure a PropertiesFactoryBean with it. Continue reading