1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-08 17:45:24 +02:00

Fix [168586] LocalFileService.isCaseSensitive() is false on Windows

This commit is contained in:
Martin Oberhuber 2006-12-20 19:01:11 +00:00
parent 75f3d306dd
commit b8c9ed86bc
3 changed files with 7 additions and 4 deletions

View file

@ -2,7 +2,7 @@
<feature <feature
id="org.eclipse.rse.local" id="org.eclipse.rse.local"
label="%featureName" label="%featureName"
version="1.0.1.qualifier" version="1.0.2.qualifier"
provider-name="%providerName" provider-name="%providerName"
plugin="org.eclipse.rse.services.local"> plugin="org.eclipse.rse.services.local">

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: %pluginName Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.rse.services.local;singleton:=true Bundle-SymbolicName: org.eclipse.rse.services.local;singleton:=true
Bundle-Version: 1.0.1.qualifier Bundle-Version: 1.0.2.qualifier
Bundle-Activator: org.eclipse.rse.services.local.Activator Bundle-Activator: org.eclipse.rse.services.local.Activator
Bundle-Vendor: %providerName Bundle-Vendor: %providerName
Bundle-Localization: plugin Bundle-Localization: plugin

View file

@ -12,6 +12,7 @@
* *
* Contributors: * Contributors:
* Javier Montalvo Orús (Symbian) - patch for bug 163103 - NPE in filters * Javier Montalvo Orús (Symbian) - patch for bug 163103 - NPE in filters
* Martin Oberhuber (Wind River) - fix 168586 - isCaseSensitive() on Windows
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.services.local.files; package org.eclipse.rse.services.local.files;
@ -1190,7 +1191,9 @@ public class LocalFileService extends AbstractFileService implements IFileServic
* @param sourceFolderOrFile The file or folder to copy * @param sourceFolderOrFile The file or folder to copy
* @param targetFolder The folder to copy to. No guarantee it is on the same system, so be sure to check getSystemConnection()! * @param targetFolder The folder to copy to. No guarantee it is on the same system, so be sure to check getSystemConnection()!
* @param newName The new name for the copied file or folder * @param newName The new name for the copied file or folder
* @param encoding The encoding for the file once it is extracted from the archive * @param sourceEncoding encoding of source file
* @param targetEncoding desired encoding of target file
* @param isText currently unused
* @return true iff the copy succeeded * @return true iff the copy succeeded
*/ */
public boolean copyFromArchive(File sourceFolderOrFile, File targetFolder, String newName, IProgressMonitor monitor, String sourceEncoding, String targetEncoding, boolean isText) throws SystemMessageException public boolean copyFromArchive(File sourceFolderOrFile, File targetFolder, String newName, IProgressMonitor monitor, String sourceEncoding, String targetEncoding, boolean isText) throws SystemMessageException
@ -1294,7 +1297,7 @@ public class LocalFileService extends AbstractFileService implements IFileServic
public boolean isCaseSensitive() public boolean isCaseSensitive()
{ {
return true; return !isWindows();
} }
public boolean copyBatch(IProgressMonitor monitor, String[] srcParents, String[] srcNames, String tgtParent) throws SystemMessageException public boolean copyBatch(IProgressMonitor monitor, String[] srcParents, String[] srcNames, String tgtParent) throws SystemMessageException