Community
Participate
Working Groups
There are situations, where one needs to compile the ordinary java sources with javac (for example, to compile 1.5 sources), then compile the aspect sources (which understand Java 1.4 only) feeding ajc with the prevoiusly compiled binary classes. In situations like this, the -inpath and -d compiler options come handy. However, if the produced binary aspects are meant for load- time weaving only, there is no need to do compile-time binary code weaving (taking the binary classes from the -inpath and transforming them into the - d ). It only wastes compile time. I guess ajc needs an option to inhibit compile-time weaving and produce only aspects binary files, when laod-time weving is the goal.
Sorry-, I just realized -Xnoweave will do the job
Fix released as part of AspectJ 1.2.1