Login | Register
My pages Projects Community openCollabNet

Discussions > users > [propel] Grr... convert-props bombing

propel
Discussion topic

Hide all messages in topic

All messages in topic

Re: [propel] Grr... convert-props bombing

Reply

Author hlellelid
Full name Hans Lellelid
Date 2004-04-12 12:04:53 PDT
Message Hi Denny,

I'm having a hard time reproducing this issue (on WinXP).

> [capsule] Using templatePath: C:\php\apps\propel\templates
> [capsule] Generating to file
> C:\php\apps\prope​l\build\conf\test​ing-conf.php
> [capsule] Parsing control template: conf/Control.tpl
> Property file does not exist: ./conf/testing.properties
> (Some versions of PHP may segfault on deeply nested Exceptions and
> output buffering.)
> Execution of target "convert-props" failed for the following reason:
> C:\php\apps\prope​l\build-propel.xml:​395:12: Cannot write parsed
> template: Property file does not exist: ./conf/testing.properties
> [phingcall] C:\php\apps\prope​l\build-propel.xml:​395:12: Cannot write
> parsed template: Property file does not exist: ./conf/testing.properties

Well, the first thing would be to double- or triple-check that you have a
testing.properties file in your top-level conf/ directory (not the
build/conf/ directory, which is where the converted version will get put
-- or in the templates/conf/ directory which is where the Control.tpl
script is). I.e. you should see a bookstore.properties file in the same
directory.

Hmmm -- another thought is that you should make sure that it's not empty.
The error could be misleading; if the file is empty reading it using
file_get_contents() will return 0 (number of bytes read) which may be
interpreted as FALSE somewhere in Propel / Phing code.

The ./conf/testing.properties notation for the file should work even in
Windows, since the path will be transformed.

Let me know if any of that helps at all.

Hans

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@pr​opel.tigris.org
For additional commands, e-mail: users-help at propel dot tigris dot org

RE: [propel] Grr... convert-props bombing

Reply

Author "Denny H dot Shimkoski" <dhs at hamfish dot org>
Full name "Denny H dot Shimkoski" <dhs at hamfish dot org>
Date 2004-04-12 12:00:53 PDT
Message m-o-o-n.... that spells mooooon.

It was a typo.

UGH!


-----Original Message-----
From: Denny H. Shimkoski
Sent: Monday, April 12, 2004 2:35 PM
To: users at propel dot tigris dot org
Subject: [propel] Grr... convert-props bombing


Hey all,

I'm on Win2k w/ PHP 5.
The build process is telling me the following...

propel > convert-props:
     [echo] +-------------------​--------------------​---+
     [echo] | |
     [echo] | Converting project properties file to an |
     [echo] | array dump for run-time performance. |
     [echo] | |
     [echo] +-------------------​--------------------​---+
  [capsule] Using templatePath: C:\php\apps\propel\templates
  [capsule] Generating to file
C:\php\apps\prope​l\build\conf\test​ing-conf.php
  [capsule] Parsing control template: conf/Control.tpl
Property file does not exist: ./conf/testing.properties
(Some versions of PHP may segfault on deeply nested Exceptions and
output buffering.) Execution of target "convert-props" failed for the
following reason:
C:\php\apps\prope​l\build-propel.xml:​395:12: Cannot write parsed
template: Property file does not exist: ./conf/testing.properties
[phingcall] C:\php\apps\prope​l\build-propel.xml:​395:12: Cannot write
parsed template: Property file does not exist: ./conf/testing.properties

BUILD SUCCESSFUL

Which is a lie... because, you see, I DO have the testing.properties
file in the conf directory. The bookstore built fine and dandy...
Hrmmrmrrmmmm

Thanks a bunch,
Denny

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@pr​opel.tigris.org
For additional commands, e-mail: users-help at propel dot tigris dot org



--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@pr​opel.tigris.org
For additional commands, e-mail: users-help at propel dot tigris dot org

[propel] Grr... convert-props bombing

Reply

Author "Denny H dot Shimkoski" <dhs at hamfish dot org>
Full name "Denny H dot Shimkoski" <dhs at hamfish dot org>
Date 2004-04-12 11:35:17 PDT
Message Hey all,

I'm on Win2k w/ PHP 5.
The build process is telling me the following...

propel > convert-props:
     [echo] +-------------------​--------------------​---+
     [echo] | |
     [echo] | Converting project properties file to an |
     [echo] | array dump for run-time performance. |
     [echo] | |
     [echo] +-------------------​--------------------​---+
  [capsule] Using templatePath: C:\php\apps\propel\templates
  [capsule] Generating to file
C:\php\apps\prope​l\build\conf\test​ing-conf.php
  [capsule] Parsing control template: conf/Control.tpl
Property file does not exist: ./conf/testing.properties
(Some versions of PHP may segfault on deeply nested Exceptions and
output buffering.)
Execution of target "convert-props" failed for the following reason:
C:\php\apps\prope​l\build-propel.xml:​395:12: Cannot write parsed
template: Property file does not exist: ./conf/testing.properties
[phingcall] C:\php\apps\prope​l\build-propel.xml:​395:12: Cannot write
parsed template: Property file does not exist: ./conf/testing.properties

BUILD SUCCESSFUL

Which is a lie... because, you see, I DO have the testing.properties
file in the conf directory.
The bookstore built fine and dandy... Hrmmrmrrmmmm

Thanks a bunch,
Denny

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@pr​opel.tigris.org
For additional commands, e-mail: users-help at propel dot tigris dot org
Messages per page: