Re: phonegap build doesn't preserve symlink paths
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, Sep 16, 2013 at 5:36 PM, Lindsey Simon wrote: > 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 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: > > > > > > > > > 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 > > > > > > platforms/android/assets/www/css but the path is no longer valid. > > > > > > > > > > > > Anyone else experience this? Should I file a bug? (and attempt a > > CL?) > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > >
Re: phonegap build doesn't preserve symlink paths
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 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: > > > > > > > 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 > > > > > platforms/android/assets/www/css but the path is no longer valid. > > > > > > > > > > Anyone else experience this? Should I file a bug? (and attempt a > CL?) > > > > > > > > > > Thanks > > > > > > > > > > > > > > >
phonegap build doesn't preserve symlink paths
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? (and attempt a CL?) Thanks
Re: phonegap build doesn't preserve symlink paths
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: > > > 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 > > > platforms/android/assets/www/css but the path is no longer valid. > > > > > > Anyone else experience this? Should I file a bug? (and attempt a CL?) > > > > > > Thanks > > > > > >
Re: phonegap build doesn't preserve symlink paths
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, 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: > > > > > 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 > > > > platforms/android/assets/www/css but the path is no longer valid. > > > > > > > > Anyone else experience this? Should I file a bug? (and attempt a CL?) > > > > > > > > Thanks > > > > > > > > > >
Re: phonegap build doesn't preserve symlink paths
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 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? (and attempt a CL?) > > > > Thanks > > >
Re: phonegap build doesn't preserve symlink paths
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 > platforms/android/assets/www/css but the path is no longer valid. > > Anyone else experience this? Should I file a bug? (and attempt a CL?) > > Thanks >