CentOS 4.5
php-5.1.6
propel 1.2.1
phing 2.3.0beta1
creole 1.10
[root@hs1 gadgetclub]# /usr/local/phocoa/phing/phocoa newproject
phing -f /usr/local/phocoa/phing/build.xml -Dusing.phocoa.make=true -
Dphocoa.pwd=/home/gadgetclub -Dphocoa.dir=/usr/local/phocoa -
Dphocoa.project.name=helloworld -Dphocoa.project.dir=/home/gadgetclub/
helloworld newproject
Buildfile: /usr/local/phocoa/phing/build.xml
phocoa > prepareGeneral:
[echo] PHOCOA framework base dir at: /usr/local/phocoa
phocoa > newproject:
Enter the name of the new project: [helloworld]
[echo] The container directory for your PHOCOA project will be
used to place the log, runtime, and project directories. Please be
careful!
Enter the path to the project container directory: [/home/gadgetclub/
helloworld]
[realpathexpandhome] Resolved /home/gadgetclub/helloworld to
Enter the name of the server (ie dns name) that will host this
application: [localhost]
Enter the IP of the server that will host this application:
[127.0.0.1]
Enter the PORT of the server that will host this application: [80]
[phingcall] Calling Buildfile '/usr/local/phocoa/phing/build.xml' with
target 'setupProjectContainer'
phocoa > setupProjectContainer:
[echo] Creating project container directories and setting up
permissions
[chmod] Changed file mode on '/log' to 777
[chmod] Changed file mode on '/runtime' to 777
[chmod] Changed file mode on '/runtime/smarty/templates_c' to 777
[echo] Creating project directory: /helloworld
[mkdir] Created dir: /helloworld
[echo] Copying PHOCOA templates...
[copy] Copying 9 files to /helloworld
[mkdir] Created dir: /helloworld/wwwroot/www
[mkdir] Created dir: /helloworld/modules
[echo] Setting up configuration files...
[copy] Copying 3 files to /helloworld
[filter:ReplaceTokens] Replaced "##SERVER_IP##" with "127.0.0.1"
[filter:ReplaceTokens] Replaced "##SERVER_PORT##" with "80"
[filter:ReplaceTokens] Replaced "##SERVER_NAME##" with "localhost"
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_DIR##" with "/
helloworld"
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_DIR##" with "/
helloworld"
[filter:ReplaceTokens] Replaced "##PHOCOA_BASE_DIR##" with "/usr/local/
phocoa"
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_DIR##" with "/
helloworld"
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_DIR##" with "/
helloworld"
[filter:ReplaceTokens] Replaced "##PHOCOA_BASE_DIR##" with "/usr/local/
phocoa"
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_DIR##" with "/
helloworld"
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_CONTAINER_DIR##" with ""
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_CONTAINER_DIR##" with ""
[filter:ReplaceTokens] No token defined for key
"##PHOCOA_APP_DIRBASE_DIR##"
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_DIR##" with "/
helloworld"
[filter:ReplaceTokens] Replaced "##PHOCOA_BASE_DIR##" with "/usr/local/
phocoa"
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_CONTAINER_DIR##" with ""
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_CONTAINER_DIR##" with ""
[filter:ReplaceTokens] Replaced "##PHOCOA_APP_DIR##" with "/
helloworld"
[phingcall] Calling Buildfile '/usr/local/phocoa/phing/build.xml' with
target 'httpdconf'
phocoa > prepareGeneral:
[echo] PHOCOA framework base dir at: /usr/local/phocoa
phocoa > prepareProject:
[echo] 1
[php] Evaluating PHP expression: $_ENV['_']
[echo] PHOCOA project dir at: /helloworld
[realpathexpandhome] Resolved /helloworld/.. to /
[echo] PHOCOA project container dir at: /
[property] Loading /helloworld/conf/build.properties
[property] Unable to find property file: /helloworld/conf/
build.properties... skipped
phocoa > httpdconf:
[echo] PHOCOA requires some httpd configurations to work its
magic. You must either be able to edit httpd.conf, or have an apache
with mod_rewrite enabled.
Select httpd configuration mode: 1=httpd.conf, 2=.htaccess [1]
[echo] Make sure your httpd.conf file contains the line:
Include //helloworld/helloworld/conf/httpd.conf
Will this project use database access via Propel?(yes/no) [1] 2
Will this project use database access via Propel?(yes/no) [1] no
[echo] New Project setup complete.
BUILD FINISHED
Total time: 23.8842 seconds
I just downloaded and installed the Phocoa framework. Reading through the Getting Started PDF, I'm trying to run 'phocoa newproject', but the directory paths are not being set correctly. As such, the helloworld directory is being created in / on the server, and the /helloworld/helloworld directory is never created. The wrapper script doesn't appear to set phocoa.project.name or phocoa.project.dir properly, but even if I nail then in the shell script, the problem remains. Also, I noticed the following typo :
[realpathexpandhome] Resolved /home/gadgetclub/helloworld to
[realpathexpandhome] Resolved /home/gadgetclub/helloworld to /home/gadgetclub/helloworld
Will this project use database access via Propel?(yes/no) [1]
The default should be a word, not a number ;-)
<input propertyname="local.usePropel" validArgs="yes,no" defaultValue="yes">Will this project use database access via Propel?</input>
On the Phocoa web site, you have mailing list links that point to lists.phocoa.com, which resolves to 216.114.79.25 (same as open-development.com), but there's no Apache config pointing to Mailman. Looks like you moved from Mailman to Google for the mailing list. If there's some list archives available, that would be extremely helpful.
Aside from that, you have a very promising looking framework I'd like to evaluate for developing web applications for my customers. Where can I find the current status on the project?