phing Questions
2
I'm using the PHP build system phing to create a phar archive file.
Is there any known science that will let me automatically set the phar.readonly to 0 (which will allow the creation of phar to k...
3
I would like to have a foreach task like this, which iterates over all the files/directories in a directory "A" -
<foreach param="dirname" absparam="absname" target="subtask">
<fileset ...
Tarnopol asked 14/4, 2016 at 9:17
2
Solved
I'm trying to setup phing to work with travis-ci, but I can't get it to run a setup script to get all the dependencies installed.
My .travis.yml file is:
language: php
php:
- 5.2
script: ./.trav...
Galoshes asked 22/3, 2013 at 13:46
6
Solved
Does anyone know how to find and replace text inside a file with Phing?
Colchicine asked 5/2, 2011 at 14:34
1
Solved
I have the following build file:
<?xml version="1.0" encoding="UTF-8"?>
<project name="Example" default="test" description="Sample Description">
<target name="test">
<exec c...
Dourine asked 21/9, 2016 at 15:14
1
I have some commands to be run after switching to a different user. I need to do this in a build xml file.
Following is what I have done -
<exec command="sudo su auto_deploy &lt;&lt; ...
3
Solved
i have about 25 phing targets, when i list them in the console.
But 5 of them are just needed by other targets and i will never trigger them alone.
is there a possibility to hide them?
For examp...
4
Solved
we use phing to build and test our project. I want to remove dependencies on PEAR as much as possible so I can run different versions of packages for different projects. I have created a composer.j...
Americanist asked 7/10, 2013 at 13:58
1
I'm trying to implement a decent random string generator in my buildfile using the following ExecTask
:
<exec command="cat /dev/urandom | tr -cd '[:alnum:]' | fold -w30 | head -n1" returnProper...
Seko asked 29/11, 2013 at 12:21
4
How to correctly deploy applications from development to production and how to deal with multiple site configurations.
All my development are done thru SVN located at var/svn/myapp/trunk and
the ac...
4
Solved
I am using phing and running selenium server via ExecTask. Sometimes I need to stop running server by killing its process.
Is there a possibility in phing of getting PID of process spawned in Exec...
Besotted asked 2/12, 2012 at 15:27
4
Solved
I have a question about using the propel ORM and creating a query.
I have a table "locations" with fields:
location
sublocation
postcode
street
number
Now I want to select all the l...
2
Solved
How can I execute a target action in phing on each file of a fileset target? For example:
<exec command="cat {$filepath}">
<fileset dir=".">
<include name="*.php">
</filese...
7
Solved
I would like to do remote deployment from my build machine onto a server. The remoting can be done via ssh commands from a script, but I would rather use phing and a deploy.xml file that would do t...
Mut asked 23/10, 2008 at 10:8
2
Solved
How to check if property ${foo} has been set?
Bonus question: how to escape $ sign in <echo> so I could output ${foo} string (not the foo variable substitution)?
PS: tried to google and rea...
Delmardelmer asked 17/8, 2012 at 5:21
1
Solved
I want to set file name with date and time attached to it so I want to create file named as behat-20140913-195915.html however the example below sets the name as behat-yyyymmdd-hhiiss.html. Anyone ...
5
Solved
I am using Phing and right now I am using this code to upload my files to FTP:
<target name="ftp.upload">
<echo>Uploading files to FTP</echo>
<ftpdeploy
host="${ftp.destin...
3
Solved
I'm trying to set an environment variable in a build script with phing.
This is normally done command line like this:
export MY_VAR=value
In Phing I did the following but it isn't working.
<...
Labrecque asked 27/4, 2011 at 13:23
4
Solved
Max OS X 10.7.. when i run phing -v i get the following errors:
Warning: require_once(phing/Project.php): failed to open stream: No such file or directory in /usr/lib/php/pear/phing/Phing.php on l...
4
Solved
I have a script that can lookup and output or write my current release # to a text file. Now the only problem is how do I get this version number into a PHING property.
Right now my PHING target b...
1
Solved
We are using a Ubuntu+nginx+php5-fpm combination on our servers with PHP version being 5.5. We are trying to run index.php which includes a bunch of phar files. Something like:
<?php
include "a...
2
Solved
I want to use both Phing and Composer for my applications. Phing as the build system and Composer to manage dependencies. But which way around should they be used?
Currently we're installing Phing...
Libbey asked 31/5, 2012 at 7:59
1
Solved
I've been using Phing at work (it was set up when I got there), and thinking of using it for some personal projects. One thing I haven't got my head around yet though is what the big appeal i...
1
Solved
Is there any way to get a return value from a phing ad-hoc task?
For example, I'm trying to get the version number from a JSON string in a file as follows:
<target name="get-app-version">
...
6
Solved
I've been reading about Phing and Ant and I'm not sure which, if either, of these tools are most useful for this scenario.
It could easily be debug statements etc, but I'll give you our literal sc...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.