Re: [abc-users] Compiling bytecode files

From: Eric Bodden <>
Date: Sun, 24 Feb 2008 13:34:39 -0500

Hi, Amjad.

You can print abc's command line option using the "-help" option. This
will tell you:

-inpath <dir list> Use class files found in the directories in
                               <dir list> as source.

So if you type...

java abc.main.Main -sourceroots aspects -inpath classesToWeave -d out

... this will take all aspects in "aspects", weave them into all
classes in "classesToWeave" and put the output into "out".


On 24/02/2008, Amjad Nusayr <> wrote:
> Hi
> Can anybody tell me how to compile bytecode file with my aj file using abc?
> Here is what I got. I have created my AspectJ file (asp1.aj) and have a
> .class file (HopeItWorks.class), although I have the source code for the
> java file but I want to know if I can use the .class file instead, to be
> more specific I want to know how the command line will look like.
> I already know to compile to two source code files.
> Thanks
> Amjad Nusayr

Eric Bodden
Sable Research Group
McGill University, Montréal, Canada
Received on Sun Feb 24 2008 - 18:34:42 GMT

This archive was generated by hypermail 2.2.0 : Sun Feb 24 2008 - 20:40:10 GMT