3 comments
Comment actions Permalink

Hello Robert,

How do I use the javac2 jar to add run-time checking of
@Nullable/@NotNull from an ant build script? I've looked for
documentation but can only find this
http://www.jetbrains.com/idea/documentation/howto.html which doesn't
mention ant at all.


Simply add the JAR to classpath and replace the task with ]]>.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hello Robert,

just add the following fragment to your Ant-file, set the property "idea.home"
to point to your IDEA-installation and replace all usages of the "javac"-task
with "javac2":

]]>


HTH,
Sascha

0
Comment actions Permalink

Thanks Sascha, that works great.
R

0

Please sign in to leave a comment.