So I'm writing e4 RCP application for my studies. My problem is that, as I change the Application.e4xmi file - I basically add / remove some part (View) - the changes are not reflected in the application later run ! It's totally as eclipse (IDE) or eclipse RCP app would cache the file or it's binary outcome (whatever it is) and is not using the new, current version.
我正在写e4 RCP应用。我的问题是,当我更改应用程序时。e4xmi文件-我基本上添加/删除了一些部分(视图)-更改没有反映在以后的应用程序中!这完全是eclipse (IDE)或eclipse RCP应用程序缓存文件或它的二进制结果(无论它是什么),并且不使用新的当前版本。
I build, clean, remove workspace runtime location etc. but noting works. I am stuck.
我构建、清理、删除工作区运行时位置等,但没有注意到工作。我卡住了。
eclipse-jee-luna-SR1a-win32-x86_64
jdk1.8.0_40
Project was created as e(fx)clipse -> JavaFx -> OSGI -> e4 Application projects
项目创建为e(fx)clipse -> JavaFx -> OSGI -> e4应用项目
--EDIT--
——编辑
If I change plugim.xml and make product property point to a not existing file:
如果我改变plugim。xml并使产品属性指向一个不存在的文件:
<property name="applicationXMI" value="com.budzek.herber.app/Application2.e4xmi" />
No exception if thrown, nor is something logged, and rcp application looks like from the old,"cached" e4xmi file.
如果抛出,也没有日志记录,而且rcp应用程序看起来与旧的“缓存”e4xmi文件类似。
I'd really appreciate your help, thanks in advance.
我非常感谢你的帮助,谢谢你的帮助。
1 个解决方案
#1
5
Specify the -clearPersistedState
option in the Run Configuration for the application to stop it loading the saved e4xmi file. You might also want to use -clean
to make sure plugin changes are also picked up.
在应用程序的Run配置中指定-clearPersistedState选项,以阻止它加载已保存的e4xmi文件。您可能还想使用-clean来确保插件更改也被选中。
Ypu can also specify -persistState false
to stop the persisted state being saved on exit.
Ypu还可以指定-persistState false来停止在退出时保存的持久化状态。
The persisted state is stored in the workspace in the '.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi' file
持久化状态存储在“.metadata/.plugins/org.eclipse.e4.workbench/workbench”工作区中。xmi文件的
#1
5
Specify the -clearPersistedState
option in the Run Configuration for the application to stop it loading the saved e4xmi file. You might also want to use -clean
to make sure plugin changes are also picked up.
在应用程序的Run配置中指定-clearPersistedState选项,以阻止它加载已保存的e4xmi文件。您可能还想使用-clean来确保插件更改也被选中。
Ypu can also specify -persistState false
to stop the persisted state being saved on exit.
Ypu还可以指定-persistState false来停止在退出时保存的持久化状态。
The persisted state is stored in the workspace in the '.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi' file
持久化状态存储在“.metadata/.plugins/org.eclipse.e4.workbench/workbench”工作区中。xmi文件的