Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] weaving into bytecode: .class vs .jar

> Is it possible to use ajc to weave directly into .class
> files, or must the class files already be part of a jar
> (i.e. ajc with -injars option) for this to happen?

Yes, the current compiler requires source bytecode/.class files
to be in a .zip/jar file.

Wes

P.S. - I personally wouldn't say "weave into" but "weave from",
because ajc can produce woven .class files:

-- input
  source code
     -- and/or -- 
  .class files in .zip/jar file 

-- output
 .class files in output dir
    -- or --
 .class files in .zip/jar file


Back to the top