Ant - Target does not exist in this project [message #831802] |
Thu, 29 March 2012 07:22  |
Eclipse User |
|
|
|
In my ant code, imports are being done from inside a macrodef to facilitate a smarter import facility with other capabilities (e.g., importing a file via a package name that searches a set of import directories until one is found). So, I have essentially:
<myimport package="packagename" .../>
The problem is that Eclipse is marking target lines with red X's (errors) with the message "Target does not exist in this project":
<target name="main" depends="package.target"/>
This is because the target "package.target" is in one of the files imported via the <myimport> macrodef.
Is there any way to get Eclipse to stop identifying lines such as the above as errors?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07163 seconds