2 Nov 2007 07:51
Setting output dir relative of directory I am in?
Jake Conk <jake.conk <at> gmail.com>
2007-11-02 06:51:22 GMT
2007-11-02 06:51:22 GMT
Hello, I installed the propel runtime and propel generator using pear so they are located in my /usr/share/php5/PEAR directory and my conf dir for my project is located somewhere in my project (/srv/www/htdocs/projects/myproject/datasource/conf). Now when I'm in my conf dir and try to run propel-gen it tries to build my files in /usr/share/php5/PEAR/datasource and I have my projects propel.output.dir set to "../../datasource" which means I want it to build in the current directory I am in but apparently its trying to build in the location of the where it's sources are at. Is there a variable that I could use that holds the current working directory that I am in? I don't want to hard code this path because other people have this project checked out from svn as well and have the project located in different directories on their system. Thanks, - Jake
RSS Feed