- Timestamp:
- 2010-11-01T10:49:32+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/shared/core/uninstaller/Uninstaller.java
r23242 r23257 44 44 public static final ResourceBundle bundle = ResourceBundle.getBundle("resources.LanguagePack"); 45 45 46 public static final File gs2InstallProps = new File(" ../etc/installation.properties");47 public static final File gs3InstallProps = new File(" ../installation.properties");46 public static final File gs2InstallProps = new File("etc/installation.properties"); 47 public static final File gs3InstallProps = new File("installation.properties"); 48 48 49 49 boolean keepCollections = true; … … 335 335 336 336 //never delete the things we are currently running 337 exceptions.add( new File(" ../bin/search4j.exe") );338 exceptions.add( new File(" ../bin/search4j") );339 340 exceptions.add( new File(" ../bin/windows/search4j.exe") );341 exceptions.add( new File(" ../bin/linux/search4j") );342 exceptions.add( new File(" ../bin/darwin/search4j") );343 344 exceptions.add( new File(" ../packages/jre") );345 exceptions.add( new File(" ../uninstall") );337 exceptions.add( new File("bin/search4j.exe") ); 338 exceptions.add( new File("bin/search4j") ); 339 340 exceptions.add( new File("bin/windows/search4j.exe") ); 341 exceptions.add( new File("bin/linux/search4j") ); 342 exceptions.add( new File("bin/darwin/search4j") ); 343 344 exceptions.add( new File("packages/jre") ); 345 exceptions.add( new File("uninstall") ); 346 346 347 347 if ( keepCollections ) { 348 exceptions.add( new File(" ../web/sites/localsite/collect") );349 exceptions.add( new File(" ../collect") );348 exceptions.add( new File("web/sites/localsite/collect") ); 349 exceptions.add( new File("collect") ); 350 350 } 351 351 … … 446 446 447 447 for(int j=0; j < paths.length; j++) { 448 recursiveDelete( new File( ".." + File.separator +paths[j]), exceptions );448 recursiveDelete( new File(paths[j]), exceptions ); 449 449 } 450 450 }
Note:
See TracChangeset
for help on using the changeset viewer.