开发者

Android and Eclipse - a problem

I'm a newbie with Eclipse and Android. I have a legacy project from an SVN repository which I could import and use under Eclipse Helios. Also changes inside and outside Eclipse are synchronized fine with the SVN.

Now the problem: The project structure consists of a root directory, referring to a src path, which exists outside the root (i.e. on the same level as the root of the project is). I guess this has been arranged by the designer, because the src part has been referenced from different java projects for 开发者_JS百科different platforms. I think this is not such a bad idea.

However: Whatever I do I can't make Eclipse and SVN synchronize changes on files located in this "outer" directory. What do I have to do in order to make both aware of the outer parts, w/o being forced to change the file/dir structure completely?

Kind regards


From what I understand from your description you did the following ?

  1. You Removed the src folder created by eclipse during the first check out.
  2. You create a linked src folder (when you created it, instead of just accepting all the defaults, you opened the "advanced" dialog box and checked the radio button saying Link...(Linked Folder) and you filled in the location where you wanted that "outer" src folder to be located).
  3. You updated from the repository.
  4. But when you look at the updated folders, the src that has been updated is really under the root rather than the one you have shifted away.

Can you confirm my understanding ?

If not, then you might try the procedure outlined above.

Unless there are twists in the ADT I don't know about (a little bit like in hierarchical maven projects where you can "export as Maven subproject"), I cannot see any other scenario that would lead to the problem you describe.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜