Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 92 lines (83 sloc) 3.907 kB
c89d0e6 [2.0] Started Doctrine 2 phing build file.
romanb authored
1 <?xml version="1.0"?>
7fa136b @beberlei Refactor build process
beberlei authored
2 <project name="DoctrineDBAL" default="build" basedir=".">
0d0a772 [2.0] Updating phing build.xml to generate pear packages
jwage authored
3 <taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2" />
e4d0126 @beberlei Move to Doctrine Build common
beberlei authored
4 <import file="${project.basedir}/lib/vendor/doctrine-build-common/packaging.xml" />
0d0a772 [2.0] Updating phing build.xml to generate pear packages
jwage authored
5
c89d0e6 [2.0] Started Doctrine 2 phing build file.
romanb authored
6 <property file="build.properties" />
5c26307 @jwage Fixing phing pear packaging and cli from pear install.
jwage authored
7
8 <!--
537c8e4 [2.0] Implemented DQL bulk DELETE support for Class Table Inheritance…
romanb authored
9 Fileset for artifacts shared across all distributed packages.
10 -->
c89d0e6 [2.0] Started Doctrine 2 phing build file.
romanb authored
11 <fileset id="shared-artifacts" dir=".">
12 <include name="LICENSE"/>
13 </fileset>
2e04cba [2.0] Updating phing build files for pear packaging
jwage authored
14
15 <!--
16 Fileset for command line scripts
17 -->
18 <fileset id="bin-scripts" dir="./bin">
8054984 @beberlei DDC-684 - Fix flaw in build process, DBAL PEAR package now does not c…
beberlei authored
19 <include name="doctrine-dbal"/>
20 <include name="doctrine-dbal.php"/>
2e04cba [2.0] Updating phing build files for pear packaging
jwage authored
21 </fileset>
22
ea184c9 @romanb Updates for dependency management.
romanb authored
23 <!--
24 Fileset for the sources of the Doctrine Common dependency.
25 -->
8b5f4cc @jwage Fixing DBAL phing dependencies and version.
jwage authored
26 <fileset id="common-sources" dir="./lib/vendor/doctrine-common/lib">
ea184c9 @romanb Updates for dependency management.
romanb authored
27 <include name="Doctrine/Common/**"/>
28 </fileset>
29
5c26307 @jwage Fixing phing pear packaging and cli from pear install.
jwage authored
30 <!--
537c8e4 [2.0] Implemented DQL bulk DELETE support for Class Table Inheritance…
romanb authored
31 Fileset for the sources of the Doctrine DBAL package.
32 -->
2e04cba [2.0] Updating phing build files for pear packaging
jwage authored
33 <fileset id="dbal-sources" dir="./lib">
34 <include name="Doctrine/DBAL/**"/>
c89d0e6 [2.0] Started Doctrine 2 phing build file.
romanb authored
35 </fileset>
36
5c26307 @jwage Fixing phing pear packaging and cli from pear install.
jwage authored
37 <!--
38 Fileset for source of the Symfony YAML and Console components.
39 -->
17f93fe @beberlei Rename build.xml fileset
beberlei authored
40 <fileset id="external-sources" dir="./lib/vendor">
8054984 @beberlei DDC-684 - Fix flaw in build process, DBAL PEAR package now does not c…
beberlei authored
41 <include name="Symfony/Component**"/>
5c26307 @jwage Fixing phing pear packaging and cli from pear install.
jwage authored
42 </fileset>
43
7fa136b @beberlei Refactor build process
beberlei authored
44 <target name="copy-files" depends="prepare">
45 <echo msg="Checking for ${version} in ${project.version_file}" />
46 <exec command="grep '${version}' ${project.basedir}/${project.version_file}" checkreturn="true"/>
47 <copy todir="${build.dir}/${project.name}-${version}">
c89d0e6 [2.0] Started Doctrine 2 phing build file.
romanb authored
48 <fileset refid="shared-artifacts"/>
2e04cba [2.0] Updating phing build files for pear packaging
jwage authored
49 </copy>
7fa136b @beberlei Refactor build process
beberlei authored
50 <copy todir="${build.dir}/${project.name}-${version}">
ea184c9 @romanb Updates for dependency management.
romanb authored
51 <fileset refid="common-sources"/>
c89d0e6 [2.0] Started Doctrine 2 phing build file.
romanb authored
52 <fileset refid="dbal-sources"/>
53 </copy>
7fa136b @beberlei Refactor build process
beberlei authored
54 <copy todir="${build.dir}/${project.name}-${version}/Doctrine">
17f93fe @beberlei Rename build.xml fileset
beberlei authored
55 <fileset refid="external-sources"/>
5c26307 @jwage Fixing phing pear packaging and cli from pear install.
jwage authored
56 </copy>
7fa136b @beberlei Refactor build process
beberlei authored
57 <copy todir="${build.dir}/${project.name}-${version}/bin">
5c26307 @jwage Fixing phing pear packaging and cli from pear install.
jwage authored
58 <fileset refid="bin-scripts"/>
59 </copy>
c89d0e6 [2.0] Started Doctrine 2 phing build file.
romanb authored
60 </target>
705b61a @hobodave Removed Doctrine\ORM
hobodave authored
61
7fa136b @beberlei Refactor build process
beberlei authored
62 <target name="define-pear-package" depends="copy-files">
63 <d51pearpkg2 baseinstalldir="/" dir="${build.dir}/${project.name}-${version}">
64 <name>${project.name}</name>
65 <summary>Doctrine Database Abstraction Layer</summary>
66 <channel>pear.doctrine-project.org</channel>
67 <description>The Doctrine DBAL package is the database abstraction layer used to power the ORM package.</description>
68 <lead user="jwage" name="Jonathan H. Wage" email="jonwage@gmail.com" />
69 <lead user="guilhermeblanco" name="Guilherme Blanco" email="guilhermeblanco@gmail.com" />
70 <lead user="romanb" name="Roman Borschel" email="roman@code-factory.org" />
71 <lead user="beberlei" name="Benjamin Eberlei" email="kontakt@beberlei.de" />
72 <license>LGPL</license>
73 <version release="${pear.version}" api="${pear.version}" />
74 <stability release="${pear.stability}" api="${pear.stability}" />
75 <notes>-</notes>
76 <dependencies>
77 <php minimum_version="5.3.2" />
78 <pear minimum_version="1.6.0" recommended_version="1.6.1" />
79 <package name="DoctrineCommon" channel="pear.doctrine-project.org" minimum_version="${dependencies.common}" />
80 <package name="Console" channel="pear.symfony.com" minimum_version="${dependencies.sfconsole}" />
81 </dependencies>
82 <dirroles key="bin">script</dirroles>
83 <ignore>Doctrine/Common/</ignore>
84 <ignore>Doctrine/Symfony/</ignore>
85 <release>
8054984 @beberlei DDC-684 - Fix flaw in build process, DBAL PEAR package now does not c…
beberlei authored
86 <install as="doctrine-dbal" name="bin/doctrine-dbal" />
87 <install as="doctrine-dbal.php" name="bin/doctrine-dbal.php" />
7fa136b @beberlei Refactor build process
beberlei authored
88 </release>
2e04cba [2.0] Updating phing build files for pear packaging
jwage authored
89 </d51pearpkg2>
7fa136b @beberlei Refactor build process
beberlei authored
90 </target>
135e657 @beberlei Fix pirum target of build.xml
beberlei authored
91 </project>
Something went wrong with that request. Please try again.