Changeset 15311

Show
Ignore:
Timestamp:
30.04.2008 17:00:38 (12 years ago)
Author:
oranfry
Message:

deleting unneeded compiled classes

Location:
release-kits/shared/ant-installer
Files:
1 added
4 removed
7 modified

Legend:

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

    r14982 r15311  
    6262    //targets are ordered 
    6363    private int idx; 
     64    private String diskRequirement; 
    6465 
    6566    private static int globalIdx = 1; 
     
    9091    } 
    9192 
     93    public void setDiskRequirement(String diskRequirement) { 
     94        this.diskRequirement = diskRequirement; 
     95    } 
     96 
    9297    public String getForce() { 
    9398        return force; 
     
    98103    } 
    99104 
    100  
    101105    public String getStrict() { 
    102106        return strict; 
     
    113117    public void setOsSpecific(String osSpecific) { 
    114118        this.osSpecific = osSpecific; 
     119    } 
     120 
     121    public String getDiskRequirement() { 
     122        return diskRequirement; 
    115123    } 
    116124 
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/page/SimpleInputPage.java

    r14982 r15311  
    2525 
    2626    private String ifTarget; 
    27     private String ifProperty; 
     27    private String ifProperty; 
    2828    private boolean overflow; 
    2929 
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/renderer/swing/TargetInputRenderer.java

    r15206 r15311  
    3838 
    3939    protected AILabel fieldLabel = new AILabel(); 
     40    protected AIShortLabel sizeLabel = new AIShortLabel(); 
    4041    protected JCheckBox targetCheckBox = new JCheckBox(); 
     42 
    4143 
    4244    public TargetInputRenderer() { 
     
    8082    private void jbInit() throws Exception { 
    8183        fieldLabel.setText(outputField.getDisplayText()); 
     84        sizeLabel.setText(outputField.getDiskRequirement()); 
     85        sizeLabel.setMinimumSize( new Dimension( 80, 0 ) ); 
    8286        targetCheckBox.setSelected(InputField.isTrue(outputField.getDefaultValue())); 
    8387        if(InputField.isTrue(outputField.getForce())){ 
     
    9498    public int addSelf(JPanel content,GBCF cf,  int row,boolean overflow) { 
    9599 
    96         JLabel h = new JLabel("help"); 
    97         h.setToolTipText(outputField.getExplanatoryText()); 
    98100 
    99         JPanel p, pp; 
     101        JLabel hlp = new JLabel("help"); 
     102        hlp.setToolTipText(outputField.getExplanatoryText()); 
    100103 
    101         pp = new JPanel(new FlowLayout(FlowLayout.LEFT)); 
    102         pp.add( targetCheckBox ); 
    103         pp.add( h ); 
     104        JPanel p; 
    104105 
    105         p = new JPanel(new BorderLayout()); 
    106         p.add( fieldLabel, BorderLayout.WEST ); 
    107         p.add( pp, BorderLayout.CENTER ); 
     106        p = new JPanel(new FlowLayout(FlowLayout.LEFT)); 
     107        p.add( fieldLabel ); 
     108        p.add( sizeLabel ); 
     109        p.add( targetCheckBox ); 
     110        p.add( hlp ); 
    108111        content.add(p); 
    109112 
    110         p = new JPanel(); 
    111         p.setMinimumSize( new Dimension(0,1) ); 
    112         content.add(p); 
    113  
    114  
    115          
    116         //if(overflow){ 
    117         //  targetCheckBox.setOverflow(SizeConstants.OVERFLOW_FIELD_SIZE); 
    118         //} 
    119113        return ++row; 
    120114    } 
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/selfextract/SelfExtractor.java

    r15144 r15311  
    125125        File curDir = new File("t.tmp").getParentFile(); 
    126126        extractDir = new File(curDir, "antinstall"); 
    127         int idx = 0; 
    128         while (extractDir.exists()) { 
    129             extractDir = new File(curDir, "antinstall" + (idx++)); 
    130     } 
     127        for ( int i=0; extractDir.exists(); i++) { 
     128            extractDir = new File(curDir, "antinstall" + i); 
     129        } 
    131130        extractDir.mkdirs(); 
    132131        extractDir.deleteOnExit();