In my ant build, I include the second ant build file (build.xml):
<project name="Including" default="echoC" basedir=".">
<include file="build.xml" as="Included"/>
<target name="echoC" depends="Included.echoB">
<echo>C</echo>
</target>
</project>
build.xml is in the same directory as the build file, and everything works fine. I can run the target echoC as well as execute the first echoB from the built-in build file.
However, it is annoying that Eclipse displays the error message Target Included.echoB does not exist in this project in the ant editor. Does anyone know how to get rid of this?
Thanks so much for your support!
source
share