greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17823

Show
Ignore:
Timestamp:
2008-11-12 12:36:50 (2 months ago)
Author:
oranfry
Message:

dont proceed if we cant create the folder, and dont show hidden files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/input/DirectoryInput.java

    r17622 r17823  
    7878                                catch (Exception ex) { 
    7979                                        mr.printMessage(org.tp23.antinstaller.Installer.langPack.getString("canNotCreateFile") + "\n" + file.getAbsolutePath()); 
     80                                        return false; 
    8081                    //FIXME should not throw here, should do something better so users on linux can chmod where necessary 
    8182                    // then try again 
    82                                         throw new ValidationException(org.tp23.antinstaller.Installer.langPack.getString("canNotCreateFile"),ex); 
     83                                        //throw new ValidationException(org.tp23.antinstaller.Installer.langPack.getString("canNotCreateFile"),ex); 
    8384                                         
    8485                                } 
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/renderer/swing/DirectoryInputRenderer.java

    r17569 r17823  
    9393                                if(chooser==null){ 
    9494                                        chooser = new DefaultingDirectoryChooser(createMode); 
    95                                         chooser.setFileHidingEnabled(false); 
     95                                        //chooser.setFileHidingEnabled(false); 
    9696                                } 
    9797