/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002-2009 Oracle. All rights reserved. * * $Id$ */ package com.sleepycat.persist.model; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DirectoryScanner; import org.apache.tools.ant.Task; import org.apache.tools.ant.types.FileSet; /** * An {@code ant} task for running the {@link ClassEnhancer}. * *
{@code ClassEnhancerTask} objects are thread-safe. Multiple threads may * safely call the methods of a shared {@code ClassEnhancerTask} object.
* *Note that in the BDB Java Edition product, the {@code ClassEnhancerTask}
* class is included in {@code je-
For BDB Java Edition product:
** {@literal* *}
For BDB (C-based Edition) product:
** {@literal* *}
The class enhancer task element has no attributes. It may contain one or * more nested {@code fileset} elements specifying the classes to be enhanced. * The class files are replaced when they are enhanced, without changing the * file modification date. For example:
* ** {@literal* *} * {@literal }} * {@literal } * {@literal} * {@literal
The verbose attribute may be specified as "true", "yes" or "on" (like * other Ant boolean attributes) to print the name of each class file that is * enhanced. The total number of class files enhanced will always be * printed.
* * @author Mark Hayes */ public class ClassEnhancerTask extends Task { private List