Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Linked Files in Eclipse for PhoneGap project with Android [duplicate]

Possible Duplicate:
How to link assets/www folder in Eclipse / Phonegap / Android project?

I want to develop the html and javascript files for my phonegap project in a different folder than the standard "assets/www" folder (for android sdk on eclipse windows). i thought i could include a linked folder in my eclipse project but the linked folder did not appear to compile into the apk as the app stated that the resource could not be found.
anyone else try to do this?

like image 878
Paul Avatar asked May 29 '11 20:05

Paul


1 Answers

I use symlinks, yes they work on windows also. I have tested it with phonegap in visual studio/windows phone project and it works fine.

See wikipedia for details http://en.wikipedia.org/wiki/NTFS_symbolic_link

Example: (Make sure you have moved your www folder to c:\www )

cd MyProject/assets/

mklink /D www c:\www

That should do it

like image 137
jornare Avatar answered Nov 03 '22 15:11

jornare