- 1> 是输出正确数据, 2> 则是错误数据输出项目, 若要同时写入同一个档案需要使用 2>&1 /dev/null 是什么呢?基本上,那就有点像是一个『黑洞』的垃圾桶功能!当你输入的任何东西导向到这个虚拟的垃圾桶装置时,『他就会凭空消失不见了~~』
Read More You must see the qualifier string property when exporting your features and plug-ins by Eclipse pde. But specified qualifier string won't appear after you export the features successfully.
If you want to use the qualifier string, you must define your feature and plug-in version like below:
1.0.0.qualifier, …
Read More最近几天被一个注册表相关的defect搞的焦头烂额。
背景是这样的,产品在安装的时候需要通过修改注册表注册文件关联等信息。在先前安装程序基于InstallShield时工作正确,但在最近安装程序改用MSI后,我们写入注册表的信息没有被写到所期望的位置。
通过各种试验,查找资料,终于搞明白原因。我们修改注册表的进程不是当前用户进程,而是系统进程,因此写入到HKEY_CURRENT_USER下的数据不能被写入到当前登陆用户下。
We should not use "HKEY_CURRENT_USER" to retrival current user's registry key value. Because …
Read More- When you develop a rich client application base on eclipse framework, and your application require eclipse platform feature, you would find that your application has some menu items contributed by eclipse platform. Those menu items are defined by several plug-ins' implementation of actionSet extention point. In fact …
Read More java程序开发中经常用到JNI调用本地library, 同时又希望将library同class文件编译成一个jar文件以方便deploy.
但是JDK的classloader不支持从jar文件中加载library, 一个变通的方法就是jar里的library以临时文件的方式写到临时目录或java.library目录.
附上两篇文档链接 :
**Load Library inside a jar file
**
Read MoreThose days my work is focus on eclipse's update. Now I understand the general mechanism and meet some issues when using it in development work.
The update mechanism includes four major types: install, enable, disable and uninstall. And all of those operations can be executed by command line, such as installing a …
Read MoreI met a defect that dynamically created menu items disappear after creating a new viewPart. It caused me overtime last Friday. Today I find the root cause.
The scenario is:
open first document, the items are shown well
open another document, the items disappear
The requirement is that showing the menu items while …
Read More- I need use remote debug in our project, however just some experience in Weblogic were found from internet. After my investigation, I got some experience about using Eclipse remote debug RCP.
There are two important parameters for jvm. And we must launch remote java app with those two parameters.
-Xdebug //tells jvm …
Read More