You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by ch...@apache.org on 2009/10/30 00:11:50 UTC

svn commit: r831147 - in /incubator/log4php/trunk: package-config.php pom.xml

Author: chammers
Date: Thu Oct 29 23:11:50 2009
New Revision: 831147

URL: http://svn.apache.org/viewvc?rev=831147&view=rev
Log:
Renaming pear package as discussed on the -dev list

Modified:
    incubator/log4php/trunk/package-config.php
    incubator/log4php/trunk/pom.xml

Modified: incubator/log4php/trunk/package-config.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/package-config.php?rev=831147&r1=831146&r2=831147&view=diff
==============================================================================
--- incubator/log4php/trunk/package-config.php (original)
+++ incubator/log4php/trunk/package-config.php Thu Oct 29 23:11:50 2009
@@ -19,8 +19,8 @@
 // parse pom.xml to get version in sync
 preg_match("/<version>(.+?)(-(\w+))?<\/version>/", file_get_contents("../../pom.xml"), $pom_version);
 
-$name = 'apachelog4php';
-$summary = 'log4Php is a PHP port of log4j framework';
+$name = 'Apache_log4php';
+$summary = 'log4php is a PHP port of log4j framework';
 $version = $pom_version[1].(empty($pom_version[3]) ? '' : $pom_version[3]);
 $versionBuild = 'b1';
 $apiVersion = '2.0.0';
@@ -28,7 +28,7 @@
 $apiStability = 'stable';
 
 $description = <<<EOT
-log4Php is a PHP port of log4j framework. It supports XML configuration, 
+log4php is a PHP port of log4j framework. It supports XML configuration, 
 logging to files, stdout/err, syslog, socket, configurable output layouts 
 and logging levels.
 EOT;

Modified: incubator/log4php/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/pom.xml?rev=831147&r1=831146&r2=831147&view=diff
==============================================================================
--- incubator/log4php/trunk/pom.xml (original)
+++ incubator/log4php/trunk/pom.xml Thu Oct 29 23:11:50 2009
@@ -199,7 +199,7 @@
                                 <exec executable="pear" dir="target/pear">
                                     <arg line="package"/>
                                 </exec>
-                                <move file="target/pear/apachelog4php-${pear.version}.tgz" tofile="target/apache-log4php-${pear.version}-pear.tgz" />
+                                <move file="target/pear/Apache_log4php-${pear.version}.tgz" tofile="target/Apache_log4php-${pear.version}-pear.tgz" />
                             </tasks>
                         </configuration>
                     </execution>



Re: svn commit: r831147 - in /incubator/log4php/trunk: package-config.php pom.xml

Posted by Christian Hammers <ch...@lathspell.de>.
Am Fri, 30 Oct 2009 08:01:46 +0100
schrieb Christian Grobmeier <gr...@gmail.com>:

> On Fri, Oct 30, 2009 at 12:11 AM,  <ch...@apache.org> wrote:
> > Author: chammers
> > Date: Thu Oct 29 23:11:50 2009
> > New Revision: 831147
> >
> > URL: http://svn.apache.org/viewvc?rev=831147&view=rev
> > Log:
> > Renaming pear package as discussed on the -dev list
> 
> My build fails with:
> Embedded error: Warning: Could not find file
> /Volumes/ANDREW/Projekte/Entwicklung/log4php-commit-trunk/target/pear/Apache_log4php-2.0.0incubating.tgz
> to copy.
> 
> This is because of conflicts with the relase plugin where i renamed
> the version: [exec] Error: Version type <release> is not a valid
> version (2.0.0-incubatingSNAPSHOT)

I've just fixed that. The "incubating", if present, is appended to the
version number but only the "SNAPSHOT" decides whether the package 
is considered "stable" or "snapshot" by pear.

bye,

-christian-

Re: svn commit: r831147 - in /incubator/log4php/trunk: package-config.php pom.xml

Posted by Christian Grobmeier <gr...@gmail.com>.
On Fri, Oct 30, 2009 at 12:11 AM,  <ch...@apache.org> wrote:
> Author: chammers
> Date: Thu Oct 29 23:11:50 2009
> New Revision: 831147
>
> URL: http://svn.apache.org/viewvc?rev=831147&view=rev
> Log:
> Renaming pear package as discussed on the -dev list

My build fails with:
Embedded error: Warning: Could not find file
/Volumes/ANDREW/Projekte/Entwicklung/log4php-commit-trunk/target/pear/Apache_log4php-2.0.0incubating.tgz
to copy.

This is because of conflicts with the relase plugin where i renamed the version:
[exec] Error: Version type <release> is not a valid version
(2.0.0-incubatingSNAPSHOT)