dwins / mapnik2geotools

Using the Scala XML API to translate from Mapnik XML to GeoTools' SLD dialect
64 stars 22 forks source link

Can't build mapnik2geotools using sbt 0.11.0 #27

Closed bronaugh closed 12 years ago

bronaugh commented 12 years ago

Hi,

I can't seem to build mapnik2geotools using sbt 0.11.0. I fixed one problem where it tried to download scala 0.10.0 for scala 2.9.1 (changed that to 0.11.0). Now, I've run into a bit of a brick wall, as I'm not familiar with Scala or SBT. SBT ends up trying to fetch a package that doesn't exist (http://scala-tools.org/repo-releases/com/eed3si9n/sbt-assembly_2.9.1/sbt0.11.0_0.3/sbt-assembly_2.9.1-sbt0.11.0_0.3.jar for instance). I've looked at the file project/plugins/assembly.sbt, but the syntax is beyond me (as I said, I'm not familiar with scala or sbt).

Could you fix the build file such that it downloads sbt_assembly 0.7.1 or whatever the latest is?

Thanks.

dwins commented 12 years ago

whoa, looks like they changed the plugin configuration a fair bit for SBT 0.11. I think f133b1a6b51931757cdeba12a69295fae386b109 will get you going though. Please use git clean -dxff before you try a build to clean up a few caches, I had a few false starts while trying to sort this out because I didn't.

If that fixes the build for you feel free to close the issue.

bronaugh commented 12 years ago

Just tested this. Pulled fresh from git:

bronaugh@medusa:~/dwins-mapnik2geotools$ sbt build [info] Loading project definition from /home/bronaugh/dwins-mapnik2geotools/project [info] Updating {file:/home/bronaugh/dwins-mapnik2geotools/project/}default-40932e... [info] Done updating. /home/bronaugh/dwins-mapnik2geotools/build.sbt:1: error: not found: object AssemblyKeys import AssemblyKeys._ ^ [error] Type error in expression Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q

Not sure why this is going sideways. Help?

David

On 06/10/11 03:49 PM, David Winslow wrote:

whoa, looks like they changed the plugin configuration a fair bit for SBT 0.11. I think f133b1a6b51931757cdeba12a69295fae386b109 will get you going though. Please use git clean -dxff before you try a build to clean up a few caches, I had a few false starts while trying to sort this out because I didn't.

If that fixes the build for you feel free to close the issue.

bronaugh commented 12 years ago

Also, I understand you're occasionally on IRC. If that works for you, I'll be in #mapnik, user bronaugh.

David

On 06/10/11 03:49 PM, David Winslow wrote:

whoa, looks like they changed the plugin configuration a fair bit for SBT 0.11. I think f133b1a6b51931757cdeba12a69295fae386b109 will get you going though. Please use git clean -dxff before you try a build to clean up a few caches, I had a few false starts while trying to sort this out because I didn't.

If that fixes the build for you feel free to close the issue.

dwins commented 12 years ago

I think I forgot a file when making that last commit. I'm not at my computer now but I should be able to add it in a few hours. On Oct 6, 2011 7:35 PM, "bronaugh" < reply@reply.github.com> wrote:

Also, I understand you're occasionally on IRC. If that works for you, I'll be in #mapnik, user bronaugh.

David

On 06/10/11 03:49 PM, David Winslow wrote:

whoa, looks like they changed the plugin configuration a fair bit for SBT 0.11. I think f133b1a6b51931757cdeba12a69295fae386b109 will get you going though. Please use git clean -dxff before you try a build to clean up a few caches, I had a few false starts while trying to sort this out because I didn't.

If that fixes the build for you feel free to close the issue.

Reply to this email directly or view it on GitHub: https://github.com/dwins/mapnik2geotools/issues/27#issuecomment-2316386

dwins commented 12 years ago

Ok, added the plugin configuration in c7b288bbf0 . I think that'll really do it this time. If you want to catch me on IRC tomorrow's not a great day but I should be around next week.

bronaugh commented 12 years ago

Looks like we're golden this time. Thanks!

David

On Thu, Oct 6, 2011 at 7:33 PM, David Winslow < reply@reply.github.com>wrote:

Ok, added the plugin configuration in c7b288bbf0 . I think that'll really do it this time. If you want to catch me on IRC tomorrow's not a great day but I should be around next week.

Reply to this email directly or view it on GitHub: https://github.com/dwins/mapnik2geotools/issues/27#issuecomment-2317447