1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 20:15:22 +02:00

[191482] [importexport][efs] Export from Project on a remote EFS project Errors

This commit is contained in:
David McKnight 2009-11-06 15:56:21 +00:00
parent dff4d56251
commit db2c0c4ea1

View file

@ -118,6 +118,7 @@ class RemoteExporter {
OutputStream outstream = rfss.getOutputStream(remoteParent, remoteFile, IFileService.NONE, new NullProgressMonitor());
InputStream instream = file.getContents();
try {
int length = 1000;
byte[] buffer = new byte[length];
@ -132,10 +133,13 @@ class RemoteExporter {
done = true;
}
}
}
finally {
instream.close();
outstream.close();
}
}
}
/**
* Writes the passed resource to the specified location recursively