I was wondering if it’s possible to have a java package setup using a different subversion repository than the rest. Ideally, I would probably go with a different library project, but in the case of BlackBerry, the 3rd party library linking does not work well, so I would like to just separate my UI package into a different repository than the rest so that I can control the UI better for different OS versions, but leave all the other packages the same.
Is this possible?
Sure, it shouldn’t be a problem at all.
There are a number of approaches…
No matter how you do it, I suggest you define a set of interfaces in your main project and only refer to your objects through those interfaces–then in each of your partial projects you implement those interfaces. In this way if you change the way you link you don’t have to make any code changes…
In order to get your initial instances of those objects use a factory/reflection…