Re: phonegap build doesn't preserve symlink paths

2013-09-17 Thread Michal Mocny
Yeah I think we fixed it to copy the underlying file if there are symlinks inside the platform folder, but the copy from www/ to platform just does the equivalent of cp -R which never resolves relative paths (nor should it, really, though there may be a flag to have it do so). -Michal On Mon, Se

Re: phonegap build doesn't preserve symlink paths

2013-09-16 Thread Lindsey Simon
On Mon, Sep 16, 2013 at 1:09 PM, Michal Mocny wrote: > Creating symlinks to absolute paths might be sufficient to fix your issue > right now. > > Good idea, that totally worked for now. > > > On Mon, Sep 16, 2013 at 12:44 PM, Lindsey Simon > wrote: > > > Ok cool thanks fellas - I didn't know i

phonegap build doesn't preserve symlink paths

2013-09-16 Thread Lindsey Simon
In my project/www I symlink my js/css/img directories to another directory in my tree (where my server deploys from). When I run `phonegap build android` the symlinks get copied to platforms/android/assets/www/css but the path is no longer valid. Anyone else experience this? Should I file a bug?

Re: phonegap build doesn't preserve symlink paths

2013-09-16 Thread Lindsey Simon
Ok cool thanks fellas - I didn't know if this was a bug or if maybe I was just doing it wrong.. On Mon, Sep 16, 2013 at 12:03 PM, Andrew Grieve wrote: > Bug filed: https://issues.apache.org/jira/browse/CB-4828 > > Thanks Lindsey. > > > On Mon, Sep 16, 2013 at 2:17 PM, Shazron wrote: > > > Lind

Re: phonegap build doesn't preserve symlink paths

2013-09-16 Thread Michal Mocny
Creating symlinks to absolute paths might be sufficient to fix your issue right now. -Michal On Mon, Sep 16, 2013 at 12:44 PM, Lindsey Simon wrote: > Ok cool thanks fellas - I didn't know if this was a bug or if maybe I was > just doing it wrong.. > > > > On Mon, Sep 16, 2013 at 12:03 PM, Andr

Re: phonegap build doesn't preserve symlink paths

2013-09-16 Thread Andrew Grieve
Bug filed: https://issues.apache.org/jira/browse/CB-4828 Thanks Lindsey. On Mon, Sep 16, 2013 at 2:17 PM, Shazron wrote: > Lindsey, always file an issue. Thanks :) > > > On Mon, Sep 16, 2013 at 10:26 AM, Lindsey Simon wrote: > > > In my project/www I symlink my js/css/img directories to anoth

Re: phonegap build doesn't preserve symlink paths

2013-09-16 Thread Shazron
Lindsey, always file an issue. Thanks :) On Mon, Sep 16, 2013 at 10:26 AM, Lindsey Simon wrote: > In my project/www I symlink my js/css/img directories to another directory > in my tree (where my server deploys from). > > When I run `phonegap build android` the symlinks get copied to > platform