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
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.
another workaround is to give the target via the args-attribute: