Reputation: 9363
In Eclipse (on Windows) I created a cross-platform folder structure for Phonegap :
--phonegap_android
--assets
--www (symlink/junction to 'src')
...
--phonegap_ios
...
--src
index.html
Here's what I did to get this working :
phonegap-android
folder.assets/www
' folder to link with 'src
' (using the Sysinternals command)I can run the application now, but I have problems committing the project to svn.
The 'www
' folder is a junction-folder, so when changes are made to this folder, I want this folder to commit to the real source folder : 'src
'.
I tried different approaches :
Setting an svn:ignore on 'assets
' to ignore 'www
', but then of course
nothing in www
is committed, when I commit the android-project in Eclipse.
Setting an svn:externals on 'assets
' to define 'www
' as an
external to svn://myproject/src
, but then it still tries to commit everything in assets/www
and I get an error 'No versioned parent directories'.
Any ideas how to get the www
folder NOT committed, but at the same time get the src
folder to get committed to the svn repository?
Upvotes: 0
Views: 624
Reputation: 11
Dylan,
Following with svn:externals will work.
Henceforth whatever you commit to phonegap_android/asset/www folder, it will be committed to src folder(svn://myproject/src)
Upvotes: 1