From 0d0a772ea6543a4be3c65ca046ea4c20e55c0d6e Mon Sep 17 00:00:00 2001 From: jwage Date: Mon, 31 Aug 2009 22:24:48 +0000 Subject: [PATCH] [2.0] Updating phing build.xml to generate pear packages --- build.properties.dev | 12 +++++- build.xml | 83 ++++++++++++++++++++++---------------- doctrine | 10 ----- tools/sandbox/doctrine | 8 +--- tools/sandbox/doctrine.php | 9 +++++ 5 files changed, 69 insertions(+), 53 deletions(-) delete mode 100755 doctrine create mode 100644 tools/sandbox/doctrine.php diff --git a/build.properties.dev b/build.properties.dev index 5f9991d92..46e6373ad 100644 --- a/build.properties.dev +++ b/build.properties.dev @@ -1,4 +1,14 @@ -version=2.0-alpha1 +name=Doctrine +summary=PHP5 Database ORM +description=Doctrine is an ORM (object relational mapper) for PHP 5.2.x+ that sits on top of +a powerful DBAL (database abstraction layer). One of its key features is the +ability to optionally write database queries in an OO (object oriented) +SQL-dialect called DQL inspired by Hibernates HQL. This provides developers with +a powerful alternative to SQL that maintains a maximum of flexibility without +requiring needless code duplication. +version_name=2.0.0-ALPHA1 +version=2.0.0 +stability=alpha build.dir=build dist.dir=dist report.dir=reports \ No newline at end of file diff --git a/build.xml b/build.xml index 6ce182a78..6a48d29d9 100644 --- a/build.xml +++ b/build.xml @@ -4,8 +4,9 @@ Doctrine 2 build file. --> - - + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - + + + ${name} + ${summary} + pear.phpdoctrine.org + ${description} + + + + LGPL + + + - + + + + + + + + + - - + + + \ No newline at end of file diff --git a/doctrine b/doctrine deleted file mode 100755 index ccf9d6712..000000000 --- a/doctrine +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env php -setBasePath('Doctrine', __DIR__ . '/lib'); - -$cli = new \Doctrine\ORM\Tools\Cli(); -$cli->run($_SERVER['argv']); diff --git a/tools/sandbox/doctrine b/tools/sandbox/doctrine index 87f76e486..92f323f8c 100755 --- a/tools/sandbox/doctrine +++ b/tools/sandbox/doctrine @@ -1,10 +1,4 @@ #!/usr/bin/env php setBasePath('Doctrine', __DIR__ . '/../../lib'); - -$cli = new \Doctrine\ORM\Tools\Cli(); -$cli->run($_SERVER['argv']); +include('doctrine.php'); \ No newline at end of file diff --git a/tools/sandbox/doctrine.php b/tools/sandbox/doctrine.php new file mode 100644 index 000000000..d868ced52 --- /dev/null +++ b/tools/sandbox/doctrine.php @@ -0,0 +1,9 @@ +setBasePath('Doctrine', __DIR__ . '/../../lib'); + +$cli = new \Doctrine\ORM\Tools\Cli(); +$cli->run($_SERVER['argv']); \ No newline at end of file