m2eclipse 插件作为本地站点存储库
是否可以下载 m2eclipse 插件,以便我可以从 eclipse 将其安装为本地站点? 如果是这样,你能给我指向该链接吗,我在 m2eclipse 网站上找不到它:
======================================
尝试过@Torsten的评论
我创建了一批包含此条目的文件:
@echo off
set ECLIPSE=D:/DevProgs/dumps/Eclipse3.5
echo Mirroring metadata for %1
java -jar %ECLIPSE%/plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar \
-application org.eclipse.equinox.p2.metadata.repository.mirrorApplication \
-source %1 \
-destination p2-mirror \
-destinationName "D:\temp" \
-verbose \
-compare
并调用批处理文件,但它只是启动 Eclipse 并且没有任何反应......你能告诉吗我之后该怎么办?
D:\DevAreas\test>DownloadEclipseRepo.bat "http://download.eclipse.org/technology/m2e/releases/"
Mirroring metadata for "http://download.eclipse.org/technology/m2e/releases/"
并且批处理文件不执行任何其他操作。
当我停止批处理文件时..它会抱怨这样的事情:
D:\DevAreas\test>DownloadEclipseRepo.bat "http://download.eclipse.org/technology/m2e/releases/"
Mirroring metadata for "http://download.eclipse.org/technology/m2e/releases/"
Terminate batch job (Y/N)?
^C'-application' is not recognized as an internal or external command,
operable program or batch file.
'-source' is not recognized as an internal or external command,
operable program or batch file.
'-destination' is not recognized as an internal or external command,
operable program or batch file.
'-destinationName' is not recognized as an internal or external command,
operable program or batch file.
'-verbose' is not recognized as an internal or external command,
operable program or batch file.
'-compare' is not recognized as an internal or external command,
operable program or batch file.
D:\DevAreas\test>
您能否提供一些更清晰的信息/建议?
is it possible to download the m2eclipse plug-in so that I can install it from eclipse as a local site?
if so, can you point me to the link, I could not find it on the m2eclipse site here:
====================================
Tried @Torsten's comments
I created a batch file with this entry:
@echo off
set ECLIPSE=D:/DevProgs/dumps/Eclipse3.5
echo Mirroring metadata for %1
java -jar %ECLIPSE%/plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar \
-application org.eclipse.equinox.p2.metadata.repository.mirrorApplication \
-source %1 \
-destination p2-mirror \
-destinationName "D:\temp" \
-verbose \
-compare
and called the batch file, but it simply starts eclipse and nothing happens... can you tell me what to do after this?
D:\DevAreas\test>DownloadEclipseRepo.bat "http://download.eclipse.org/technology/m2e/releases/"
Mirroring metadata for "http://download.eclipse.org/technology/m2e/releases/"
and the batch file does not do anything else.
When I stop the batch file.. it complains something like this:
D:\DevAreas\test>DownloadEclipseRepo.bat "http://download.eclipse.org/technology/m2e/releases/"
Mirroring metadata for "http://download.eclipse.org/technology/m2e/releases/"
Terminate batch job (Y/N)?
^C'-application' is not recognized as an internal or external command,
operable program or batch file.
'-source' is not recognized as an internal or external command,
operable program or batch file.
'-destination' is not recognized as an internal or external command,
operable program or batch file.
'-destinationName' is not recognized as an internal or external command,
operable program or batch file.
'-verbose' is not recognized as an internal or external command,
operable program or batch file.
'-compare' is not recognized as an internal or external command,
operable program or batch file.
D:\DevAreas\test>
Could you please provide some more clarity/suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
遗憾的是,越来越多的 Eclipse 项目不再以 Zip 或可下载站点的形式分发。这确实伤害了构建离线安装的人们。
现代……
我想M2Eclipse 也是如此。作为一种解决方案,您可以使用 p2.mirror 脚本从 p2 存储库检索站点的本地副本,如下所示,该脚本使用本地 Eclipse 3.5 安装。您可能希望根据您手头的情况进行调整。
希望这有帮助,
托斯顿
Sadly enough more and more Eclipse projects are no longer distributed as Zips or downloadable sites. This really hurts people building offline installations.
Modern times ...
I think this is the case with M2Eclipse as well. As a solution you can use a p2.mirror script to retrieve a local copy of the site from the p2 repository like the one below, which is using a local Eclipse 3.5 installation. You may want to adapt thi to what you have at hand.
Hope this helps,
Torsten