Opened 14 years ago

Closed 13 years ago

#173 closed task (fixed)

Deprecate MapFish widgets, remove lib

Reported by: adube Owned by:
Priority: major Milestone: 1.0.0
Component: widgets Version:
Keywords: Cc:

Description

Tasks

  • Deprecate the following widgets :
    • MapFishLayerTree
    • MapFishRecenter
  • Remove MapFish lib from externals
  • Adjust all samples (remove lib, replace/remove the above widgets)

  • Don't use MapFish build anymore, but GeoExt one instead

Required tasks before doing this one

  • #169
  • a widget to replace the MapFishRecenter

Change History (11)

comment:1 by adube, 14 years ago

Currently, all vector layers are created with the "mapfish.Protocol.MapFish" as protocol in the Map widget. We need to find a replacement for that as well.

comment:2 by etdube, 14 years ago

Looks like OpenLayers.Protocol.HTTP could be a direct replacement.

comment:3 by adube, 14 years ago

We used to use that one, but as soon as we integrated the editing widgets, we needed to switch to the mapfish protocol. I haven't looked or tried it yet, but we need to keep this in mind.

comment:4 by adube, 13 years ago

r949, r950 and r951, featuring :

  • externals removed :
    • mapfish-trunk
    • openlayers-trunk
    • geoext-core
    • geoext-ux
  • externals added :
    • mapfish-client-trunk (it includes MapFish, OpenLayers, GeoExt and GeoExt.ux, all trunk)
  • samples/config.php adjusted to point to the new libraries

A fresh checkout of the repository with all its externals weights :

  • (before) : 1.8G
  • (now) : 617M

comment:5 by adube, 13 years ago

I was wrong about one point. A fresh checkout of the new repository is : 393M.

comment:6 by adube, 13 years ago

And also about the weight of a fresh geoprisma checkout : was 1000M at r948. It must have been 1.8G because of svn local history. So that's 607M of useless stuff removed in the end.

comment:7 by adube, 13 years ago

Guys, forget everything about the sizes again. I just found out what had been messing me up.

On my Linux machine, my /home directory is encrypted, making every files in it bigger than they normally are. My GeoPrisma trunk is in /home. When I tested the sizes, I checked out a new version in /tmp since I was to get rid of it after, so the comparisons were wrong. The svn history didn't make that much of a difference either.

Here are the final and true test results (I swear they're okay this time) :

Sorry for the noise.

comment:8 by yvesm, 13 years ago

Build scripts aren't quite working yet; should clear that tomorrow

comment:9 by yvesm, 13 years ago

Build scripts are OK now except for "GeoExtux_shortcutcombo" being empty

comment:10 by adube, 13 years ago

Milestone: 1.0.0

comment:11 by adube, 13 years ago

Resolution: fixed
Status: newclosed

Widget deprecation will be covered by #309 instead. The part about removing the huge mapfish library being done, I'm closing this ticket as "fixed" for this task only.

Note: See TracTickets for help on using tickets.