[Mulgara-svn] r500 - branches/nw-interface/src/jar/itql/java/org/mulgara/itql
pag at mulgara.org
pag at mulgara.org
Wed Oct 24 21:58:54 UTC 2007
Author: pag
Date: 2007-10-24 16:58:54 -0500 (Wed, 24 Oct 2007)
New Revision: 500
Modified:
branches/nw-interface/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java
Log:
Fixed the call to TqlInterpreter for local backups. This should have gone in with r499
Modified: branches/nw-interface/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java
===================================================================
--- branches/nw-interface/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java 2007-10-24 21:57:21 UTC (rev 499)
+++ branches/nw-interface/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java 2007-10-24 21:58:54 UTC (rev 500)
@@ -761,7 +761,7 @@
}
/**
- * Backup all the data on the specified server or model to a local file.
+ * Backup all the data on the specified server or model to a client local file.
* The database is not changed by this method.
*
* @param sourceURI The URI of the server or model to backup.
@@ -770,7 +770,7 @@
* @throws QueryException if the backup cannot be completed.
*/
public void backup(URI sourceURI, File destinationFile) throws QueryException {
- Backup backup = new Backup(sourceURI, destinationFile.toURI());
+ Backup backup = new Backup(sourceURI, destinationFile.toURI(), true);
try {
backup.execute(interpreter.establishConnection(backup.getServerURI()));
} catch (MalformedURLException e) {
More information about the Mulgara-svn
mailing list