Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] iajc ANT Task

It's not clear what you meant by "the output of the weaving"
- preprocessed source files?

Our implementation of AspectJ 1.1 uses bytecode weaving, not
source weaving, so -preprocess is not supported.  See
the README for 1.1:

http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/aspectj-home/doc/README-11.html#NO_SOURCE

If instead you want to redirect the messages from ajc, you
can set up a MessageHandler in the ant task and do whatever
you like with the results.  See the ant task docs entry for
"Programmatically handling compiler messages":

http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/aspectj-home/doc/devguide/antTasks.html

Wes

DiFrango, Ron wrote:
No because that just dumps it out to the console.  Now I could re-direct to
a log file, but that would have everything in it.  Under the old task, it
dumped out the individual source files in source format with the aspected
code dropped in.

Thanks,

Ron DiFrango


-----Original Message-----
From: SADER, KEITH D (Contractor) [mailto:KEITH.D.SADER@xxxxxxxx] Sent: Friday, September 05, 2003 10:04 AM
To: aspectj-users@xxxxxxxxxxx
Subject: RE: [aspectj-users] iajc ANT Task


Is the -verbose option not sufficient for you?  I.e. in the ant task set the
verbose=true attribute.


-----Original Message-----
From: DiFrango, Ron [mailto:ron.difrango@xxxxxxxxxxxxxx]
Sent: Friday, September 05, 2003 8:00 AM
To: 'aspectj-users@xxxxxxxxxxx'
Subject: [aspectj-users] iajc ANT Task


All,

(Please not this is a re-send, but with the correct subject.)
Under the old
aspectj ANT task, there was an option to output the result of the weaving, but under the new task (iajc) there does not appear to be this option. Is
this true or am I missing something?

Thanks in advance,

Ron

**************************************************************
************
The information transmitted herewith is sensitive information
intended only
for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users


_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top