There's recently been some discussion about how to make wave in a box
work on windows. Configuration through UNIX shell scripts makes this a
bit tricky.

I've converted the run-nofed-config.bat so it works on windows and
runs the server after its done. I'm not sure if we'll commit this to
the repository - Alex would rather we change all our configuration
scripts to use java property files instead; and then the example
configuration files we have will be universal. I tend to agree with
him.

For now though, everything seems to work just fine. You'll need to
remove the .txt on the end of the filename to make it work (gmail
refuses to send a .bat file without the .txt). But I can even
double-click the .bat file in explorer and the server starts up and
runs just fine.

To get the source on my windows machine, I used tortoisehg[1] and I
compiled using winant[2]. (Thanks James)

Hope that helps.
Joseph

[1] http://tortoisehg.bitbucket.org/download/index.html
[2] http://code.google.com/p/winant/
(Then I compiled using:
ant
ant compile_gwt )

-- 
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 FEDONE_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\fedone-server-%FEDONE_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