In jruby, I’m trying to reference a static variable using
DefaultGeographicCRS.WGS84
but JRuby is trying to call it as a method rather than a variable?:
undefined method `WGS84’ for
Java::OrgGeotoolsReferencingCrs::DefaultGeographicCRS:Class
(NoMethodError)
The same syntax(DefaultGeographicCRS.WGS84) in java works.
the declaration:
public static class DefaultGeographicCRS extends
org.geotools.referencing.crs.AbstractSingleCRS implements
org.opengis.referencing.crs.GeographicCRS{
public static final org.geotools.referencing.crs.DefaultGeographicCRS
WGS84;
Any ideas for a workaround?
–
Tommy C.
Programmer and UC Irvine Graduate Student
Twitter @tommychheng
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email