Hello Robert,

thanks for the help; I'll try a non-generic list and the latest code from HEAD over the weekend and I'll let you know about the results.

What do you think about including the source code for a sample generic list / non generic list in the tutorials on http://jakarta.apache.org/commons/betwixt/guide/tutorial.html ? A cut-copy-paste example for serializing / deserializing lists would be very helpful for other users I think.

Rgds
Holger



robert burrell donkin wrote:

On Fri, 2005-09-16 at 11:07 +0200, Holger Haag wrote:
<snip>
Hello Robert,

thank you very much for the information and your time. I actually have the same problems with maps and lists, so maybe the map example was not the best choice.

The problem remains pretty much the same:

I am trying to serialize and deserialize a List (generic ArrayList<>) using betwixt (version 0.6). Serialization (Converting the bean to XML) works fine but deserialization does not. The map is always empty. To isolate the problems I have created a unit test which should succeed but ... fails.

sorry for misleading you before: it appears that the tiger generics work
fine (at least on my machine) without any further work. could you retry with the latest code from HEAD?
either roll your own - which is very easy with maven
(http://maven.apache,org) and svn (see
http://www.apache.org/dev/svn-anon.html,
http://www.apache.org/dev/svn-faq.html and http://svnbook.red-bean.com/)
- or download a recent nightly
(http://cvs.apache.org/builds/jakarta-commons/nightly/)

- robert


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to