moving things around and breaking cvs directory structure

This commit is contained in:
benfry
2002-07-22 15:49:07 +00:00
parent 98468787eb
commit 13721f933f
4 changed files with 68 additions and 1 deletions
+4 -1
View File
@@ -1195,8 +1195,9 @@ public class PdeEditor extends Panel {
from.close(); // ??
to.close(); // ??
#ifdef JDK13
bfile.setLastModified(afile.lastModified()); // jdk13 required
#endif
} catch (IOException e) {
e.printStackTrace();
}
@@ -1215,7 +1216,9 @@ public class PdeEditor extends Panel {
if (source.isDirectory()) {
target.mkdirs();
copyDir(source, target);
#ifdef JDK13
target.setLastModified(source.lastModified());
#endif
} else {
copyFile(source, target);
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Executable
+58
View File
@@ -0,0 +1,58 @@
@echo off
REM -- standard Proce55ing application build
REM set ME=application
REM set JRE=\jre-1.3.1_04-intl
rm -f classes/*.class
REM -- BUG need to test if lib/export exists, create it if not
REM -- may exist but is being pruned by cvs
REM -- need to remove sketchbook\standard from here
REM -- sketchbook needs to be compiled on startup or for
REM -- each compile of any given app
REM -- compile bagel and copy in its classes
REM -- also an extra set of files for the export-to-applet
cd ..
cd bagel
REM -- attempting to get serial to work
REM set CLASSPATH=d:\fry\processing\app\application\classes;%JRE%\lib\rt.jar;%JRE%\lib\ext\comm.jar;%CLASSPATH%
REM set CLASSPATH=..\app\application\classes;%JRE%\lib\ext\comm.jar;%CLASSPATH%
REM perl make.pl SERIAL
perl make.pl
cp classes/*.class ../app/classes/
rm -f ../app/lib/export/*.class
cp classes/*.class ../app/lib/export/
cd ..
cd app
REM -- needs to happen before building b/c classpath needs to be set
set CLASSPATH2=%CLASSPATH%
REM set CLASSPATH=lib\kjc.jar;lib\oro.jar;java\lib\rt.jar;java\lib\ext\comm.jar;%CLASSPATH%
set CLASSPATH=classes;lib\kjc.jar;lib\oro.jar;java\lib\rt.jar;java\lib\ext\comm.jar
REM cd ..
perl buzz.pl "jikes +D -nowarn -d application\classes" -dJDK13 *.java kjc\*.java
REM cd application
REM rm -f lib/version
rem -- make pde.jar
cd classes
rm -f ..\lib\pde.jar
REM zip -0q ..\lib\pde.jar *.class *.gif
zip -0q ..\lib\pde.jar *.class
cd ..
rem -- build exe from the classes folder
REM cd classes
REM jexegen /w /main:PdeApplication /out:..\pde.exe *.class
REM cd ..
set CLASSPATH=%CLASSPATH2%
Executable
+6
View File
@@ -0,0 +1,6 @@
@echo off
REM .\bin\jre -cp lib;lib\pde.jar;lib\kjc.jar;lib\comm.jar PdeApplication
REM .\bin\jre -cp lib;lib\pde.jar;lib\jython.jar;lib\kjc.jar;lib\comm.jar PdeApplication
REM java\bin\java -cp lib;lib\build;lib\pde.jar;lib\oro.jar;lib\kjc.jar;lib\comm.jar PdeApplication
REM \jre-1.3.1_04-intl\bin\java -cp lib;lib\build;lib\pde.jar;lib\oro.jar;lib\kjc.jar;lib\comm.jar PdeBase
.\java\bin\java -cp lib;lib\build;lib\pde.jar;lib\oro.jar;lib\kjc.jar;lib\comm.jar PdeBase