# |
Jul 20th 2009, 08:38 |
markstory |
I still use svn for 1.2 |
# |
Jul 20th 2009, 08:38 |
alkemann |
afk |
# |
Jul 20th 2009, 08:38 |
markstory |
not sure, gwoo does all the merges with 1.2 |
# |
Jul 20th 2009, 08:37 |
alkemann |
git repo in code. is just stable? |
# |
Jul 20th 2009, 08:37 |
alkemann |
which repo is up to what date of the 1.2, 1.3 and 2.0 branches of cake core |
# |
Jul 20th 2009, 08:36 |
markstory |
what is? |
# |
Jul 20th 2009, 08:36 |
alkemann |
thats markstory's board :) |
# |
Jul 20th 2009, 08:34 |
Phally |
alkemann: the git 1.2 branch isn't as up-to-date as the svn branch |
# |
Jul 20th 2009, 08:26 |
alkemann |
win |
# |
Jul 20th 2009, 08:25 |
Phally |
$20 says that it uses thechaw code |
# |
Jul 20th 2009, 08:23 |
Phally |
aight |
# |
Jul 20th 2009, 08:23 |
alkemann |
use code. though |
# |
Jul 20th 2009, 08:23 |
alkemann |
code.cakephp.org and thechaw.com/cakephp |
# |
Jul 20th 2009, 08:22 |
Phally |
oh haha |
# |
Jul 20th 2009, 08:22 |
alkemann |
two even |
# |
Jul 20th 2009, 08:22 |
Phally |
there is a git branch which is up to date? |
# |
Jul 20th 2009, 08:22 |
markstory |
Phally: that is how the api generator shell calls SchemaShell too. |
# |
Jul 20th 2009, 08:21 |
alkemann |
svn?! tsk tsk |
# |
Jul 20th 2009, 08:21 |
Phally |
1.2.x.x svn branch |
# |
Jul 20th 2009, 08:21 |
alkemann |
what cake core u on? |
# |
Jul 20th 2009, 08:20 |
Phally |
just tried |
# |
Jul 20th 2009, 08:20 |
Phally |
this worked fine: phally@phally-desktop:/var/www/checkouts/bakery/app$ cake schema run create -path plugins/users/config/sql/ -name Messaging |
# |
Jul 20th 2009, 08:11 |
markstory |
actually its $file that is missing not the path. |
# |
Jul 20th 2009, 08:08 |
alkemann |
ok. so it only tries the default path then |
# |
Jul 20th 2009, 08:08 |
markstory |
$options only contains the name, not the path. |
# |
Jul 20th 2009, 08:07 |
markstory |
which is where the error comes from. |
# |
Jul 20th 2009, 08:07 |
markstory |
line 253 runs Schema->load() which resets the options I think. |
# |
Jul 20th 2009, 08:06 |
markstory |
I think there might be an issue with run() |
# |
Jul 20th 2009, 08:05 |
Phally |
have you cd'ed in the right folder (APP) |
# |
Jul 20th 2009, 08:04 |
Phally |
oh the filename was dummy.php |
# |
Jul 20th 2009, 08:03 |
Phally |
afaik |
# |
Jul 20th 2009, 08:02 |
Phally |
cake schema run create -path plugins\dummy\config\sql -name Dummy is as i had it |
# |
Jul 20th 2009, 08:02 |
alkemann |
right |
# |
Jul 20th 2009, 08:02 |
Phally |
DummySchema? |
# |
Jul 20th 2009, 08:02 |
Phally |
what is the classname? |
# |
Jul 20th 2009, 08:02 |
alkemann |
could not be loaded |
# |
Jul 20th 2009, 08:01 |
Phally |
i had to add -name Dummy |
# |
Jul 20th 2009, 08:01 |
alkemann |
this for instance cake schema run create Dummy -path plugins\dummy\config\sql |
# |
Jul 20th 2009, 08:00 |
alkemann |
i know that at some point i got plugins schema file to run using -path, but at some point it stopped working and i havent been able to get anything but default to run since. |
# |
Jul 20th 2009, 07:58 |
markstory |
but yeah fatal errors are a pain. |
# |
Jul 20th 2009, 07:58 |
markstory |
don't use die() in tests |