Changeset 17832

Show
Ignore:
Timestamp:
12.11.2008 15:26:22 (11 years ago)
Author:
oranfry
Message:

another crack not proceeding unless the folder was created

Location:
release-kits/shared/ant-installer
Files:
2 modified

Legend:

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

    r17823 r17832  
    7070                        if(!ok){ 
    7171                            mr.printMessage(org.tp23.antinstaller.Installer.langPack.getString("dirNotCreated")); 
     72                            return false; 
    7273                        } 
    7374                    } else { 
     
    7879                catch (Exception ex) { 
    7980                    mr.printMessage(org.tp23.antinstaller.Installer.langPack.getString("canNotCreateFile") + "\n" + file.getAbsolutePath()); 
    80                     return false; 
    8181                    //FIXME should not throw here, should do something better so users on linux can chmod where necessary 
    8282                    // then try again 
    83                     //throw new ValidationException(org.tp23.antinstaller.Installer.langPack.getString("canNotCreateFile"),ex); 
     83                    throw new ValidationException(org.tp23.antinstaller.Installer.langPack.getString("canNotCreateFile"),ex); 
    8484                     
    8585                }