com.claritysys.util
Class SourceCompiler

java.lang.Object
  extended by com.claritysys.util.SourceCompiler

Deprecated. I would recommend using Ant's taskdef to make a similar class.

public class SourceCompiler
extends java.lang.Object

Utility for invoking a java source compiler.

Version:
$Revision: 2348 $

Constructor Summary
SourceCompiler()
          Deprecated.  
 
Method Summary
static boolean compile(java.io.File sourceFile)
          Deprecated. Compile the given java source file.
static boolean compile(java.util.List files)
          Deprecated. Compile the given list of java source files.
static java.lang.String getAbsoluteClasspath()
          Deprecated. Get the absolute classpath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceCompiler

public SourceCompiler()
Deprecated. 
Method Detail

getAbsoluteClasspath

public static java.lang.String getAbsoluteClasspath()
Deprecated. 
Get the absolute classpath.

Returns:
The classpath, converted to all absolute paths.

compile

public static boolean compile(java.io.File sourceFile)
                       throws java.lang.Exception
Deprecated. 
Compile the given java source file.

Parameters:
sourceFile - The file to compile.
Returns:
true if the compile suceeded.
Throws:
java.lang.Exception - If anything happens.

compile

public static boolean compile(java.util.List files)
                       throws java.lang.Exception
Deprecated. 
Compile the given list of java source files.

Parameters:
files - the List of File objects to compile.
Returns:
true if it went well.
Throws:
java.lang.Exception - If it went horribly.


Copyright ? 2002 Clarity Systems Group, LLC. All Rights Reserved.