view inkscape/firefox/README @ 870:512204bcafba

Export the function to create a runtime for an existed window for X. For some application, we need to create and associate a runtime with an existed window, and free it the runtime without close the window, later.
author Thinker K.F. Li <thinker@codemud.net>
date Fri, 24 Sep 2010 11:19:53 +0800
parents 63aaf96209cd
children
line wrap: on
line source

Installation
=======================================
(1) Install mozplugger
(2) Install twisted & python
(3) Install soappy
(4) Install madbuilder.xpi




How to execute the unit test
======================================

(1) Execute the proxy damon

First of all, we need to execute the MadButterfly helper. This help will start the inkscape and then execute a SOAP proxy to wait for the commands from the web client.

# python helper_mb.py


(2) Use testsoap.py to send command to helper.

# python testsoap.py START
# python testsoap.py SCENE 1
# python testsoap.py PUBLISH