mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 23:25:26 +02:00
in copyBatch, need to make sure that we have a target folder instead of a target filter
This commit is contained in:
parent
8003369904
commit
9aea36c02e
1 changed files with 5 additions and 0 deletions
|
@ -1184,6 +1184,11 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
|
|||
DataStore ds = getDataStore();
|
||||
|
||||
DataElement tgtDE = getElementFor(tgtParent);
|
||||
if (tgtDE.getType().equals(IUniversalDataStoreConstants.UNIVERSAL_FILTER_DESCRIPTOR))
|
||||
{
|
||||
// get the property queried object
|
||||
dsQueryCommand(tgtDE, IUniversalDataStoreConstants.C_QUERY_GET_REMOTE_OBJECT, monitor);
|
||||
}
|
||||
DataElement cpCmd = getCommandDescriptor(tgtDE, IUniversalDataStoreConstants.C_COPY_BATCH);
|
||||
|
||||
if (cpCmd != null)
|
||||
|
|
Loading…
Add table
Reference in a new issue