简体   繁体   English

将eclipse-sourcecode导入eclipse

[英]import eclipse-sourcecode into eclipse

Is it possible to import the eclipse-sourcecode into eclipse in order to debug through it? 是否可以将eclipse-sourcecode导入eclipse以便对其进行调试? I have downloaded the eclipse source: 我已经下载了eclipse源:
Downloading Eclipse's Source Code imported it to eclipse but i don't know how to run it. 下载Eclipse的源代码将其导入到Eclipse中,但是我不知道如何运行它。 I thought it would be like Eclipse-Plugin development where a new eclipse-instance starts when i run the code. 我认为这就像Eclipse-Plugin开发一样,当我运行代码时,新的eclipse-instance开始。

I'm looking for a way to get the SVN changeset, but i didn't find some helpful Information. 我正在寻找一种获取SVN变更集的方法,但是我没有找到一些有用的信息。 So I want to analyze how the Eclipse-Team Plugin works. 因此,我想分析Eclipse-Team插件的工作方式。

To start Eclipse inside Eclipse you define a new "Eclipse Application" launcher and choose "Run a product" on the launcher "Main" page and select "org.eclipse.sdk.ide" in the combo box. 要在Eclipse中启动Eclipse,您需要定义一个新的“ Eclipse Application”启动器,并在启动器的“ Main”页面上选择“ Run a product”,然后在组合框中选择“ org.eclipse.sdk.ide”。 Please clarify your question if this is not what you want. 如果这不是您想要的,请澄清您的问题。

The filename you gave looks like this is the ZIP from the "Eclipse Classic" download. 您提供的文件名看起来像是“ Eclipse Classic”下载中的ZIP。 To import projects from this into your workspace you would first have to unzip it somewhere then use "Import->Archive" on a plugin jar file to see the classes and be able to set breakpoints on them. 要将项目从此导入到您的工作区中,您首先必须将其解压缩到某个位置,然后在插件jar文件中使用“导入->归档”以查看类并能够在其上设置断点。 But: you say you want to debug the SVN plugin. 但是:您说您想调试SVN插件。 If the file you have is in fact Eclipse Classic it will contain the Eclipse source alright but not the SVN team plugin (and the source for that). 如果您拥有的文件实际上是Eclipse Classic,它将包含Eclipse源代码,但不包含SVN team插件(以及该源代码)。 The easiest way to get this is to install "Subversive SVN Team Provider Sources" from the "Help->Install New Software..." dialog. 最简单的方法是从“帮助->安装新软件...”对话框中安装“ Subvertive SVN Team Provider Sources”。 Then you can use the "Import->Archive" on the plugin jar (you wont need the SDK-ZIP for this). 然后,您可以在插件jar中使用“导入->存档”(您将不需要SDK-ZIP)。

(edited in response to comments) (根据评论进行编辑)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM