博客主机

eclipse plugin开发过程中也有几个心得

另外在实践eclipse plugin开发过程中也有几个心得: 1、如果开发plugin,所有的依赖库都要包含到 Plug-in Dependencies 中;而不能只是引入到工程中。2、如何输出到console:MessageConsole mc=new MessageConsole("****",null);IConsole[] cs=new IConsole[1];cs[0]=mc;ConsolePlugin.getDefault().getConsoleManager().addConsoles(cs);mc.activate();PrintStream out=new PrintStream( mc.newOutputStre...

将Subclipse的中文变成英文

Q: 这几天开始搭建svn,同时我也给我的eclipse安装了Subclipse插件,可是Subclipse对国际化的支援很好,可能是根据操作系统来选 择语言,所以呢,我的英文版的eclipse就有了一个中文版的subclipse,我是想换成英文的啦,可是捣鼓了半天没有结果。我没有发现那边可以设置,我把plugin目录下的....zh.properties删除或者换成英文都试过了,还是不行。哪位帮助一下 A: 设置eclipse启动参数:-clean -nl en_U...

每个项目最重要的十件事

这是我在做每个项目时的明细表,我强烈建议您也这样做。原因是:(1)新的开发者很快的就能够加快这个项目的进程,(2)用户能够容易的安装你的产品,而且也很容易去维护。 1.版本控制:应该说您需要有某种形式的版本控制系统。如今的版本控制系统应该选择Subversion ,您只需要一台服务器主机。开放源代码的项目时,我使用code.google.com ,商业项目时我使用Hosted-Projects 。Hosted-Projects,每...

Lunuo Plugin开发总结(一)

作为新手入行开发eclipse插件,到现在为止初步了解了eclipse,osgi,RCP,SWT/JFace等一些知识。在这过程中,给我最大的帮助的是这本《Contributing to eclipse Principle, Patterns, and Plug-Ins》,这本书的作者是大名鼎鼎的Erich Gamma,JUnit的开发者,在书中demo的开发就是JUnit-Plugin的开发,作者用了Test Driven Development 和Pattern Design的观点和方法。让我在学习的过程中深深为精彩的开发过...

Eclipse 3.4 Hidden Treasures

Eclipse 3.4 "Ganymede" will be released in the upcoming days. I've been working with the RC builds for some time now and I like it. Eclipse 3.4 is a better IDE and a more robust platform than its' predecessor. In this post, I've gathered some new features which I like and may be "off the beaten path". Rich Hovers This is not a hidden feature, but I had to mention it. The Jav...

Lunuo plugin使用注意1

使用Lunuo Plugin时,要打印出profiling信息时,一定要注意导入的包是跟插件目录同一个,否则由于classloader的机制,会造成静态的counter是不同的对象

Eclipse – a tale of two VMs (and many classloaders)

When starting off with Eclipse plugin development or rich client platform development, you're more than likely to run into issues like ClassNotFoundException or problems with the Java command line and properties like java.endorsed.dirs. Most often, these problems arise because many Eclipse developers don't realise the magic that lets Eclipse do its work. Amongst these are th...

classloader

我们一般在系统路径中配置了 "."(当前目录)的classpath,所以如果你在当前目录命令行中运行java HelloWorld, 运行成功。这个类由system classloader去负责载入。 如果在HelloWorld.class中import另外一个在同目录下jar包中的类,如果不指定-classpath XX.jar的话,运行失败。说明system classloader 不会去查找即使时同目录下的jar包。
Copyright © 小小的数据技术梦想 保留所有权利.   Theme  Ality 浙ICP备12043346号-1

用户登录

分享到: