<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>fuliangliang的Blog</title><link>http://blog.csdn.net/fuliangliang/</link><description>合抱之木，生于毫末；九层之台，起于累土；千里之行，始于足下。</description><dc:language>zh-CN</dc:language><lastUpdateTime>Thu, 31 Jul 2008 19:13:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>fuliang</dc:creator><title>解决nsIWebProgress addProgressListener失败的问题</title><link>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748465.aspx</link><pubDate>Thu, 31 Jul 2008 19:09:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748465.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/2748465.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748465.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/2748465.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2748465</trackback:ping><description>给nsWebProgress addProgressListener每次都失败，Error: Component returned failure code: 0x80070057(NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.addProgressListener]在google 一下发现很多人都遇到这个问题，在addProgressListener函数里面，首先需要从ProgressListener get WeakReference，添加的listener实际是WeakReference，所以ProgressListener需要实现nsISupportsWeakReference接口&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/2748465.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>Eclipse3.4 Plug-in Spy</title><link>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748449.aspx</link><pubDate>Thu, 31 Jul 2008 19:07:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748449.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/2748449.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748449.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/2748449.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2748449</trackback:ping><description>在Eclipse插件开发中，我们经常"Monkey See Monkey Do",Eclipse3.4提供了和VC++ spy++一样强大的功能的：Plug-in Spy，现在你想模仿Eclipse已有的一个界面可以使用这个spy来探测它的实现类了，这样就省着我们每次都先猜半天，然后在Search了。可以使用快捷键Shit+Option+F1 (Alt+Shift+F1 on Windows)来调用这个Spy。
&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/2748449.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>用ruby写了一个生成xpcom组件模板的小工具</title><link>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748338.aspx</link><pubDate>Thu, 31 Jul 2008 18:56:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748338.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/2748338.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748338.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/2748338.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2748338</trackback:ping><description>写xpcom组件我们经常copy paste,因为xpcom组件的与业务无关的注册、QueryInterface代码都是基本固定的，
写了一个自动生成xpcom组件的template,这样就可以只关心核心业务，避免书写样板式的代码。&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/2748338.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>XPCOM数组作为参数注意的问题</title><link>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748294.aspx</link><pubDate>Thu, 31 Jul 2008 18:52:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748294.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/2748294.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748294.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/2748294.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2748294</trackback:ping><description>XPCOM组件，数组作为传出和传入的参数，c++这种支持引用传参的语言与idl接口的声明是一致的，但
在javascript语言中，参数传递都是值传递，所以参数是不能直接作为返回值的。这样用javascript写xpcom
传入和传出参数时，就会有一些特殊的要求。
我们举一个简单的例子，在idl中，我们的有getArray,setArray接口,用它来说明如何使用javascript编&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/2748294.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>Mozilla XPCOM组件开发常见错误解决方法</title><link>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748219.aspx</link><pubDate>Thu, 31 Jul 2008 18:43:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748219.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/2748219.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2008/07/31/2748219.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/2748219.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2748219</trackback:ping><description>&lt;DIV class=blog_content&gt;
&lt;P&gt;最近做Firefox的开发，一直在用javascript写XPCOM组件，javascript这个东东来写XPCOM非常痛苦，有一点错误都无法注册成功，许多时候基本靠肉眼一个单词一个单词的找，当然也有一些技巧。Firefox开发最常用的工具有firebug和XPCOMViewer,使用XPCOMViewer来查看已注册的组件。&lt;/P&gt;
&lt;P&gt;常见的错误：&lt;/P&gt;
&lt;P&gt;一、死活注册不上：&lt;/P&gt;
&lt;P&gt;注释掉其他方法和成员变量，只保留QueryInterface方法，这样基本都会注册成功了，一旦注册成功，取消掉注释，就可以使用firebug来调试了。&lt;/P&gt;
&lt;P&gt;二、查看XPCOM Viewer（点击要找的XPCOM展开树）发现该XPCOM没有实现指定的接口或者莫名其妙的实现了没有指定的接口：&lt;/P&gt;
&lt;P&gt;没有实现接口： 一般可能idl的接口没有实现nsISupports导致&lt;/P&gt;
&lt;P&gt;实现了没有指定的接口：一班可能是copy别的代码，uuid重复导致&lt;/P&gt;
&lt;P&gt;三、Cc["@company.name;&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/2748219.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>Eclipse恢复删除的文件</title><link>http://blog.csdn.net/fuliangliang/archive/2008/07/09/2628497.aspx</link><pubDate>Wed, 09 Jul 2008 12:59:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2008/07/09/2628497.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/2628497.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2008/07/09/2628497.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/2628497.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2628497</trackback:ping><description>经常有人误删掉Eclise下的代码文件，Eclipse提供了即时保存的功能，本地有一个Local hository,通过它不仅可以恢复到前某天的版本上，还可以恢复误删掉得文件。在你的工程任意处点击右键就会有Restore from local hository...菜单，然后选择要恢复的文件就可以恢复了。当然误删的文件可能没有本地的的副本，这样的话，就只能使用Easy recovery来恢复文件。
&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/2628497.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>解决Ubuntu下scim输入法光标同步</title><link>http://blog.csdn.net/fuliangliang/archive/2008/07/09/2628461.aspx</link><pubDate>Wed, 09 Jul 2008 12:47:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2008/07/09/2628461.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/2628461.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2008/07/09/2628461.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/2628461.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2628461</trackback:ping><description>&lt;p&gt;打开/etc/X11/xinit/xinput.d/scim文件&amp;nbsp;把 GTK_IM_MODULE=xim QT_IM_MODULE=xim 改成 GTK_IM_MODULE=scim QT_IM_MODULE=scim 即可。注销一下或者是重启XWindow。 &lt;/p&gt;&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/2628461.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>基于Eclipse的开发初识（一）</title><link>http://blog.csdn.net/fuliangliang/archive/2008/06/03/2506223.aspx</link><pubDate>Tue, 03 Jun 2008 09:09:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2008/06/03/2506223.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/2506223.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2008/06/03/2506223.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/2506223.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2506223</trackback:ping><description> 最近做基于Eclipse的开发，写写对基于Eclipse的开发一些体会。以前一直在用Eclipse，感觉到插件机制的强大和灵活性，但一直没有接触到Eclipse的开发。现在写代码基本上模仿+现学现卖，Eclipse Plugin开发首先就应该学会模仿（我老大常说的一句Monkey see monkey do，《Contributing to Eclipse》的一条rule）,因为Eclipse除了Run-time Kernal外都是插件（Everything is a contribution），所以要习惯从已有的contributions来学习&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/2506223.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>由于网速问题,本blog暂停,搬迁至JavaEye</title><link>http://blog.csdn.net/fuliangliang/archive/2008/01/13/2042283.aspx</link><pubDate>Sun, 13 Jan 2008 18:19:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2008/01/13/2042283.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/2042283.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2008/01/13/2042283.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/2042283.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2042283</trackback:ping><description>由于网速问题,本blog暂停,搬迁至JavaEye:http://fuliang.javaeye.com&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/2042283.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>Open Session in View</title><link>http://blog.csdn.net/fuliangliang/archive/2007/12/08/1925245.aspx</link><pubDate>Sat, 08 Dec 2007 23:02:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2007/12/08/1925245.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/1925245.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2007/12/08/1925245.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/1925245.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1925245</trackback:ping><description>我们在使用Hibernate来lazy load来优化性能的时候，只要Session关闭后再试图访问未被载入的对象时，就会出现异常。这通常使用在事务之内来数据访问是适合的,但是有时候我们需要强制载入这些数据，例如在Web视图中访问这些模型对象。&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/1925245.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>Spring先进思想与实用主义的集大成者</title><link>http://blog.csdn.net/fuliangliang/archive/2007/12/02/1911697.aspx</link><pubDate>Sun, 02 Dec 2007 11:46:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2007/12/02/1911697.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/1911697.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2007/12/02/1911697.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/1911697.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1911697</trackback:ping><description>Spring一个开源的Java EE轻量级框架，它的目的是提供更好的编程模型，从而使J2EE开发更容易。Spring的许多理念一直引领着J2EE的轻量级开发的潮流。通过对Spring的学习，切实地感觉到了Spring领先的理念以及实用主义框架与规范驱动的EJB之间的差别。
&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/1911697.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>cvs服务器安装与Eclipse配置</title><link>http://blog.csdn.net/fuliangliang/archive/2007/11/30/1909579.aspx</link><pubDate>Fri, 30 Nov 2007 17:35:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2007/11/30/1909579.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/1909579.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2007/11/30/1909579.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/1909579.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1909579</trackback:ping><description>现在虽然SVN可能是更好的版本管理系统,Eclipse也有相应的插件,但以前一直用CVS,用起来比较熟，不需要任何插件.以前没有搭建过CVS服务器，只是使用。今天自己搭建了一个，我使用的是CVSNT，中间还是遇到了一些问题，开始时没有勾选Compatiablity Options中的Respond as cvs 1.11.2 to version r,从而可能导致与Eclipse兼容性的问题，然后还不行，发现把临时文件放在了WINDOWS/TEMP里面了，我使用的用户不是管理员，可能对WINDOWS/TEMP权限不够，老是无法创建临时文件以及无法进行Socket连接，后来把temp目录改到安装目录下的temp文件下后才好使。&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/1909579.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>使用Struts2+Spring+Hibernate+sitemesh做的一个在线音乐站点</title><link>http://blog.csdn.net/fuliangliang/archive/2007/11/03/1865056.aspx</link><pubDate>Sat, 03 Nov 2007 16:26:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2007/11/03/1865056.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/1865056.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2007/11/03/1865056.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/1865056.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1865056</trackback:ping><description>使用Struts2+Spring+Hibernate+sitemesh做的一个在线音乐站点&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/1865056.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>米莱语录</title><link>http://blog.csdn.net/fuliangliang/archive/2007/10/19/1833417.aspx</link><pubDate>Fri, 19 Oct 2007 20:06:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2007/10/19/1833417.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/1833417.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2007/10/19/1833417.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/1833417.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1833417</trackback:ping><description>最近看了连续剧《奋斗》,感觉整个连续剧离现实太遥远，偏离奋斗的主题，一群靠富家女和富爸爸的过活的人，何谈奋斗，唯一比较还好的是剧中的美女、特逗的米莱，说起话听起来特亲切，特逗，特让人感动...，感觉向阳也挺让我感动的，有点象我的性格，对陆涛的感觉最差，一个自负，不懂别人感受，毫无感情的家伙，无论是爱情还是亲情。以米莱语录纪念之...&lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/1833417.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>fuliang</dc:creator><title>struts2 OGNL实例化数组的问题. </title><link>http://blog.csdn.net/fuliangliang/archive/2007/10/15/1826560.aspx</link><pubDate>Mon, 15 Oct 2007 23:17:00 GMT</pubDate><guid>http://blog.csdn.net/fuliangliang/archive/2007/10/15/1826560.aspx</guid><wfw:comment>http://blog.csdn.net/fuliangliang/comments/1826560.aspx</wfw:comment><comments>http://blog.csdn.net/fuliangliang/archive/2007/10/15/1826560.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fuliangliang/comments/commentRss/1826560.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1826560</trackback:ping><description>struts2 OGNL实例化数组的问题. &lt;img src ="http://blog.csdn.net/fuliangliang/aggbug/1826560.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>