Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#202 closed defect (fixed)

php tools: Phing task attribute name target should really be target_

Reported by: olle.jonsson@… Owned by: cmlenz
Priority: major Milestone: 0.6
Component: General Version: dev
Keywords: Cc:
Operating System: Linux

Description

In the phptools extension, the Phing task's target attribute should be target_.

http://bitten.edgewall.org/browser/trunk/bitten/build/phptools.py line 20 shows the code.

If this is intentional, and just a documentation bug,

http://bitten.edgewall.org/wiki/Documentation/commands.html#php-phing

is the broken docs.

Workaround: This syntax:

<php:phing target_="docs" />

made the Phing task run right.

Attachments (0)

Change History (2)

comment:1 Changed 17 years ago by r.wilczek@…

  • Operating System changed from Mac OS X to Linux

another workaround is to give the target via the args-attribute:

<php:phing args="myTarget" />

comment:2 Changed 17 years ago by mgood

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

Actually, that seems like a code bug to me. I've removed the underscores from "target" and "executable" in r516, since those are only used to avoid conflicts with keywords or built-ins.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
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.