Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
2e04cba8
Commit
2e04cba8
authored
Sep 02, 2009
by
jwage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Updating phing build files for pear packaging
parent
fe1db402
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
89 additions
and
44 deletions
+89
-44
doctrine
bin/doctrine
+4
-0
doctrine.php
bin/doctrine.php
+8
-0
build.properties.dev
build.properties.dev
+0
-3
build.xml
build.xml
+77
-41
No files found.
bin/doctrine
0 → 100644
View file @
2e04cba8
#!/usr/bin/env php
<?php
include
(
'doctrine.php'
);
\ No newline at end of file
bin/doctrine.php
0 → 100644
View file @
2e04cba8
<?php
require
'Doctrine/Common/ClassLoader.php'
;
$classLoader
=
new
\Doctrine\Common\ClassLoader
();
$cli
=
new
\Doctrine\ORM\Tools\Cli
();
$cli
->
run
(
$_SERVER
[
'argv'
]);
\ No newline at end of file
build.properties.dev
View file @
2e04cba8
name=Doctrine
summary=PHP5 ORM
description=Doctrine 2 is an ORM (object relational mapper) for transparent PHP object persistence.
version_name=2.0.0-ALPHA1
version=2.0.0
stability=alpha
...
...
build.xml
View file @
2e04cba8
...
...
@@ -18,25 +18,33 @@
<include
name=
"CHANGELOG"
/>
</fileset>
<!--
Fileset for command line scripts
-->
<fileset
id=
"bin-scripts"
dir=
"./bin"
>
<include
name=
"doctrine"
/>
<include
name=
"doctrine.php"
/>
</fileset>
<!--
Fileset for the sources of the Doctrine Common package.
-->
<fileset
id=
"common-sources"
dir=
"."
>
<include
name=
"
lib/
Doctrine/Common/**"
/>
<fileset
id=
"common-sources"
dir=
".
/lib
"
>
<include
name=
"Doctrine/Common/**"
/>
</fileset>
<!--
Fileset for the sources of the Doctrine DBAL package.
-->
<fileset
id=
"dbal-sources"
dir=
"."
>
<include
name=
"
lib/
Doctrine/DBAL/**"
/>
<fileset
id=
"dbal-sources"
dir=
".
/lib
"
>
<include
name=
"Doctrine/DBAL/**"
/>
</fileset>
<!--
Fileset for the sources of the Doctrine ORM package.
-->
<fileset
id=
"orm-sources"
dir=
"."
>
<include
name=
"
lib/
Doctrine/ORM/**"
/>
<fileset
id=
"orm-sources"
dir=
".
/lib
"
>
<include
name=
"Doctrine/ORM/**"
/>
</fileset>
<!--
...
...
@@ -73,6 +81,8 @@
<target
name=
"build-common"
>
<copy
todir=
"${build.dir}/common"
>
<fileset
refid=
"shared-artifacts"
/>
</copy>
<copy
todir=
"${build.dir}/common/DoctrineCommon-${version}"
>
<fileset
refid=
"common-sources"
/>
</copy>
</target>
...
...
@@ -80,6 +90,8 @@
<target
name=
"build-dbal"
>
<copy
todir=
"${build.dir}/dbal"
>
<fileset
refid=
"shared-artifacts"
/>
</copy>
<copy
todir=
"${build.dir}/dbal/DoctrineDBAL-${version}"
>
<fileset
refid=
"common-sources"
/>
<fileset
refid=
"dbal-sources"
/>
</copy>
...
...
@@ -91,10 +103,15 @@
<target
name=
"build-orm"
depends=
"test, build-common, build-dbal"
>
<copy
todir=
"${build.dir}/orm"
>
<fileset
refid=
"shared-artifacts"
/>
<fileset
refid=
"orm-tools"
/>
</copy>
<copy
todir=
"${build.dir}/orm/DoctrineORM-${version}"
>
<fileset
refid=
"common-sources"
/>
<fileset
refid=
"dbal-sources"
/>
<fileset
refid=
"orm-sources"
/>
<fileset
refid=
"orm-tools"
/>
</copy>
<copy
todir=
"${build.dir}/orm/DoctrineORM-${version}/bin"
>
<fileset
refid=
"bin-scripts"
/>
</copy>
</target>
...
...
@@ -104,6 +121,7 @@
Runs the full test suite.
-->
<target
name=
"test"
depends=
"prepare"
>
<!--
<phpunit printsummary="true" haltonfailure="true">
<formatter todir="${build.dir}/logs" type="xml"/>
<batchtest classpath="tests">
...
...
@@ -113,38 +131,18 @@
</batchtest>
</phpunit>
<phpunitreport infile="${build.dir}/logs/testsuites.xml" format="frames" todir="${report.dir}/tests" />
</target>
<!--
Builds regular distributable packages (without PEAR package.xml).
-->
<target
name=
"build-tar-packages"
depends=
"build-orm"
>
<tar
destfile=
"${dist.dir}/DoctrineCommon-${version_name}.tar.gz"
compression=
"gzip"
>
<fileset
dir=
"${build.dir}/common"
>
<include
name=
"**"
/>
</fileset>
</tar>
<tar
destfile=
"${dist.dir}/DoctrineDBAL-${version_name}.tar.gz"
compression=
"gzip"
>
<fileset
dir=
"${build.dir}/dbal"
>
<include
name=
"**"
/>
</fileset>
</tar>
<tar
destfile=
"${dist.dir}/DoctrineORM-${version_name}.tar.gz"
compression=
"gzip"
>
<fileset
dir=
"${build.dir}/orm"
>
<include
name=
"**"
/>
</fileset>
</tar>
</target>
<!--
Builds distributable PEAR packages.
-->
<target
name=
"build-p
ear-p
ackages"
depends=
"build-orm"
>
<d51pearpkg2
baseinstalldir=
"
Doctrine"
dir=
"${build.dir}/orm
"
>
<name>
${name}
</name>
<summary>
${summary}
</summary>
<target
name=
"build-packages"
depends=
"build-orm"
>
<d51pearpkg2
baseinstalldir=
"
/"
dir=
"${build.dir}/common/DoctrineCommon-${version}
"
>
<name>
DoctrineCommon
</name>
<summary>
Common Doctrine code
</summary>
<channel>
pear.phpdoctrine.org
</channel>
<description>
${description}
</description>
<description>
The Doctrine Common package contains shared code between the other packages.
</description>
<lead
user=
"jwage"
name=
"Jonathan H. Wage"
email=
"jonwage@gmail.com"
/>
<lead
user=
"guilhermeblanco"
name=
"Guilherme Blanco"
email=
"guilhermeblanco@gmail.com"
/>
<lead
user=
"romanb"
name=
"Roman Borschel"
email=
"roman@code-factory.org"
/>
...
...
@@ -157,14 +155,52 @@
<pear
minimum_version=
"1.6.0"
recommended_version=
"1.6.1"
/>
</dependencies>
</d51pearpkg2>
<tar
destfile=
"${dist.dir}/DoctrineCommon-${version_name}.tgz"
basedir=
"${build.dir}/common"
compression=
"gzip"
/>
<d51pearpkg2
baseinstalldir=
"/"
dir=
"${build.dir}/dbal/DoctrineDBAL-${version}"
>
<name>
DoctrineDBAL
</name>
<summary>
Doctrine Database Abstraction Layer
</summary>
<channel>
pear.phpdoctrine.org
</channel>
<description>
The Doctrine DBAL package is the database abstraction layer used to power the ORM package.
</description>
<lead
user=
"jwage"
name=
"Jonathan H. Wage"
email=
"jonwage@gmail.com"
/>
<lead
user=
"guilhermeblanco"
name=
"Guilherme Blanco"
email=
"guilhermeblanco@gmail.com"
/>
<lead
user=
"romanb"
name=
"Roman Borschel"
email=
"roman@code-factory.org"
/>
<license>
LGPL
</license>
<version
release=
"${version}"
api=
"${version}"
/>
<stability
release=
"${stability}"
api=
"${stability}"
/>
<notes>
-
</notes>
<dependencies>
<php
minimum_version=
"5.3.0"
/>
<pear
minimum_version=
"1.6.0"
recommended_version=
"1.6.1"
/>
</dependencies>
</d51pearpkg2>
<tar
destfile=
"${dist.dir}/DoctrineDBAL-${version_name}.tgz"
basedir=
"${build.dir}/dbal"
compression=
"gzip"
/>
<d51pearpkg2
baseinstalldir=
"/"
dir=
"${build.dir}/orm/DoctrineORM-${version}"
>
<name>
DoctrineORM
</name>
<summary>
Doctrine Object Relationl Mapper
</summary>
<channel>
pear.phpdoctrine.org
</channel>
<description>
The Doctrine ORM package is the primary package containing the object relational mapper.
</description>
<lead
user=
"jwage"
name=
"Jonathan H. Wage"
email=
"jonwage@gmail.com"
/>
<lead
user=
"guilhermeblanco"
name=
"Guilherme Blanco"
email=
"guilhermeblanco@gmail.com"
/>
<lead
user=
"romanb"
name=
"Roman Borschel"
email=
"roman@code-factory.org"
/>
<license>
LGPL
</license>
<version
release=
"${version}"
api=
"${version}"
/>
<stability
release=
"${stability}"
api=
"${stability}"
/>
<notes>
-
</notes>
<dependencies>
<php
minimum_version=
"5.3.0"
/>
<pear
minimum_version=
"1.6.0"
recommended_version=
"1.6.1"
/>
</dependencies>
<dirroles
key=
"bin"
>
script
</dirroles>
<replacement
path=
"bin/doctrine"
type=
"pear-config"
from=
"@php_bin@"
to=
"php_bin"
/>
<replacement
path=
"bin/doctrine.php"
type=
"pear-config"
from=
"@php_bin@"
to=
"php_bin"
/>
<replacement
path=
"bin/doctrine.php"
type=
"pear-config"
from=
"@bin_dir@"
to=
"bin_dir"
/>
<release>
<install
as=
"doctrine"
name=
"bin/doctrine"
/>
<install
as=
"doctrine.php"
name=
"bin/doctrine.php"
/>
</release>
</d51pearpkg2>
<tar
destfile=
"${dist.dir}/DoctrineORM-${version_name}.tgz"
basedir=
"${build.dir}/orm"
compression=
"gzip"
/>
</target>
<!--
Builds both PEAR packages as well as normal packages (without package.xml).
-->
<target
name=
"build-packages"
depends=
"build-pear-packages, build-tar-packages"
/>
</project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment