Then, reconfigure RAMADDA to point to the new database and login again. Note: you'll have to add a new admin password, etc. Then go to the Admin->SQL page. If you saved the SQL file on the server then just enter:
file:/path/to/sql/filein the text area and hit execute.
If you have the SQL file on your local machine upload through the sql file form.
Its probably best to shutdown and then restart RAMADDA after doing this and you should have your old database running in the new RAMADDA.
If you changed systems then you also need to copy over the storage directory tree to the new system. This is in:
<ramadda_home>/storage
lib/repositorylib.jar lib/repositorytds.jarTo compile stand-alone (e.g., using javac) put those 2 jar files in your class path.
To compile using ant:
The default ant target (all) will compile the repository source and create:
lib/repository.jar lib/repository.warYou can run the repository stand-alone by doing:
java -jar repository.jar
The repository.war is a tomcat war file that needs to be placed in the tomcat install area.