diff --git a/app/src/processing/mode/java/JavaBuild.java b/app/src/processing/mode/java/JavaBuild.java index a4f680cd4..7ed8c0b04 100644 --- a/app/src/processing/mode/java/JavaBuild.java +++ b/app/src/processing/mode/java/JavaBuild.java @@ -1448,7 +1448,7 @@ public class JavaBuild { String preprocFilename = sketch.getName() + ".java"; File preprocFile = new File(srcFolder, preprocFilename); if (preprocFile.exists()) { - preprocFile.renameTo(new File(sourceFolder, preprocFilename)); + Base.copyFile(preprocFile, new File(sourceFolder, preprocFilename)); } else { System.err.println("Could not copy source file: " + preprocFile.getAbsolutePath()); } diff --git a/todo.txt b/todo.txt index 580d011a4..ec8612065 100644 --- a/todo.txt +++ b/todo.txt @@ -23,6 +23,8 @@ X New/Rename Tab commands inhibited when Console/Message Area is hidden X http://code.google.com/p/processing/issues/detail?id=745 X make sketch.properties usable elsewhere by loading/reloading X http://code.google.com/p/processing/issues/detail?id=722 +X Export to Application reports "Could not copy source file:" +X http://code.google.com/p/processing/issues/detail?id=638 cleanup X how is autoformat doing? good now @@ -43,6 +45,9 @@ o prevent people from setting the font size too small in the editor o how do we figure out what "too small" is? X -> everyone thinks this is funny +_ update the build instructions page +_ http://code.google.com/p/processing/wiki/BuildInstructions + decisions _ kill external editor (for all its quirks) in favor of command line? _ use external editor needs to enable/disable across all windows @@ -1098,10 +1103,10 @@ _ implement better method of showing curly brace closure _ http://dev.processing.org/bugs/show_bug.cgi?id=295 _ sketches should only write to the console of their editor window _ http://dev.processing.org/bugs/show_bug.cgi?id=921 -P5 _ problems with file/print -P5 _ http://dev.processing.org/bugs/show_bug.cgi?id=1230 -P4 _ comments not always colored correctly -P4 _ http://dev.processing.org/bugs/show_bug.cgi?id=1194 +_ problems with file/print +_ http://dev.processing.org/bugs/show_bug.cgi?id=1230 +_ comments shown as code / code shown as comments +_ http://code.google.com/p/processing/issues/detail?id=164 _ program sometimes goes gray because it thinks everything is in a comment _ http://code.google.com/p/processing/issues/detail?id=564