This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
debug("copy from: "+getFormerUserDir()); //NOI18N
if(!(getNewUserDir().equals(getFormerUserDir()))){
fileService.copyDirectory(getFormerUserDir()+fileSeparator+"system",getNewUserDir()+fileSeparator+"system",true,true); //NOI18N
String upgrade_nb = System.getProperties().getProperty("upgrade_nb");//NOI18N
if(upgrade_nb != null && upgrade_nb.equals("yes")){ //NOI18N
debug("delete former user dir"); //NOI18N
fileService.deleteDirectory(getFormerUserDir(),false,true);
}
}catch (Exception e) {
debug("error: "+e.getMessage()); //NOI18N