org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/projectimport/WrtProjectLocationWizardPage.java
changeset 292 d1d1c556b0d1
parent 266 f0f78f7ebf4d
equal deleted inserted replaced
291:279eaef091eb 292:d1d1c556b0d1
  1059 	 */
  1059 	 */
  1060 	public String queryOverwrite(String pathString) {
  1060 	public String queryOverwrite(String pathString) {
  1061 
  1061 
  1062 		Path path = new Path(pathString);
  1062 		Path path = new Path(pathString);
  1063 
  1063 
       
  1064         if (path.segmentCount() > 1 && ".settings".equals(path.segment(1))) {
       
  1065             return NO;
       
  1066         }
       
  1067 
  1064 		String messageString;
  1068 		String messageString;
  1065 		// Break the message up if there is a file name and a directory
  1069 		// Break the message up if there is a file name and a directory
  1066 		// and there are at least 2 segments.
  1070 		// and there are at least 2 segments.
  1067 		if (path.getFileExtension() == null || path.segmentCount() < 2) {
  1071 		if (path.getFileExtension() == null || path.segmentCount() < 2) {
  1068 			messageString = NLS.bind(
  1072 			messageString = NLS.bind(