Skip to content

lyrixderaven/WaveImport

 
 

Repository files navigation

************** DESCRIPTION

This project contains programs for import GWave waves to Wiab.
Imported all the waves in which specified user is a participant.
Wave Id's and wavelet Id's remain same, except domains.
Domains of participants are renamed to Wiab server domain.
Attachments are not imported now.


************** DO THE FOLLOWING
 
1) Get sources

 - Check out this project
	git clone git://github.com/jorkey/WaveImport.git
 - Check out the source code of Wiab
	svn co https://svn.apache.org/repos/asf/incubator/wave/trunk

2) Prepare Wiab

 - Copy following file from WaveImport repository to Wiab repository:
	wiab/src/org/waveprotocol/box/server/waveserver/ImportServlet.java
   		to
	src/org/waveprotocol/box/server/waveserver/ImportServlet.java
 - Modify Wiab source file /src/org/waveprotocol/box/server/ServerMain.java
	insert into begin of file line
		import org.waveprotocol.box.server.ImportServlet;
	append to method initializeServlets(Injector injector, ServerRpcProvider server) line
		server.addServlet("/import", ImportServlet.class);
 - Compile, configure and run Wiab

3) Compile WaveImport

 - Run ./run-build in WaveImport directory

4) Export waves from GWave to JSon files

 - Run ./run-export <ParticipantId> <ExportDir>
   Parameters are:
        ParticipantId - Wave participant name, for example
		vasya@@googlewave.com
	ExportDir - directory to write export files

   Copy/paste URL from console to browser. Press Enter.
   Copy/paste URL received code from browser to console.

5) Import waves to Wiab

  - Run ./run-import <WaveServerImportUrl> <WaveServerDomain> <ExportDir>
    Parameters are:
	WaveServerImportUrl - URL of import service, for example
		http://localhost:9898/import
	WaveServerDomain - domain of Wiab server, for example
		localhost
	ExportDir - directory with exported waves

About

Import waves from GWave to Wiab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%