Re: finding out the original target names in an imported project

2013-09-30 Thread Gintautas Grigelionis
But, there is one definite bug: the original name of the default target has its location set to line rather than the actual line. Gintas 2013/9/30 Gintautas Grigelionis > I must correct myself again... the short names are there, too, and one may > use getLocation() to get rid of the doubles/

Re: finding out the original target names in an imported project

2013-09-30 Thread Gintautas Grigelionis
I must correct myself again... the short names are there, too, and one may use getLocation() to get rid of the doubles/correct getDependencies(). Still, the inconsistency remains... Gintas 2013/9/30 Gintautas Grigelionis > Sorry for double post, my description of the problem is incorrect. The

Re: finding out the original target names in an imported project

2013-09-30 Thread Gintautas Grigelionis
Sorry for double post, my description of the problem is incorrect. The middle paragraph should read: Now getName() of a Target returns the original name prepended by the name of the *imported* project (the same as corresponding key in getTargets() in a Project), *but* getProject() returns the top

finding out the original target names in an imported project

2013-09-30 Thread Gintautas Grigelionis
I have noticed (belatedly) a change in Ant API, namely, that there seems to be no way to find out what the original target names in an imported project are. Previously, original names were returned by getName() in a corresponding Target, which was consistent with getDependencies(). Now getName() r