If its useful to anyone, here's a simple .bat script which makes
wave-in-a-box run on windows. You'll need to compile it with ant first
(ant, ant compile_gwt).

-J

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

rem Configuration for the FedOne run scripts without federation support.  To add
rem federation support see run-config.sh.example.

rem Domain name of the wave server 
set WAVE_SERVER_DOMAIN_NAME=localhost

rem Host name and port the wave server's client frontend listens on
set WAVE_SERVER_HOSTNAME=localhost
set WAVE_SERVER_PORT=9876

rem Host name and port the wave server's websocket frontend listens on
set WEBSOCKET_SERVER_HOSTNAME=localhost
set WEBSOCKET_SERVER_PORT=9898

rem The version of FedOne
set VERSION=0.3

rem Disabled federation, as promised.
set ENABLE_FEDERATION=false

rem These are not used but have to be set to non-empty values.
set XMPP_SERVER_SECRET=opensesame
set PRIVATE_KEY_FILENAME=%WAVE_SERVER_DOMAIN_NAME%.key
set CERTIFICATE_FILENAME_LIST=%WAVE_SERVER_DOMAIN_NAME%.crt
set CERTIFICATE_DOMAIN_NAME=%WAVE_SERVER_DOMAIN_NAME%
set XMPP_SERVER_HOSTNAME=%WAVE_SERVER_DOMAIN_NAME%
set XMPP_SERVER_PORT=5275
set XMPP_SERVER_PING=wavesandbox.com
set XMPP_SERVER_IP=%XMPP_SERVER_HOSTNAME%
set WAVESERVER_DISABLE_VERIFICATION=true
set WAVESERVER_DISABLE_SIGNER_VERIFICATION=true

rem Settings for the different persistence stores. Currently supported: 
'memory' and 'mongodb'
set CERT_PATH_STORE_TYPE=memory

rem Currently supported attachment types: mongodb, disk
set ATTACHMENT_STORE_TYPE=disk

rem The location where attachments are stored on disk. This should be changed.
rem Note: This is only used when using the disk attachment store. It is ignored
rem for other data store types.
set ATTACHMENT_STORE_DIRECTORY=_attachments

rem Currently supported Account store types: memory
set ACCOUNT_STORE_TYPE=fake

java %DEBUG_FLAGS% -Dorg.eclipse.jetty.util.log.DEBUG=true 
-Djava.security.auth.login.config=jaas.config -jar 
dist\waveinabox-server-%VERSION%.jar 
--client_frontend_hostname=%WAVE_SERVER_HOSTNAME% 
--client_frontend_port=%WAVE_SERVER_PORT% 
--wave_server_domain=%WAVE_SERVER_DOMAIN_NAME% --xmpp_component_name=wave 
--xmpp_jid=wave.%WAVE_SERVER_DOMAIN_NAME% --xmpp_server_description="FedOne" 
--xmpp_server_hostname=%XMPP_SERVER_HOSTNAME% --xmpp_server_ip=%XMPP_SERVER_IP% 
--xmpp_server_port=%XMPP_SERVER_PORT% --xmpp_server_secret %XMPP_SERVER_SECRET% 
--xmpp_server_ping=%XMPP_SERVER_PING% 
--certificate_private_key=%PRIVATE_KEY_FILENAME% 
--certificate_files=%CERTIFICATE_FILENAME_LIST% 
--certificate_domain=%CERTIFICATE_DOMAIN_NAME% 
--waveserver_disable_verification=%WAVESERVER_DISABLE_VERIFICATION% 
--waveserver_disable_signer_verification=%WAVESERVER_DISABLE_SIGNER_VERIFICATION%
 --http_frontend_hostname=%WEBSOCKET_SERVER_HOSTNAME% 
--http_frontend_port=%WEBSOCKET_SERVER_PORT% 
--enable_federation=%ENABLE_FEDERATION% 
--cert_path_store_type=%CERT_PATH_STORE_TYPE% 
--attachment_store_type=%ATTACHMENT_STORE_TYPE% 
--attachment_store_directory=%ATTACHMENT_STORE_DIRECTORY% 
--account_store_type=%ACCOUNT_STORE_TYPE%

Reply via email to