Project: AspectJ
Bug 39842 allow use of an environment variable to set compiler arguments
Reported: 2003-07-09 19:31:03 | Status: resolved fixed

I'm trying to create a special jsp compilation servlet in Tomcat 4.x that uses the aspectj compiler. I can plug in the compiler adapter, but I don't have control of the ant code they use to invoke the compiler, so I'd like to use an environment variable to do this (apparently the only mechanism they do support). I'm doing this so I can pass an aspectpath in to weave aspects into the compiled jsp servlet.

Files changed in fix:
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java taskdefs/src/org/aspectj/tools/ant/taskdefs/ICommandEditor.java taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/AjcTaskTest.java