Changeset 17839 for release-kits/shared/uninstaller/Uninstaller.java
- Timestamp:
- 2008-11-12T16:11:56+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/shared/uninstaller/Uninstaller.java
r17828 r17839 266 266 try { 267 267 smp = getPropertyValue( "startmenu.path", gs2InstallProps ); 268 } catch ( Exception e ) {} 268 } catch ( Exception e ) { 269 System.err.println( e.getMessage() ); 270 } 269 271 if ( smp != null ) { 270 272 startMenuPath = new File( smp ); … … 274 276 try { 275 277 smp = getPropertyValue( "startmenu.path", gs3InstallProps ); 276 } catch ( Exception e ) {} 278 } catch ( Exception e ) { 279 System.err.println( e.getMessage() ); 280 } 277 281 if ( smp != null ) { 278 282 startMenuPath = new File( smp ); … … 367 371 368 372 public String getPropertyValue( String propertyName, File file ) throws Exception { 373 369 374 String regex = "^" + propertyName.replaceAll("\\.","\\\\.") + "[:=]\\s*(.*)$"; 370 375 Pattern wantedLine = Pattern.compile( regex );
Note:
See TracChangeset
for help on using the changeset viewer.