简体   繁体   English

Eclipse将插件导入为源项目,但不包括src文件夹

[英]Eclipse import a plugin as source project but it's not include src folder

I want to modify the plugin org.eclipse.jface.text's source code and build my own plugin.I opened the Plug-ins window( Window > Show View > Plug-ins ),found org.eclipse.jface.text, right click > Import as > Source Project . 我想修改插件org.eclipse.jface.text的源代码并构建自己的插件。我打开插件窗口( Window > Show View > Plug-ins ),找到org.eclipse.jface.text, right click > Import as > Source Project Serveal seconds later, I can find the project org.eclipse.jface.text on Package Explorer. 服务几秒钟后,我可以在Package Explorer上找到项目org.eclipse.jface.text。 However,this project does not include src folder and I can't find any .java files, it's a Binary Project. 但是,该项目不包括src文件夹,并且我找不到任何.java文件,它是一个二进制项目。

My Eclipse Info: 我的Eclipse信息:
Type: Eclipse Java EE IDE for Web Developers. 类型:Web开发人员的Eclipse Java EE IDE。
Version: Indigo Service Release 2 版本:Indigo Service Release 2
Build id: 20120216-1857 Build ID:20120216-1857

Can someone give me a solusion to solve this problem? 有人可以帮我解决这个问题吗?

我认为您应该尝试使用专用向导( File > Import... > Plug-in Development > Plug-ins )从源中File > Import... > Plug-in Development > Plug-ins ,如官方Eclipse文档的此页中所示。

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

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