Opened 3 years ago

Closed 3 years ago

#1966 closed enhancement (fixed)

Addressbook: Replace webapp with client

Reported by: zzz Owned by:
Priority: minor Milestone: 0.9.30
Component: apps/addressbook Version: 0.9.29
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

Move classes from war to jar, start via clients.config, because:

  • Eliminate dependency on console, to allow lightweight router with addressbook
  • Allow packaging of components http://zzz.i2p/topics/2255
  • Easier Android build (we have a special target to build addressbook.jar)
  • Confusing UI (we have addressbook in /configwebapps)

Since we already have the jar target for android, the build is easy.

New installs is easy - add something to clients.config to start it

Or we could start from susidns, leaving essentially status quo. We could register as a ClientApp?, so susidns could check if already running first?

Tricky to automatically add something to clients.config on upgrade, may not be the best way.

Also have to replace with empty war and not try to start it.

Subtickets

Change History (2)

comment:1 Changed 3 years ago by zzz

Plan:

  • Put empty war in the update (but not installer)
  • RouterConsoleRunner? skips the war
  • Start from SusiDNS (not clients.config)
  • Register as ClientApp?
  • For embedded, start from clients.config or programmatically as in Android

comment:2 Changed 3 years ago by zzz

Milestone: 0.9.310.9.30
Resolution: fixed
Status: newclosed

In ecd46897a59dcca64ad086c0ddc58050d464d78d 0.9.29-7

Didn't bother with ClientApp? registration, not necessary.

Note: See TracTickets for help on using tickets.