Modify ↓
Ticket #175 (closed enhancement: worksforme)
passing aarguments to phing
| Reported by: | anonymous | Owned by: | hans |
|---|---|---|---|
| Priority: | major | Milestone: | 2.3.1 |
| Component: | phing-core | Version: | 2.3.0 |
| Keywords: | build argument parameters | Cc: |
Description
I would like to write a webpage that would allow users to input values for a phing build file, via the web GUI, similar to the one used by PHPDocumentor.
This would require phing to be able to process arguments via the command line. To support such behaviour, would it be possible for phing to process command line arguments from scripts? So any values passed via a POST request from the browser would be unpacked by a php server script. This would then call phing, passing those POST variables as command-line arguments, to set property values in the build file?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Phing can read in properties specified on the commandline. Does this meet your need?
<echo>From commandline: ${propname} ${prop2} ${prop3}</echo>