mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 12:35:22 +02:00
[191482] [importexport][efs] Export from Project on a remote EFS project Errors
This commit is contained in:
parent
dff4d56251
commit
db2c0c4ea1
1 changed files with 18 additions and 14 deletions
|
@ -118,6 +118,7 @@ class RemoteExporter {
|
||||||
OutputStream outstream = rfss.getOutputStream(remoteParent, remoteFile, IFileService.NONE, new NullProgressMonitor());
|
OutputStream outstream = rfss.getOutputStream(remoteParent, remoteFile, IFileService.NONE, new NullProgressMonitor());
|
||||||
|
|
||||||
InputStream instream = file.getContents();
|
InputStream instream = file.getContents();
|
||||||
|
try {
|
||||||
int length = 1000;
|
int length = 1000;
|
||||||
byte[] buffer = new byte[length];
|
byte[] buffer = new byte[length];
|
||||||
|
|
||||||
|
@ -132,10 +133,13 @@ class RemoteExporter {
|
||||||
done = true;
|
done = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
finally {
|
||||||
instream.close();
|
instream.close();
|
||||||
outstream.close();
|
outstream.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Writes the passed resource to the specified location recursively
|
* Writes the passed resource to the specified location recursively
|
||||||
|
|
Loading…
Add table
Reference in a new issue