Changeset 17314

Show
Ignore:
Timestamp:
18.09.2008 09:08:42 (11 years ago)
Author:
oranfry
Message:

fixed the install seen as failure bug finally :) and put install cancelled message into language properties files

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

Legend:

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

    r15210 r17314  
    9191                FinalizerFilter ff = (FinalizerFilter)filters[filters.length - 1]; 
    9292                ff.exec(ctx); 
    93                 System.exit(1); 
     93                System.exit(0); 
    9494            } 
    9595            catch (Exception ex) { 
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/runtime/exe/ExecuteRunnerFilter.java

    r17153 r17314  
    1616package org.tp23.antinstaller.runtime.exe; 
    1717 
     18import java.util.ResourceBundle; 
    1819import org.tp23.antinstaller.InstallException; 
    1920import org.tp23.antinstaller.InstallerContext; 
     
    2728public class ExecuteRunnerFilter implements ExecuteFilter { 
    2829 
     30    private static final ResourceBundle res = ResourceBundle.getBundle("resources.LanguagePack"); 
     31 
    2932    /** 
    3033     * @see org.tp23.antinstaller.runtime.exe.ExecuteFilter#exec(org.tp23.antinstaller.InstallerContext) 
     
    3639        boolean ok = ctx.getRunner().runInstaller(); 
    3740        if(!ok){ 
    38             //throw new AbortException("Install Cancelled"); 
    39             return; 
     41            throw new AbortException(res.getString("install-cancelled")); 
    4042        } 
    4143        ctx.log("Install screens rendered");