I had the exact same problem, but as far as I remember (not 100% sure)
"file:/initCommon.xml" should work for you. It's still strange since I think
with plain ANT all the following work:

"initCommon.xml" (no protocol)
"file:initCommon.xml"
"file:/initCommon.xml"
"file:./initCommon.xml"

whereas in IDEA only the third variant works.

Michael

> -----Ursprungliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im
> Auftrag von Markus Kohler
> Gesendet: Montag, 22. Oktober 2001 13:51
> An: [EMAIL PROTECTED]
> Betreff: [Eap-list] Ant build file with includes supported
>
>
> Hi,
> I have some Ant build files that include
> an xml file with the standard xml mechanism.
> This seems to confuse Idea, because it doesn't show any targets.
> Starting the default target with Idea works.
>
> The files look like this :
>
> <?xml version="1.0" standalone="no"?>
> <!DOCTYPE project PUBLIC "-//ANT//DTD project//EN" "project.dtd"
> [<!ENTITY initCommon SYSTEM "file:./initCommon.xml">]>
>
>
>
> <project name="Taskmanager" default="main" basedir=".">
>
>    <!--
> ===================================================================-->
>    <!-- init common properties
>         -->
>    <!--
> ===================================================================-->
>    <target name="initCommon">
>      &initCommon;
>    </target>
>
> ....
>
>
> Any hints ?
>
> Markus
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
>
>


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to