I got an error trying to build the trunk
main\src\main\java\org\geoserver\catalog\impl\ModificationProxy.java:[221,51]
incompatible types found java.util.List<java.lang.Class<?>> required java.util.List<java.lang.Class>
changed line 221 in
ModificationProxy class to: List<Class<?>> proxyInterfaces = Arrays.asList( proxyObject.getClass().getInterfaces() );
and it works again.
hope this is valuable info to anyone 
Cheers Kris
Kris Geusebroek
Consultant
Xebia Blog ! http://blog.xebia.com/
Xebia Podcast! http://podcast.xebia.com/
Kris Geusebroek ha scritto:
I got an error trying to build the trunk
main\src\main\java\org\geoserver\catalog\impl\ModificationProxy.java:[221,51]
incompatible types found java.util.List<java.lang.Class<?>> required java.util.List<java.lang.Class>
changed line 221 in
ModificationProxy class to: List<Class<?>> proxyInterfaces = Arrays.asList( proxyObject.getClass().getInterfaces() );
and it works again.
hope this is valuable info to anyone 
Interesting error... are you trying to build with Java 6?
GeoServer is meant to be buildable only with java 5 (to ensure it
actually can run there), thought we had talks about setting
up an automated daily build to check it builds with java 6 also.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Hi Andrea,
I'm building with java 1.6.0_11 yes.
After fixing it did run successfully (although I saw some exceptions in
tests)
Cheers Kris
-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com]
Sent: Tuesday, March 10, 2009 8:45 AM
To: Kris Geusebroek
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Error building trunk
Kris Geusebroek ha scritto:
I got an error trying to build the trunk
main\src\main\java\org\geoserver\catalog\impl\ModificationProxy.java:[22
1,51]
incompatible types found java.util.List<java.lang.Class<?>> required
java.util.List<java.lang.Class>
changed line 221 in
ModificationProxy class to: List<Class<?>> proxyInterfaces =
Arrays.asList( proxyObject.getClass().getInterfaces() );
and it works again.
hope this is valuable info to anyone 
Interesting error... are you trying to build with Java 6?
GeoServer is meant to be buildable only with java 5 (to ensure it
actually can run there), thought we had talks about setting
up an automated daily build to check it builds with java 6 also.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Should not be hard to get the build to compile in java 6. I will throw that on my todo list for today.
-Justin
Kris Geusebroek wrote:
Hi Andrea,
I'm building with java 1.6.0_11 yes.
After fixing it did run successfully (although I saw some exceptions in
tests)
Cheers Kris
-----Original Message-----
From: Andrea Aime [mailto:aaime@anonymised.com] Sent: Tuesday, March 10, 2009 8:45 AM
To: Kris Geusebroek
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Error building trunk
Kris Geusebroek ha scritto:
I got an error trying to build the trunk
main\src\main\java\org\geoserver\catalog\impl\ModificationProxy.java:[22
1,51]
incompatible types found java.util.List<java.lang.Class<?>> required java.util.List<java.lang.Class>
changed line 221 in
ModificationProxy class to: List<Class<?>> proxyInterfaces = Arrays.asList( proxyObject.getClass().getInterfaces() );
and it works again.
hope this is valuable info to anyone 
Interesting error... are you trying to build with Java 6?
GeoServer is meant to be buildable only with java 5 (to ensure it
actually can run there), thought we had talks about setting
up an automated daily build to check it builds with java 6 also.
Cheers
Andrea
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.