| | |
| | | private File backupDir; |
| | | private UserInteraction ui; |
| | | private boolean isSchemaCustomized; |
| | | private boolean mustRunDSJavaProperties; |
| | | |
| | | /** |
| | | * Creates a new parameterized instance. |
| | |
| | | throw ApplicationException.createFileSystemException( |
| | | INFO_ERROR_DETERMINING_CUSTOM_CONFIG.get(), e); |
| | | } |
| | | mustRunDSJavaProperties = installation.getSetJavaHomeFile().exists(); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * Tells whether a set-java-home file exists and so if we have to run |
| | | * dsjavaproperties to regenerate it. |
| | | * @return <CODE>true</CODE> if the set-java-home file exists and |
| | | * <CODE>false</CODE> otherwise. |
| | | */ |
| | | public boolean mustRunDSJavaProperties() |
| | | { |
| | | return mustRunDSJavaProperties; |
| | | } |
| | | |
| | | /** |
| | | * Migrates the tools properties file. |
| | | * @param newPropertiesFile the new properties file. |
| | | * @throws ApplicationException if there is an error copying the new |