Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] Specifying a different sourcepath from sourceroots

Hi,

I am using 1.2rc1 to integrate aspectj into our build process as a verification step. So before I run ajc I have the following directories:

   * modelers/src - the primary source code
   * modelers/classes - the built classes, output from build system
   * modelers/ajsrc - aspectj constraints, at the moment just the
     standard no println(..) aspect
   * modelers/ajclasses - the output directory for the processed classes

So when I run ajc I set "classes" the inpath and "ajsrc" as the sourceroots. This would seem to work, except for a compiler error that I am reporting separately (60862), but the compiler repeatedly complains about not being able to find the source code for the contents of "classes".

The problem is that there doesn't seem to be the equivalent of a javac "sourcepath" for the ajc compiler when working in this mode. I don't want to at "src" to the sourceroots as this would make ajc recompile the code again. Is this a bug, an enhancement request or have I just misread the instructions.

Thanks in advance for any feedback,

G.


Back to the top