简体   繁体   English

Eclipse rcp在启动和导出文件中显示不同的布局

[英]Eclipse rcp show different layout in Launch and exported file

I'm using Eclipse Luna for creating RCP Application. 我正在使用Eclipse Luna来创建RCP应用程序。 I set product configuration file for plug-in project. 我为插件项目设置了产品配置文件。 When I run application by click Launch button (Launch an Eclipse application) from Overview page, (1) it keep show old code, not changed one. 当我通过单击“概述”页面中的“启动”按钮(启动Eclipse应用程序)运行应用程序时,(1)它保持显示旧代码,而不是更改其中的一个。 So, I exported my application. 因此,我导出了我的应用程序。 The first time works find and then second time this one also doesn't show changed codes. 第一次可以找到,然后第二次也没有显示更改的代码。 I have to remove folder every time for checking updated codes. 我每次都要删除文件夹以检查更新的代码。

Please, someone help me to figure out these issues. 请有人帮我弄清楚这些问题。 It's really bugging me. 这真让我烦恼。

  1. Keep showing old code from Launch an Eclipse application & Eclipse Product export wizard 继续从启动Eclipse应用程序和Eclipse产品导出向导中显示旧代码。
  2. Launch and exported file show different layout 启动和导出文件显示不同的布局

在此输入图像描述

From Launch 从发射

在此输入图像描述

From exported file. 从导出的文件。

I found to run with updated source after exported files. 我发现导出文件后使用更新的源运行。 Do uncheck "Generate p2 repository" & "Allow for binary cycles in target platform" when opened Export dialog. 打开“导出”对话框时,不要选中“生成p2存储库”和“允许目标平台中的二进制循环”。 After unchecked it them I could get updated files. 取消选中后,我可以获得更新的文件。 It looks it happened for application version managing (P2 Folder). 它看起来发生在应用程序版本管理(P2文件夹)上。

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

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