Pushing v1.2.2 to the update site. Dependency cleanup and unused code removal.

This commit is contained in:
lonnen
2010-10-04 15:56:51 +00:00
parent a7c100e91b
commit 29df1b004f
8 changed files with 22 additions and 248 deletions

View File

@@ -164,9 +164,8 @@ public class ExportAsAppletWizard extends Wizard implements IExportWizard {
} catch (CoreException e) {
// This will happen when the copy fails, which we expect if there is no
// image file. It isn't worth reporting.
File resourceFolder = ProcessingCore.getProcessingCore().getPluginResourceFolder();
try {
File exportResourcesFolder = new File(resourceFolder, "export");
File exportResourcesFolder = new File(ProcessingCore.getProcessingCore().getPluginResourceFolder().getCanonicalPath(), "export");
File loadingImageCoreResource = new File(exportResourcesFolder, LOADING_IMAGE);
Utilities.copyFile(loadingImageCoreResource, new File(exportFolder.getFullPath().toString(), LOADING_IMAGE));
} catch (Exception ex) {