我在
Eclipse中有一个现有的Java项目:
MyProject/
src/
... all main sources
test/
... all test sources
build.xml
... lots of other stuff
我现在想添加这个项目(提交它)到一个新的SVN repo的空中继/
https://svn.example.com/MyProject/
trunk/
(Empty)
所以,承诺之后,回购现在看起来像:
https://svn.example.com/MyProject/
trunk/
src/
... all main sources
test/
... all test sources
build.xml
... lots of other stuff
我安装了Subclipse插件.
在Package Explorer中,I:
>右键单击MyProject /
>团队>>共享项目>> SVN>>> https://svn.example.com/MyProject
>使用指定的文件夹名称“trunk”,以便该URL现在是https://svn.example.com/MyProject/trunk
>点击“完成”
当我这样做,而不是将我所有的源代码(包含在MyProject中)提交到中继/在repo中,它覆盖(因此结帐)MyProject /一个空目录!
因此,Share项目似乎是用于从代购中检出代码,而不是首次将新代码提交到回购中!
如何使用Subclipse插件和/或Eclipse的Team功能完成这样的初始提交?