Modify ↓
Ticket #201 (closed enhancement: fixed)
Improve Phing's ability to work as an "embedded" process
| Reported by: | hans | Owned by: | hans |
|---|---|---|---|
| Priority: | major | Milestone: | 2.3.1 |
| Component: | phing-core | Version: | 2.3.0 |
| Keywords: | Cc: |
Description (last modified by hans) (diff)
Currently Phing does some things that make it impossible to invoke it within other applications. For example:
- Phing currently calls exit() in its shutdown() method.
- The phing.php script does a bit more setup/teardown than it should.
- Exceptions are being printed to STDERR by Phing class currently instead of bubbling up to calling phing.php script.
- Resource paths are only resolved relative to include_path, which shouldn't have to include the phing.home dir.
- INI settings that Phing changes are not restored in shutdown phase.
- Trailing spaces may prevent inclusion in web apps ("output already started") errors
Attachments
Change History
comment:6 Changed 4 years ago by hans
- Status changed from new to assigned
- Description modified (diff)
comment:10 Changed 4 years ago by hans
comment:11 Changed 4 years ago by hans
comment:12 Changed 4 years ago by hans
comment:13 Changed 4 years ago by hans
comment:14 Changed 4 years ago by hans
- Status changed from assigned to closed
- Resolution set to fixed
Am closing. As of r331, this system is working very well embedded within other PHP scripts. The fact that all errors bubble through as exceptions and no exit() is performed by Phing class, is a definite improvement.
Note: See
TracTickets for help on using
tickets.
