Can not IDEA 3 recognize taskdef in ANT?

such as:
]]>

  • <xjc>*.........

IDEA said ]]> is not allow here(red), but I can use it fine.
...strange..

who knows why?

2 comments
Comment actions Permalink

You need to include the class for that taskdef in the classpath of your ant
properties or put it in the IDEA lib directory (I think that works, never
tried it).

"Aeros Lau" <aerosl@elibrium.com> wrote in message
news:28941241.1055489231017.JavaMail.itn@is.intellij.net...

such as:
<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
<classpath refid="path.class" />
</taskdef>

>

<target name="xjc">

  • <xjc>*.........

</xjc>
</target>

>

IDEA said <xjc> is not allow here(red), but I can use it fine.
..strange..

>

who knows why?



0
Comment actions Permalink

thanks
I added it, but now it seems to recognize the xjc tag.
but all attributes are red, and no code assist at all.

0

Please sign in to leave a comment.