Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to get iajc to output like javac


Paulo,

Here is my ant script for one of my projects:


Here is the output when aspect_persistence is defined (thus using iajc)


Here is the output when aspect_persistence is not defined (thus using javac)


Please notice that when using javac, it contains the line:
    [javac] Compiling 1077 source files to C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Persistence\QuestPersistence\bin

We tried specifying verbose="true", but that gives us LOTS of output.  We just want the line telling us how many files it is compiling.

Thanks for your help,

Dwight Carter
Senior Information Technology Specialist
IBM Global Business Services
877-650-4043



Paulo Alexandre Corigo Zenida <paulo.zenida@xxxxxxxx>
Sent by: aspectj-users-bounces@xxxxxxxxxxx

01/16/2007 04:18 AM

Please respond to
aspectj-users@xxxxxxxxxxx

To
aspectj-users@xxxxxxxxxxx
cc
Subject
Re: [aspectj-users] How to get iajc to output like javac





Hello,

Could you post your ant task compiling with iajc? Are you using any of  
the properties showWeaveInfo, debugLevel or verbose?

Kind regards,

Paulo Zenida


Citando Dwight Carter <decarte@xxxxxxxxxx>:

> Hi,
>
> I've just started using aspectj 1.5.3.  Today I worked with the fellow
> that manages our ant scripts.  We were able to successfully compile, but
> he noticed that iajc acted differently than javac.
>
> The ant log shows a line like [javac] plus a message indicating how many
> classes were compiled, etc.  When we replaced javac with iajc, no such
> message was in the log.
>
> How do we get iajc to output this summary line in the log like javac?
>
> Thanks,
> Dwight



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Attachment: cc-build-persistence.xml
Description: Binary data

build-persistence:

clean-clover:

with-clover:

define-aspectj:

clean-persistence-classes:
   [delete] Deleting 1330 files from C:\IBMcc\c02148_QuestR1_build\QuestR1_Persistence\QuestPersistence\bin
   [delete] Deleted 77 directories from C:\IBMcc\c02148_QuestR1_build\QuestR1_Persistence\QuestPersistence\bin

clean-persistence-jar:
   [delete] Deleting: C:\IBMcc\c02148_QuestR1_build\QuestR1_Persistence\QuestPersistence\lib\QuestPersistence.jar

compile-persistence-aspect:
    [mkdir] Created dir: C:\IBMcc\c02148_QuestR1_build\QuestR1_Persistence\QuestPersistence\bin
     [echo] Compiling code with aspectj
     [copy] Copying 229 files to C:\IBMcc\c02148_QuestR1_build\QuestR1_Persistence\QuestPersistence\bin
     [copy] Copied 77 empty directories to 9 empty directories under C:\IBMcc\c02148_QuestR1_build\QuestR1_Persistence\QuestPersistence\bin

compile-persistence:

build-persistence-jar:
      [jar] Building jar: C:\IBMcc\c02148_QuestR1_build\QuestR1_Persistence\QuestPersistence\lib\QuestPersistence.jar

test-persistence:

build-persistence:
     [copy] Copying 1 file to C:\IBMcc\c02148_QuestR1_build\QuestR1_Build\CruiseControl\build-and-deploy\questb1\jar
build-persistence:

clean-clover:

with-clover:

define-aspectj:

clean-persistence-classes:
   [delete] Deleting 1299 files from C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Persistence\QuestPersistence\bin
   [delete] Deleted 65 directories from C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Persistence\QuestPersistence\bin

clean-persistence-jar:
   [delete] Deleting: C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Persistence\QuestPersistence\lib\QuestPersistence.jar

compile-persistence-aspect:

compile-persistence:
    [mkdir] Created dir: C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Persistence\QuestPersistence\bin
    [javac] Compiling 1077 source files to C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Persistence\QuestPersistence\bin
     [copy] Copying 224 files to C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Persistence\QuestPersistence\bin
     [copy] Copied 65 empty directories to 1 empty directory under C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Persistence\QuestPersistence\bin

build-persistence-jar:
      [jar] Building jar: C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Persistence\QuestPersistence\lib\QuestPersistence.jar

test-persistence:

build-persistence:
     [copy] Copying 1 file to C:\IBMcc\c02148_QuestR1_drop_a\QuestR1_Build\CruiseControl\build-and-deploy\questb1\jar

Back to the top