sebastienblanc / geolocation

Geolocation grails plugin
http://www.grails.org/plugin/geolocation
Other
13 stars 8 forks source link

Compile error in geolocation plugin #2

Closed huberm closed 12 years ago

huberm commented 12 years ago

When using the iwebkit plugin itself depending on geolocation 0.2 I get compile errors

e.g.:

plugins/geolocation-0.2/src/groovy/org/grails/plugins/geolocation/utils/GeoUtils.groovy: 5: unable to resolve class com.javadocmd.simplelatlng.LatLng @ line 5, column 1. import com.javadocmd.simplelatlng.LatLng; ^

sebastienblanc commented 12 years ago

Hi, It is known issue, for now you can fix it by adding the dependency directly in the BuildConfig.groovy of your project :

dependencies { // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.

    // runtime 'mysql:mysql-connector-java:5.1.13'
    runtime 'com.javadocmd:simplelatlng:1.0.0'
}

On Wed, Nov 9, 2011 at 11:44 AM, huberm < reply@reply.github.com>wrote:

When using the iwebkit plugin itself depending on geolocation 0.2 I get compile errors

e.g.:

plugins/geolocation-0.2/src/groovy/org/grails/plugins/geolocation/utils/GeoUtils.groovy: 5: unable to resolve class com.javadocmd.simplelatlng.LatLng @ line 5, column 1. import com.javadocmd.simplelatlng.LatLng; ^


Reply to this email directly or view it on GitHub: https://github.com/sebastienblanc/geolocation/issues/2

huberm commented 12 years ago

Hi Sebastien,

thought of that as well. Maybe a comment on the plugins page would be of help.

Thanks, Matthias

IanZlik commented 12 years ago

Hi,

I agree with huberm, just started playing with this very promising plugin and this issue pops up right on the very beginning. As long as it is unresolved you should have something on the plugin page (which is much more informative than other plugin pages - so kudos on that).

Ian

sebastienblanc commented 12 years ago

Hi, I've just released 0.3 that would correct the dependency issue !

gauravchauhan commented 12 years ago

@huberm : If you have verified the latest release. Can you please close this issue ?

huberm commented 12 years ago

Tested 0.4 version with Grails 2.0. Seems to be fixed (at least my test app compiles)