phing Questions
1
Solved
I have a task in phing where before tests I drop the database if exists and create it. This is run on Jenkins.
I want to do it with createdb like this:
<exec command="createdb my_database" /&g...
Varney asked 12/11, 2012 at 20:29
4
Solved
After reading the "Modern PHP workflow" article in the November 2008 edition of php|architect magazine which
discussed unit testing (phpUnit), build tools (Phing) and continuous integration ...
Jingo asked 8/3, 2009 at 5:0
4
my question is basically two questions, but since they are closely related I thought that it makes sense to ask them en-bloque.
Case:
I am running a webapplication, which is distributed over multi...
Stegall asked 15/2, 2011 at 12:21
2
Solved
In the following phing xml, inside the "skel" target I check if the app is configured, if it's not then I call the configure target and then apply the config to several files.
The problem is that ...
2
Solved
I am calling a target by means of phingcall command.
I want to pass back a status variable from the called target or at least change the existing value from the calling target.
Goal: I want to bran...
Sideslip asked 22/7, 2011 at 8:47
4
Solved
I'm currently working on a build system in Phing that takes a Zend Framework project template and configures it according to Phing parameters. One problem that I've come across is when using Zend_C...
Mcclelland asked 12/7, 2011 at 21:21
1
Solved
I'm trying to check if a directory or file exists in Phing but I cannot even get the basics to work.
For example:
<project name="test" default="help" basedir="./">
<target name="clean"...
2
Solved
I'm in the middle of my first ever stab at setting up Jenkins to build and run unit tests /code coverage with my CakePHP project. So far I have successfully got Jenkins fetching and building automa...
Capillarity asked 6/7, 2012 at 14:32
6
Solved
I am using Phing's dbdeploy task to manage my database schema. This is working fine, as long as there is no errors in the queries of my delta files.
However, if there is an error, dbdeploy will ju...
2
Solved
i have installed Phing 2.4.7.1 on Windows 7 and use the cygwin bash shell
I created a Phing task to copy files to a local directory and compress files, but I try to exclude certain directories wit...
2
Solved
I'm testing a Zend Framework application using PHPUnit and Jenkins. I need to override the APPLICATION_ENV environment variable which is access using PHP's getenv in the PHPUnit bootstrap.php file:...
Tawana asked 3/2, 2012 at 12:30
1
Solved
I'm new to phing and building a script to automate some build tasks.
Is there a way to retrieve just the most recently added tag to a git repo? I can pull up a list of all my tags but cannot seem ...
1
Solved
I'm attempting to install the Propel ORM on CentOS which has a dependency for phing. I've run the following which was succesful:
pear channel-discover pear.phing.info
pear install phing/phing
pear...
Goldarned asked 1/11, 2011 at 12:53
1
I'm trying to get into the mindset of CI and have been playing with Phing this weekend. It all seems straight forward enough to use and have many examples going already.
However something that sti...
Way asked 16/10, 2011 at 19:32
2
Solved
I'm using Phing to do post build tasks in Hudson.
I want to generate changelog containing all commits since last successful Hudson build. But looks like neither Hudson nor Git plugin for Hudson do...
Polyglot asked 9/5, 2010 at 18:39
1
Solved
I have the following Phing configuration file:
<?xml version="1.0" encoding="UTF-8"?>
<project name="ru.fractalizer.phpsweetpdo" default="make-phar-packages" basedir="..">
<target...
Wolsky asked 1/9, 2011 at 7:59
5
I'm using phing for some automatic-building process on a project, and was wondering : how can I get the full log by email ?
When I launch phing by the command-line, the building-log is displayed ...
Penetrating asked 12/9, 2009 at 11:19
1
Solved
In my build script I'm trying to output the date and SVN revision number to a file in the build directory. I would like the date and revision number on separate line, but can't get a linebreak to o...
Souterrain asked 9/8, 2011 at 10:50
1
Solved
I am working with databases in my build script. All the database details are in my properties file, but I was wondering how I could easily have the user choose which set of details to use? I am wor...
Defect asked 1/8, 2011 at 8:58
1
Solved
I'm currently using Phing and Jenkins to automate builds and deployment for my CodeIgniter app. One problem I'm having trouble with is restarting the apache service. I tried in Phing but there isn'...
Gawk asked 1/8, 2011 at 9:44
3
Solved
Currently using LAMP stack for my web app. My dev and prod are in the same cloud instance. Now I am getting a new instance and would like to move the dev/test environment to the new instance, separ...
Labana asked 12/7, 2011 at 15:52
1
Solved
I have a PHP application that is written with Zend Framework. It uses Phing for a build system and PHPUnit for unit testing. All these parts have configuration settings. Zend uses application.xml, ...
Thomasson asked 28/7, 2011 at 10:26
2
Solved
Is there a way to group targets in Phing? I have a number of targets that can be reused by running them in different orders and combinations. For example to create a new dev build:
$ phing clean
$...
5
Solved
Does anyone use Phing to deploy PHP applications, and if so how do you use it? We currently have a hand-written "setup" script that we run whenever we deploy a new instance of our project. We...
Jejune asked 31/8, 2008 at 5:4
1
Solved
<?xml version="1.0" ?>
<project name="first" basedir="." default="build-skeleton">
<property name="dirName" value="module" />
<property name="fileName" value="config" />
...
Outreach asked 26/3, 2011 at 18:55
© 2022 - 2024 — McMap. All rights reserved.