Earlier versions (2.5?) of Idea used to show targets in included files
as well, although right clicking and selecting "edit source" for targets
in the included files didn't work correctly, if I remember correctly.
Why the change? 

Hey bro, I've been meaning to ask this for some time now.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Colin Sampaleanu
Sent: Thursday, March 28, 2002 5:11 PM
To: [EMAIL PROTECTED]
Subject: [Eap-list] bug: ant target list does not include targets from
iincluded files


I normally structure my Ant build scripts so that there is a master 
build.xml file, which contains only material relating to configuration 
and initialization, and most of the targets which do other work are in 
include files which are included into build.xml with an xml include 
statement, e.g.:

build.xml:
------
<?xml version="1.0"?>
... whatever, like comments
<!DOCTYPE project [
    <!ENTITY depValues SYSTEM "file:./proj/buildDepValues.xml">
    <!ENTITY commonTargets SYSTEM "file:./proj/buildTargets.xml">
    <!ENTITY unittests SYSTEM "file:./proj/buildTests.xml">
]>
... some xml text

  &depValues;
  &commonTargets;
  &unittests;

... some other xml text
-----

I find this very useful for organizing the build so things are separated

by logical function. In any case, when include files are used in this 
fashion, IDEA only lists targets as available if they are in the master 
build.xml file, and ignores any targets from the include file.



_______________________________________________
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