将 Clearcase View 导入 Eclipse 工作区,更新 Maven 依赖项,通过命令行 Windows 构建工作区
WINDOWS 7
正如标题所解释的:
我在 eclipse 中有一个工作区,我还有一个 Clearcase 视图(mvn clean install - 在视图上完成的步骤)。我的这个视图有多个项目。
现在我想使用命令行将此视图导入到我的工作区(请仅使用命令行)。导入后,我想做一些常规的事情,比如更新 Maven 依赖项和构建工作区。
如果您能给我一步一步的命令行方式来完成此操作,我将非常感激。
假设视图的 dir..path 为 %View%
假设 Eclipse 工作空间为 %Workspace%
a) 将所有项目从视图导入到工作空间。
b) 更新 Maven 依赖项。
c) 构建工作空间。
d) 刷新
非常感谢您抽出时间。我真的很感激,因为过去 48 小时我一直被困在这里。
WINDOWS 7
As the Title explains:
I have a workspace in eclipse, Also i have a Clearcase view (mvn clean install -- step done on the view). My this view has multiple projects.
Now i want to import this view into my workspace using command line (Please only command line). After importing , i want to do the regular stuff, like updating maven dependencies and building the workspace.
I would really appreciate if you could give me step by step command line way to do it.
Lets assume the dir..path of view is %View%
Lets assume that eclipse workspace %Workspace%
a) Importing all the projects from the view to the workspace.
b) Updating maven dependencies.
c) Building workspace.
d) Refresh
Thanks a lot for your time. I really appreciate it because, i have been stuck here from past 48 hours.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
注意:我想您指的是 ClearCase 快照 视图(文件位于
C:\...
上)。 动态视图上的任何编译都会非常慢。我不确定您是否可以轻松地将项目从命令行导入到 Eclipse 工作区中。
您可以说编写一个插件(例如 此线程中提出的插件),但它应该从现有的 Eclipse 会话中运行。
Note: I suppose you are referring to a ClearCase snapshot view (with files on
C:\...
). Any compilation on a dynamic view would be quite slow.I am not sure you can easily import a project into an Eclipse workspace from command-line alone.
You could arguably write a plugin (like the one proposed in this thread), but it is supposed to run from within an existing Eclipse session.