Re: [json-lib-user] Problems building from cvs
Brought to you by:
aalmiray
From: Andres A. <aal...@ya...> - 2007-12-10 20:15:26
|
Hmm that is really strange, CVS browse shows that pom.xml (1.49) has the updated groovy version. I'll double check it. A word of caution, though Groovy 1.5 is finally out it's pom is not ready on maven's repo (sad but true) so you'll have to download it from http://groovy.codehaus.org/Download and manually install it in your local repo for the time being. On your other question on setting an specific class of Set, I think it may be possible by setting the appropriate classMap entry if the Set is a property of a bean, but if the Set is nested within a List or another Set it may not be that simple. For the later case a morpher should be used in a second pass. The reason why Set was not supported is that json arrays do care about element order, whereas Sets do not (though TreeSet does) at least that is what Sun's docs say, I'll look at it tonight. Cheers, Andres ----- Original Message ---- From: Jonathan <jso...@ki...> To: jso...@li... Sent: Monday, December 10, 2007 12:03:52 PM Subject: Re: [json-lib-user] Problems building from cvs Andres Almiray wrote: > 1. I wasn't aware of this, I'll update it with the correct link once I'm > out of the current firewall, thanks for spotting it. Glad I could help in some way. > 2. yesterday I committed a fix to the pom.xml referencing groovy 1.5 > instead of 1.1-final-SNAPSHOT Just did another full checkout (just after 2pm in NY) and I'm still experiencing this problem. Looking at the pom.xml it does appear to still reference the old SNAPSHOT: <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> <version>1.1-final-SNAPSHOT</version> <scope>compile</scope> <optional>true</optional> </dependency> > 3. Json-lib 2.2 may come out before the holidays (or sooner), I was > expecting the groovy release. Great news. Unfortunately, I need to launch a beta in the next few days so I'm going to try an hack a fix with the current codebase to hold me over until 2.2. Thanks, Jonathan. --- [This E-mail scanned for viruses by Declude EVA] ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping |