Hey there,
I try to use symlinks for including shared components in my SproutCore app
but apparently symlinks aren't recognized by sc-server and sc-build. Is
this by design? Or am I missing something?
Example:
*view.js*
sc_require('SHARED/views/mixins/StateResourceView');
…
"SHARED" is a symlink that points to a different SproutCore app that has
components I want to use in my app. Unfortunately, sc-server or sc-build
fail with
WARN 15:45:42.007 ~ Could not find entry
'SHARED/views/mixins/StateResourceView' required in
my_app:source/views/ContentView/MainView/ArrangementView/TrackControlsView.js
When I create a copy instead of symlinking the shared components it works
fine. I'm on OS X.
Any ideas?
Thanks,
Aaron
I try to use symlinks for including shared components in my SproutCore app
but apparently symlinks aren't recognized by sc-server and sc-build. Is
this by design? Or am I missing something?
Example:
*view.js*
sc_require('SHARED/views/mixins/StateResourceView');
…
"SHARED" is a symlink that points to a different SproutCore app that has
components I want to use in my app. Unfortunately, sc-server or sc-build
fail with
WARN 15:45:42.007 ~ Could not find entry
'SHARED/views/mixins/StateResourceView' required in
my_app:source/views/ContentView/MainView/ArrangementView/TrackControlsView.js
When I create a copy instead of symlinking the shared components it works
fine. I'm on OS X.
Any ideas?
Thanks,
Aaron