|
|
|
I also have a lot of problems with taskdefs (as reported in
Selena 7061: the sample build file:
<project default="main"> <property environment="enviro"/> <property name="imported.basedir" value="."/> <property name="common.destination" location="${imported.basedir}/../../src/cr11248/envi.xml"/> <condition property="env.PATH" value="${env.Path}"> <isset property="env.Path"/> </condition> <target name="main"/> </project> is all green for me. Probably this issue is Obsolete. From
[quot] I'm still seeing this, or something very similar: <target name="jaxb.generate" description="Generate Java binding classes from XSD"> <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask"> <classpath refid="tools.jaxb.classpath"/> </taskdef> <!-- update dependencies task above when adding new xmlbean tasks --> <xjc schema="${basedir}/src/com/core/devbench/bundle/content/node/scheme/iso8583parser/iso8583.xsd" destdir="${devbench.src.generated.dir}" package="com.core.devbench.bundle.content.node.scheme.iso8583parser.generated.dictionary" extension="true" > <produces dir="${devbench.src.generated.dir}/com/core/devbench/bundle/content/node/scheme/iso8583parser/generated/dictionary" includes="* impl/*" /> <binding dir="${basedir}/src/com/core/devbench/bundle/content/node/scheme/iso8583parser" includes="*iso8583.xjb"/> <arg value="-Xcommons-lang" /> <arg value="-Xelement-provider" /> </xjc> In the preceding code all attributes and sub-elements of the xjc task are incorrectly highlighted in red. Build 7041. Yes, all attributes of xjc task are "red" in 7059. I've investigated the com.sun.tools.xjc.XJCTask. It contains no setters for "schema", "destdir" and other stuff. So, the introspector does not return these attributes. Instead, it implements DynamicConfigurator interface. In fact this is the issue IDEADEV-12711. Ok, thanks for the information! I've voted for that issue.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IDEADEV-13346, since the presence or absence of taskdefs affects recognition of core tasks.Checked the given script fragment in the minimal necessary context (surrounded with <project/> element): all code is "green" on my PC.