I have upgraded from 3.0.5 to 4.0 and none of the optional tasks in our build.xml file work. I get the exception:
C:\java\projects\csp\commsales\build.xml:101: taskdef class net.sourceforge.pmd.ant.PMDTask cannot be found
Here is how we defined the pmd target:
<pmd rulesetfiles="$/conf/pmd-rulesets.xml" printtoconsole="true"
and the pmd task related jar file is there in the compile.classpathref.
I tried changing ant versions, but it does not seem to matter to IDEA 4.0. Everything works well with 3.0.5 though.