Modify

Ticket #459 (closed enhancement: invalid)

Opened 2 years ago

Last modified 18 months ago

Should only show targets in imported file once

Reported by: mattis@… Owned by: mrook
Priority: minor Milestone: 2.4.3
Component: phing-core Version: devel
Keywords: Cc:

Description

When I import another build.xml file, the targets are shown twice when I do 'phing -list':

Default target:
-------------------------------------------------------------------------------
 target-one

Subtargets:
-------------------------------------------------------------------------------
 target-one
 target-two
 target_two.target-two

Attachments

PhingList.tar.gz Download (286 bytes) - added by mattis@… 2 years ago.

Change History

Changed 2 years ago by mattis@…

comment:1 Changed 2 years ago by mrook

  • Milestone set to 2.4.2

comment:2 Changed 20 months ago by mrook

  • Milestone changed from 2.4.2 to 2.4.3

comment:3 Changed 20 months ago by mrook

  • Priority changed from major to minor

comment:4 Changed 18 months ago by mrook

Sorry a reply took so long, but looking at your listing I have a hard time finding anything unusual.

In your main build xml you have targets 'target-one' and 'target-two'. You then import another file, the targets in that file will be prefixed with the project name of the importing build.

comment:5 Changed 18 months ago by anonymous

Thanks for the answer, I now have a better understanding of Phing and it's behaving as expected :-)

comment:6 Changed 18 months ago by mrook

  • Status changed from new to closed
  • Resolution set to invalid

Great, thanks for the followup :)

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.