I have a cross-mobile-platform project that I am trying have platform-specific Android and BlackBerry Eclipse projects in separate repos use a Git submodule that contains J2ME platform-generic src and test code.
Here is the intended layout:
team-lib-j2me
| - src (platform generic source code)
| | - ...
| - test
| - src (platform generic source code)
| - ...
team-lib-android
| - team-lib-j2me (git submodule)
| - lib (Eclipse Android project)
| | - AndroidManifest.xml
| | - src (platform specific)
| | - ...
| - test (Eclipse Android Project)
| - AndroidManifest.xml
| - src (platform specific)
| - ...
team-lib-blackberry
| - team-lib-j2me (git submodule)
| - lib (Eclipse BB Project)
| | - BlackBerry_App_Descriptor.xml
| | - src (platform specific)
| | - ...
| - test (Eclipse BB Project)
| - BlackBerry_App_Descriptor.xml
| - src (platform specific)
| - ...
I cannot seem to find a clean and simple way to:
- Get either of the Eclipse "lib" projects to source link to the relative path "../team-lib-j2me/src"
- Get either of the Eclipse "test" projects to source link to the relative path "../team-lib-j2me/test/src"
Any suggestions on how to do this?
Thanks!