When I build my project from the command-line using ANT and the 'javac2' task to get @NotNull assertions, I need to explicitly add 'rt.jar' to the classpath in order to get the 'javac2' task to work.
This does not make a lot of sense to me and when using the regular 'javac' or the IDEA 11 version of the 'javac2' task this is not required.
I was wondering if this is intended behavior or a bug?
Cheers,
Peer