Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

IDEA 12: @NotNull instrumentation using javac2 task requires rt.jar in classpath of ANT script?

$
0
0

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


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>