Get any custom task/type definitions stored in $nbhome/ant/nblib/*.jar.
Some of the classes might not be fully resolvable, so beware.
The names will include namespace prefixes.
Only minimal antlib syntax is currently interpreted here:
only <taskdef> and <typedef>,
and only the name and classname attributes.
Get the equivalent of java.class.path for the main Ant loader.
Includes everything in the main class loader,
plus the regular system class path (for tools.jar etc.).
Handle I/O scoping for overlapping project runs.
You must call
AntBridge.restoreSystemInOutErr in a finally block.
Parameters: in - new temporary input stream for this thread group Parameters: out - new temporary output stream for this thread group Parameters: err - new temporary error stream for this thread group See Also: "#36396"
public static synchronized void resumeDelegation()(Code)
Resume delegation of system I/O streams for the current thread group
after a call to
AntBridge.suspendDelegation .
suspendDelegation
public static synchronized void suspendDelegation()(Code)
Temporarily suspend delegation of system I/O streams for the current thread.
Useful when running callbacks to IDE code that might try to print to stderr etc.
Must be matched in a finally block by
AntBridge.resumeDelegation .
Safe to call when not actually delegating; in that case does nothing.
Safe to call in reentrant but not overlapping fashion.
unfakeJavaClassPath
public static synchronized void unfakeJavaClassPath()(Code)