Uploaded image for project: 'Wave'
  1. Wave
  2. WAVE-306

Bad dependency from org.waveprotocol.wave to org.waveprotocol.box

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Web Client
    • None

    Description

      Hi Yuri,
      your change http://svn.apache.org/viewvc?view=revision&revision=1187363 introduced a reverse dependency that breaks walkaround. I believe org.waveprotocol.wave is not supposed to depend on org.waveprotocol.box - the dependency is supposed to go the other way only.

      Specifically, http://codereview.waveprotocol.org/616002/diff/2003/1033 made EditToolbar depend on HistorySupport. This breaks walkaround because it makes it impossible to pull in undercurrent without also pulling in a GWT entry point that tries to initialize socket.io. Since walkaround doesn't use socket.io, this initialization fails. (I studied this a while ago but didn't get around to reporting a bug back then, I hope my recollection is not too far off.)

      Walkaround's get-third-party-deps script works around this by specifically downloading revision 1187362 of Apache Wave, but that's not a good long-term solution.

      Maybe HistorySupport.waveRefFromHistoryToken should be moved to GwtWaverefEncoder? Or do you see a better way?

      Attachments

        Activity

          People

            yurize Yuri Zelikov
            ohler Christian Ohler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: