Re: Success with Cordova CLI and custom plugin

2013-07-05 Thread Tyler Wilson
Not even a poor man would accept Windows shortcuts for symlinks. It is a whole different file that just contains a reference back to the original. The closest thing on Windows are junction points, which only work for directories, which doesn't help me/us. Again, for me links are useful since I

Re: Success with Cordova CLI and custom plugin

2013-07-04 Thread Filip Maj
A poor man's symlink ;) On 7/4/13 11:08 AM, "Anis KADRI" wrote: >Oh that kinda symlinks :-) > > >On Thu, Jul 4, 2013 at 2:00 PM, Filip Maj wrote: > >> Windows has symlinks, the "Shortcut" stuff. See [1]. >> >> And no, --link throws if you try to use with a URL. See [2]. >> >> [1] >> >>http://n

Re: Success with Cordova CLI and custom plugin

2013-07-04 Thread Anis KADRI
Oh that kinda symlinks :-) On Thu, Jul 4, 2013 at 2:00 PM, Filip Maj wrote: > Windows has symlinks, the "Shortcut" stuff. See [1]. > > And no, --link throws if you try to use with a URL. See [2]. > > [1] > http://nodejs.org/docs/v0.10.0/api/fs.html#fs_fs_symlink_srcpath_dstpath_ty > pe_callback

Re: Success with Cordova CLI and custom plugin

2013-07-04 Thread Filip Maj
Windows has symlinks, the "Shortcut" stuff. See [1]. And no, --link throws if you try to use with a URL. See [2]. [1] http://nodejs.org/docs/v0.10.0/api/fs.html#fs_fs_symlink_srcpath_dstpath_ty pe_callback [2] https://github.com/apache/cordova-plugman/blob/master/src/fetch.js#L21 On 7/4/13 10:5

Re: Success with Cordova CLI and custom plugin

2013-07-04 Thread Anis KADRI
does --link work for URLs ? Also bad idea because no symlinks on Windoz. On Thu, Jul 4, 2013 at 1:40 PM, Michal Mocny wrote: > Either way, I now think real symlinking is a bad idea. We currently must > keep a copy of the files as they existed at "fetch" time so that we can use > them for upgr

Re: Success with Cordova CLI and custom plugin

2013-07-04 Thread Michal Mocny
Either way, I now think real symlinking is a bad idea. We currently must keep a copy of the files as they existed at "fetch" time so that we can use them for upgrade/uninstall. Symlinks break that. Conceptually, we already have "links" in that we remember the original source locations, and we co

Re: Success with Cordova CLI and custom plugin

2013-07-04 Thread Filip Maj
The --link options actually exists in plugman, but it is only an option for the `fetch` command. All it does is copy the plugin code from to a plugins directory. With --link, instead it will symlink. It does not actually create symlinks for native or web plugin code. Would that even work, I wonde

Re: Success with Cordova CLI and custom plugin

2013-07-03 Thread Michal Mocny
On Wed, Jul 3, 2013 at 1:13 PM, Tyler Wilson wrote: > Good day, > > Just wanted to publicise that I have had success with the cli, a custom > plugin and an iOS build. I must say once everything is set up it is pretty > nice being able to add/remove components and it appears to handle things > just

Success with Cordova CLI and custom plugin

2013-07-03 Thread Tyler Wilson
Good day, Just wanted to publicise that I have had success with the cli, a custom plugin and an iOS build. I must say once everything is set up it is pretty nice being able to add/remove components and it appears to handle things just fine. Just a couple notes: - The default build created has