Re: Converting Frameworks into path-like structures in ant

From: Christian Pekeler (christia..ekeler.org)
Date: Tue Oct 11 2005 - 12:56:20 EDT

  • Next message: Mike Schrag: "Re: New >WO Component == empty wo component"

    On Oct 11, 2005, at 07:12, Bill Michell wrote:
    > I’m trying to add unit tests to my ant automated build scripts.
    >
    > The unit testing framework provides its own custom ant task, which
    > expects to be told the runtime classpath for the unit tests using a
    > path-like structure.
    >
    > Obviously, the task knows nothing about the <frameworks> element.
    [...]
    > I notice that the wocompile task actually goes so far as to subclass
    > the javac task in order to add this framework classpath expansion. Is
    > there some simpler way for me to achieve my goal?

    There's a wounit task that subclasses the junit task in the same way
    that wocompile subclasses javac. If you're using recent builds, you
    should be able to use wounit.

    Christian



    This archive was generated by hypermail 2.0.0 : Tue Oct 11 2005 - 12:56:23 EDT