Some ant issues in build 2155

I'm not sure if this is a bug or a configuration problem on my end. I'm using xdoclet to generate EJB related classes for our beans. When I add the tag to a build file a number of the attributes and nested tags are flagged by Intellij as errors and code completion doesn't work. It works for the optional classes included in the ant/lib directory so I have no idea what I must do for it work with the xdoclet ant tasks. I've added all the xdoclet libraries to the Ant classpath used by Intellij so I'm not sure what more is required before Intellij will stop reporting tag errors that aren't errors and code completion works as expected. Any ideas? Is this a bug? Here is my ant script: ]]>
<ejbdoclet ejbspec="@" destdir="@/src"> <homeinterface/> <remoteinterface/> <localhomeinterface/> <localinterface/> <deploymentdescriptor destdir="@/conf"/>
<weblogic destdir="@/conf"/>
</ejbdoclet>
</sequential>
</macrodef>

</project>

Grant

1 comment
Comment actions Permalink

Hello Grant,

I'm not sure if this is a bug or a configuration problem on my end.
I'm using xdoclet to generate EJB related classes for our beans. When
I add the <ejbdoclet> tag to a build file a number of the attributes
and nested tags are flagged by Intellij as errors and code completion
doesn't work. It works for the optional classes included in the
ant/lib directory so I have no idea what I must do for it work with
the xdoclet ant tasks. I've added all the xdoclet libraries to the Ant
classpath used by Intellij so I'm not sure what more is required
before Intellij will stop reporting tag errors that aren't errors and
code completion works as expected. Any ideas? Is this a bug?

Here is my ant script:
<project name="share" default="" basedir=".">
<taskdef name="ejbdoclet"
classname="xdoclet.modules.ejb.EjbDocletTask">
<classpath refid="xdoclet.classpath"/>
</taskdef>


Taskdefs with classpath as pathid aren't supported yet. Now we support only tasks definitions when
1. Single task definition when all needed classes are already in the classpath () 2. Multiple tasks definition when all needed classes are in single classpath entry (]]>)


0

Please sign in to leave a comment.