commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@apache.org>
Subject Re: Re: Javaflow: Ant-Task Bug?
Date Thu, 24 Aug 2006 04:36:48 GMT
> Does "ASM based instrumentation" mean the Continuation Class Loader?

Nope ...at the moment the BCEL instrumentation is used by default.

>From the ant-task source:

   /**
     * Sets the transformer to use.
     *
     * <p>
     * This option is unpublished, because in a long run we'll
     * likely to just focus on one transformer and get rid
     * of the other (and this option will be removed then.)
     *
     * @param name
     *      either "BCEL" or "ASM". Case insensitive.
     */
    public void setMode(String name) {
        name = name.toLowerCase();
        if(name.equals("bcel"))
            transformer = new BcelClassTransformer();
        else
        if(name.equals("asm"))
            transformer = new AsmClassTransformer();
        else
            throw new BuildException("Unrecognized mode: "+name);
    }


So

<javaflow srcdir="${src.dir}" dstDir="${src.dir}/.." mode="asm">
  <include name="**/TestThread.class" />
</javaflow>


> That one works fine:

That's weird ...could please file all these information into a jira issue?

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message