For windows use this command mklink /D link-name target-folder and for linux/mac use ln to create a source link. Both works for me.
Up vote 9 down vote favorite 2 share g+ share fb share tw.
I am working on a PhoneGap app that is supposed to run on iOS and Android. My folder structure looks like this: +-+-app folder | +-android (contains Eclipse workspace and project files) | +-iOS (contains XCode project files) | +-www (contains all html, js, css etc. files for the actual app) It's easy to reference the www folder in the XCode project, everything there works fine. However, creating a link to the www folder in Eclipse doesn't work as expected: I used 'Import -> Filesystem' to create the link under the existing assets folder and everything seemed to work fine.
But the files are not getting copied to the apk during the build step. Any idea what I am doing wrong? Android eclipse phonegap link|improve this question edited Jul 27 '11 at 11:04 asked Jul 27 '11 at 10:56Jim926 75% accept rate.
This can be accomplished creating a "Linked Folder" resource in Eclipse. It's essentially the same thing as what Xcode creates when you drag any file or folder into your project and tell it to create references - just nowhere near as easy. The ADT Eclipse plugin expects an "assets" folder at the top level of your project, so we're going to create an /assets linked folder that references ../www, sitting right next to your project folder.
File menu > New > Folder Folder name: assets Click Advanced >> Select: Link to alternate location (Linked Folder) You can use Browse to select the www folder and you're done, but this option creates the link using a full path which will usually break on other team members' systems Click Variables... New Name: SIBLING_WWW_FOLDER Location: ${PROJECT_LOC}/../www OK Select SIBLING_WWW_FOLDER and click OK Finish.
Just in another way. – Greg Randall Nov 16 '11 at 1:59 This doesn't work for me. It works fine for editing, but I don't think that the Android build tools follow the Eclipse links when they bundle the assets into the .
Apk file. – Paul Beusterien Jan 6 at 17:13 This didn't work for me either. The files are not getting bundled in the apk file.
Must be some other setting.. :-( Any help is greatly appreciated. – user906825 Jan 10 at 23:26 Didn't work for me either. As the files are not copied in the .
Apk, I found that the mklink /D option in windows works well. – dhaval Feb 16 at 7:04 Also didn't work for me! I can't find a setting to get it to work.
:-\ – Ricket Feb 18 at 1:42.
Don't know how does it work in MacOS but I guess you can create a symbolic link with ln, putting your www folder inside Eclipse's assets. I do it both in Windows and Linux and work ok.
Yes, thank you for this solution, it would definitely work on OSX. However, I should have mentioned that I am looking for a way to do this in Eclipse without filesystem-links, because anyone checking the project out of our svn would have to set the links up by hand. – Jim Jul 27 '11 at 14:52 Umh... something like this?
Help.eclipse.org/indigo/… – ciberado Aug 1 '11 at 19:36 see also stackoverflow.com/questions/5648493/… – Paul Beusterien Jan 6 at 17:19.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.