org.datamanager.tools
Class Compile
java.lang.Object
|
+--org.datamanager.tools.Compile
- public class Compile
- extends Object
A class to make compiling easier in the absence of the depends option.
The user can delete every classfile in all subfolders of a given
directory. In addition, individual files or entire directories can
specified to be compiled. Errors in compilation will be displayed on
the console screen.
NOTE: This class is dependent upon Runtime.exec() being implemented on
your system. In addition, javac must be contained within your
classpath.
- Version:
- .90
- Author:
- Gordon Murphy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASSPATHS
public static final String[] CLASSPATHS
Compile
public Compile(String[] classpath)
main
public static void main(String[] parameters)
throws IOException
IOException
setClasspath
public void setClasspath(String[] paths)
removeDirectories
public void removeDirectories(File[] directories)
throws IOException
IOException
compile
public void compile(File[] files)
throws IOException
IOException
removeAllClassFiles
protected void removeAllClassFiles(File directory)
exec
protected void exec(String command)
throws IOException
IOException
See the Helium Website