如何将 CVS 文件放在与 NetBeans 中的源文件不同的目录中?
我在 NetBeans 中有一个项目,到目前为止还没有使用过 CVS。假设包含源文件的目录名为 /www/source_files
,包含项目文件的目录名为 /www/project_files
。存储库中的模块的调用方式与源文件目录不同。当我尝试查看 CVS 时,它迫使我创建一个名为“模块调用方式”的目录,事实上,这对我来说没问题。在它询问我是否要创建新项目之后。问题就从这里开始了。我不想这样做,而且我不知道如何将新创建的目录与 CVS 链接并在我的项目中签出文件。
我想最终得到以下结构:
/www
/source_files
/project_files
/cvs_files
有什么想法如何做到这一点?我正在使用 NetBeans 6.8。
I have a project in NetBeans which haven't used CVS until now. Let's say the directory with source files is called /www/source_files
and directory with project files /www/project_files
. Module in repository is called differently than source files directory. When I'm trying to check out CVS, it forces me to create a directory called exactly how module is called, which is fine by me in fact. Straight after it asks me if I wanted to create new project. And here the problem begins. I don't want to do that and I have no idea how to link newly created directory with CVS and checked out files with my project.
I'd like to end up with following structure:
/www
/source_files
/project_files
/cvs_files
Any ideas how to do this? I'm using NetBeans 6.8.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我要在这里回答我自己的问题。我发现了一些不同的东西,但它基本上与我想要的相同。
我像之前一样将 CVS 模块检出到
/www/source_cvs
中。然后它再次询问我是否要创建新项目。这次我答应了,并在签出目录中创建了一个项目。但我还检查了“将文件从源文件夹复制到另一个位置”并将其设置为/www/source_files
。所以最后,我一直在包含 CVS 文件的目录中工作,但它总是将该目录的全部内容复制到另一个干净的目录中。
Ok, I'm going to answer my own question here. I found something different, but it basically does the same as I wanted.
I checked out CVS module into
/www/source_cvs
, as I did before. Then it asked me once again if I wanted to create new project. This time I said yes and made a project in checked out directory. But I also checked "Copy files from Sources Folder to another location" and set it to/www/source_files
.So in the end, I'm working all the time in directory which has CVS files in it, but it always copies whole content of this directory to another clean one.