Login | Register
My pages Projects Community openCollabNet

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

propel
Discussion topic

Back to topic list

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

« Previous message in topic | 2 of 3 | Next message in topic »

Messages

Show all messages in topic

[propel] Grr... convert-props bombing "Denny H dot Shimkoski" <dhs at hamfish dot org> "Denny H dot Shimkoski" <dhs at hamfish dot org> 2004-04-12 11:35:17 PDT
     Re: [propel] Grr... convert-props bombing hlellelid Hans Lellelid 2004-04-12 12:04:53 PDT
         RE: [propel] Grr... convert-props bombing "Denny H dot Shimkoski" <dhs at hamfish dot org> "Denny H dot Shimkoski" <dhs at hamfish dot org> 2004-04-12 12:00:53 PDT
Messages per page: