I have an aspectj eclipse project. I have setup the warning/error levels for various AJ compiler options. I have created an ant build script and can build using it. But I am not sure how to enforce the warning/error levels that I had setup in eclipse when building using ant.How can I do it?

Apologies for not responding earlier. Since ajc is based on ecj (Eclipse compiler for Java), the ajc task should accept all command line arguments of the JDT batch compiler (there are some that have no effect in ajc, but they will be accepted).