<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/feedsky2.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/shoopman" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/shoopman" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 15 Jul 2010 08:32:42 GMT</lastBuildDate><title>舒朴勉的博客</title><description>关于一些技术点滴</description><link>http://blog.shoopman.org</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Thu, 15 Jul 2010 08:32:42 GMT</pubDate><item><title>解决Office 2007每次启动都要运行配置的问题</title><link>http://blog.shoopman.org/2010/07/15/%e8%a7%a3%e5%86%b3office-2007%e6%af%8f%e6%ac%a1%e5%90%af%e5%8a%a8%e9%83%bd%e8%a6%81%e8%bf%90%e8%a1%8c%e9%85%8d%e7%bd%ae%e7%9a%84%e9%97%ae%e9%a2%98.html</link><content:encoded>&lt;p&gt;像以往一样，用着之前的OFFICE_2007_SP2.isz来安装Office 2007 SP2，可这次安装后却不正常了：每次启动Word或Excel，都要运行Office的配置程序，一配置就是好几分钟，之后还要提示重新启动系统。虽然取消配置也可以正常使用，但每次都弹出那个配置窗口令我相当不爽。Google之，有&lt;a href=&quot;http://help.360.cn/5030809/24791420.html&quot; target=&quot;_blank&quot;&gt;如下答案&lt;/a&gt;，照做，成功了，不过依然不解原因。&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;打开“我的电脑” -&amp;gt; “C盘” -&amp;gt; “Program Files\Common Files\Microsoft Shared\OFFICE12\Office Setup Controller”——找到一个“SETUP.EXE”的文件，对此文件重命名，改成别的什么都行。&lt;/p&gt;
&lt;/blockquote&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391663415/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2010/07/15/%e8%a7%a3%e5%86%b3office-2007%e6%af%8f%e6%ac%a1%e5%90%af%e5%8a%a8%e9%83%bd%e8%a6%81%e8%bf%90%e8%a1%8c%e9%85%8d%e7%bd%ae%e7%9a%84%e9%97%ae%e9%a2%98.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391663415/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391663415/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=853781f0aad41a1f8849cfe77b7092f9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=853781f0aad41a1f8849cfe77b7092f9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=c700de8753f9c2adba15b5358e5c20f0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=c700de8753f9c2adba15b5358e5c20f0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=8ab5f39d109f22274a69eb4da8ff17e7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=8ab5f39d109f22274a69eb4da8ff17e7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=975063847d045592ede3e6ec3fb52c72&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=975063847d045592ede3e6ec3fb52c72&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=909f22a087a55cd77f0c022dd83a8355&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=909f22a087a55cd77f0c022dd83a8355&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=558ed171ab7da1ad5bbb04228b31bb5f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=558ed171ab7da1ad5bbb04228b31bb5f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5e2afdd7ea7126f7393dd72224208e22&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5e2afdd7ea7126f7393dd72224208e22&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=9dad9db0cb7634f1386448eb29fbeeaa&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=9dad9db0cb7634f1386448eb29fbeeaa&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2010/07/15/%e8%a7%a3%e5%86%b3office-2007%e6%af%8f%e6%ac%a1%e5%90%af%e5%8a%a8%e9%83%bd%e8%a6%81%e8%bf%90%e8%a1%8c%e9%85%8d%e7%bd%ae%e7%9a%84%e9%97%ae%e9%a2%98.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>像以往一样，用着之前的OFFICE_2007_SP2.isz来安装Office 2007 SP2，可这次安装后却不正常了：每次启动Word或Excel，都要运行Office的配置程序，一配置就是好几分钟，之后还要提示重新启动系统。虽然取消配置也可以正常使用，但每次都弹出那个配置窗口令我相当不爽。Google之，有如下答案，照做，成功了，不过依然不解原因。
打开“我的电脑” -&amp;#62; “C盘” -&amp;#62; “Program Files\Common Files\Microsoft Shared\OFFICE12\Office Setup Controller”——找到一个“SETUP.EXE”的文件，对此文件重命名，改成别的什么都行。&lt;img src=&quot;http://www1.feedsky.com/t1/391663415/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2010/07/15/%e8%a7%a3%e5%86%b3office-2007%e6%af%8f%e6%ac%a1%e5%90%af%e5%8a%a8%e9%83%bd%e8%a6%81%e8%bf%90%e8%a1%8c%e9%85%8d%e7%bd%ae%e7%9a%84%e9%97%ae%e9%a2%98.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391663415/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391663415/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=853781f0aad41a1f8849cfe77b7092f9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=853781f0aad41a1f8849cfe77b7092f9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=c700de8753f9c2adba15b5358e5c20f0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=c700de8753f9c2adba15b5358e5c20f0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=8ab5f39d109f22274a69eb4da8ff17e7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=8ab5f39d109f22274a69eb4da8ff17e7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=975063847d045592ede3e6ec3fb52c72&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=975063847d045592ede3e6ec3fb52c72&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=909f22a087a55cd77f0c022dd83a8355&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=909f22a087a55cd77f0c022dd83a8355&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=558ed171ab7da1ad5bbb04228b31bb5f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=558ed171ab7da1ad5bbb04228b31bb5f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5e2afdd7ea7126f7393dd72224208e22&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5e2afdd7ea7126f7393dd72224208e22&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=9dad9db0cb7634f1386448eb29fbeeaa&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=9dad9db0cb7634f1386448eb29fbeeaa&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Office</category><category>Software</category><pubDate>Thu, 15 Jul 2010 16:32:42 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2010/07/15/%e8%a7%a3%e5%86%b3office-2007%e6%af%8f%e6%ac%a1%e5%90%af%e5%8a%a8%e9%83%bd%e8%a6%81%e8%bf%90%e8%a1%8c%e9%85%8d%e7%bd%ae%e7%9a%84%e9%97%ae%e9%a2%98.html#comments</comments><guid isPermaLink="false">http://blog.shoopman.org/2010/07/15/%e8%a7%a3%e5%86%b3office-2007%e6%af%8f%e6%ac%a1%e5%90%af%e5%8a%a8%e9%83%bd%e8%a6%81%e8%bf%90%e8%a1%8c%e9%85%8d%e7%bd%ae%e7%9a%84%e9%97%ae%e9%a2%98.html</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2010/07/15/%e8%a7%a3%e5%86%b3office-2007%e6%af%8f%e6%ac%a1%e5%90%af%e5%8a%a8%e9%83%bd%e8%a6%81%e8%bf%90%e8%a1%8c%e9%85%8d%e7%bd%ae%e7%9a%84%e9%97%ae%e9%a2%98.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391663415/5462683</fs:itemid></item><item><title>删除Windows7桌面淘宝导航taobao.3608.com的图标</title><link>http://blog.shoopman.org/2010/07/15/delete-taobao_3608_com_icon_on_windows7_desktop.html</link><content:encoded>&lt;p&gt;安装了一个盗版的Windows7旗舰版，但桌面有一个淘宝导航的图标，指向taobao.3608.com，居然无法直接删除，Google之也未果，于是运行regedit在注册表里搜索“taobao.3608.com”，还真有结果：&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.shoopman.org/wp-content/uploads/2010/07/tb.png&quot;&gt;&lt;img style=&quot;border-bottom: 0px; border-left: 0px; width: 620px; display: inline; border-top: 0px; border-right: 0px; scale: 620px&quot; title=&quot;tb&quot; border=&quot;0&quot; alt=&quot;tb&quot; src=&quot;http://blog.shoopman.org/wp-content/uploads/2010/07/tb_thumb.png&quot; width=&quot;783&quot; height=&quot;194&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;于是把这个键“HKEY_CLASSES_ROOT\CLSID\{00000100-1234-0010-8000-00AA006D2EA4}”删除，重启后，桌面的淘宝图标变成了一个白图标，可以直接删除了。&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391663416/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2010/07/15/delete-taobao_3608_com_icon_on_windows7_desktop.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391663416/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391663416/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=7985c3131329424f8835fc956f63ff4d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=7985c3131329424f8835fc956f63ff4d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=bf235bd2f5d987f5dfc9b8ad78205a58&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=bf235bd2f5d987f5dfc9b8ad78205a58&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=72ea3ca46a2ffec74585549c49cc13e2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=72ea3ca46a2ffec74585549c49cc13e2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f77619fc24b4728f9d538adb2fd2622d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f77619fc24b4728f9d538adb2fd2622d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=036c5ec9bfd630d3fd6a51b2de46840a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=036c5ec9bfd630d3fd6a51b2de46840a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=7755edcc822ca1c05b0452fb5601da55&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=7755edcc822ca1c05b0452fb5601da55&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=7a76a8b72420990430c6adb3d493f79c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=7a76a8b72420990430c6adb3d493f79c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=acdc24b5549a6e0492cdff0591ef5ba6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=acdc24b5549a6e0492cdff0591ef5ba6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2010/07/15/delete-taobao_3608_com_icon_on_windows7_desktop.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>安装了一个盗版的Windows7旗舰版，但桌面有一个淘宝导航的图标，指向taobao.3608.com，居然无法直接删除，Google之也未果，于是运行regedit在注册表里搜索“taobao.3608.com”，还真有结果：

于是把这个键“HKEY_CLASSES_ROOT\CLSID\{00000100-1234-0010-8000-00AA006D2EA4}”删除，重启后，桌面的淘宝图标变成了一个白图标，可以直接删除了。&lt;img src=&quot;http://www1.feedsky.com/t1/391663416/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2010/07/15/delete-taobao_3608_com_icon_on_windows7_desktop.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391663416/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391663416/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=7985c3131329424f8835fc956f63ff4d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=7985c3131329424f8835fc956f63ff4d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=bf235bd2f5d987f5dfc9b8ad78205a58&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=bf235bd2f5d987f5dfc9b8ad78205a58&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=72ea3ca46a2ffec74585549c49cc13e2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=72ea3ca46a2ffec74585549c49cc13e2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f77619fc24b4728f9d538adb2fd2622d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f77619fc24b4728f9d538adb2fd2622d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=036c5ec9bfd630d3fd6a51b2de46840a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=036c5ec9bfd630d3fd6a51b2de46840a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=7755edcc822ca1c05b0452fb5601da55&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=7755edcc822ca1c05b0452fb5601da55&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=7a76a8b72420990430c6adb3d493f79c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=7a76a8b72420990430c6adb3d493f79c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=acdc24b5549a6e0492cdff0591ef5ba6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=acdc24b5549a6e0492cdff0591ef5ba6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Software</category><category>Windows7</category><pubDate>Thu, 15 Jul 2010 16:20:50 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2010/07/15/delete-taobao_3608_com_icon_on_windows7_desktop.html#comments</comments><guid isPermaLink="false">http://blog.shoopman.org/2010/07/15/delete-taobao_3608_com_icon_on_windows7_desktop.html</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2010/07/15/delete-taobao_3608_com_icon_on_windows7_desktop.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391663416/5462683</fs:itemid></item><item><title>eWebEditor不支持IE8/IE7的解决方法</title><link>http://blog.shoopman.org/2009/10/12/make-ewebeditor-support-ie7-8.html</link><content:encoded>&lt;p&gt;在修改一个项目的老缺陷，使用了eWebEditor，没看出是哪个版本，但是在点击编辑器按钮时就报错：缺少对象，editor.js，行171。&lt;/p&gt;
&lt;p&gt;editor.js中171行的代码是&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt; if (element.YUSERONCLICK) {&lt;br /&gt;  eval(element.YUSERONCLICK + &amp;#8220;anonymous()&amp;#8221;);&lt;br /&gt; }&lt;br /&gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;在网上搜索了一下，最简单的办法是将上面的代码替换为下面的，暂时没发现不良影响。&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt; if(navigator.appVersion.match(/MSIE (7|8)\./i)!=null){&lt;br /&gt;     if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &amp;#8220;onclick(event)&amp;#8221;);  &lt;br /&gt; }else{&lt;br /&gt;     if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &amp;#8220;anonymous()&amp;#8221;);&lt;br /&gt; }&lt;/p&gt;
&lt;/blockquote&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391559226/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/10/12/make-ewebeditor-support-ie7-8.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559226/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559226/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f69570be713a4d3b6d1cbb2e081c6dd5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f69570be713a4d3b6d1cbb2e081c6dd5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=4fe483d553240cb9392097be8217e4b6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=4fe483d553240cb9392097be8217e4b6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=020fbe46c1db13fae53eca0efade183c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=020fbe46c1db13fae53eca0efade183c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=d454b9f909564dcef693de74a91323ed&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=d454b9f909564dcef693de74a91323ed&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=abbe0d564bc79ff3a9e4b8809bbaee51&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=abbe0d564bc79ff3a9e4b8809bbaee51&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=0861cd93800f3297b636bdd1026cc250&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=0861cd93800f3297b636bdd1026cc250&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=26a80267d3dc05a3602b353434baddf5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=26a80267d3dc05a3602b353434baddf5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=ef9bccf15af5ac61fcb893fff3cae3b9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=ef9bccf15af5ac61fcb893fff3cae3b9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2009/10/12/make-ewebeditor-support-ie7-8.html/feed</wfw:commentRss><slash:comments>5</slash:comments><description>在修改一个项目的老缺陷，使用了eWebEditor，没看出是哪个版本，但是在点击编辑器按钮时就报错：缺少对象，editor.js，行171。
editor.js中171行的代码是
 if (element.YUSERONCLICK) {  eval(element.YUSERONCLICK + &amp;#8220;anonymous()&amp;#8221;); } 

在网上搜索了一下，最简单的办法是将上面的代码替换为下面的，暂时没发现不良影响。
 if(navigator.appVersion.match(/MSIE (7&amp;#124;8)\./i)!=null){     if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &amp;#8220;onclick(event)&amp;#8221;);   }else{     if (element.YUSERONCLICK) eval(element.YUSERONCLICK + &amp;#8220;anonymous()&amp;#8221;); }&lt;img src=&quot;http://www1.feedsky.com/t1/391559226/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/10/12/make-ewebeditor-support-ie7-8.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559226/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559226/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f69570be713a4d3b6d1cbb2e081c6dd5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f69570be713a4d3b6d1cbb2e081c6dd5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=4fe483d553240cb9392097be8217e4b6&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=4fe483d553240cb9392097be8217e4b6&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=020fbe46c1db13fae53eca0efade183c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=020fbe46c1db13fae53eca0efade183c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=d454b9f909564dcef693de74a91323ed&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=d454b9f909564dcef693de74a91323ed&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=abbe0d564bc79ff3a9e4b8809bbaee51&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=abbe0d564bc79ff3a9e4b8809bbaee51&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=0861cd93800f3297b636bdd1026cc250&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=0861cd93800f3297b636bdd1026cc250&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=26a80267d3dc05a3602b353434baddf5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=26a80267d3dc05a3602b353434baddf5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=ef9bccf15af5ac61fcb893fff3cae3b9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=ef9bccf15af5ac61fcb893fff3cae3b9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>Javascript</category><category>IE</category><category>eWebEditor</category><pubDate>Mon, 12 Oct 2009 18:48:31 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2009/10/12/make-ewebeditor-support-ie7-8.html#comments</comments><guid isPermaLink="false">/2009/10/12/make-ewebeditor-support-ie7-8.html</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2009/10/12/make-ewebeditor-support-ie7-8.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391559226/5462683</fs:itemid></item><item><title>为XFire生成的WebService客户端设置连接超时参数</title><link>http://blog.shoopman.org/2009/09/09/set-the-connection-timeout-parameters-for-webservice-client-generated-by-xfire.html</link><content:encoded>&lt;p&gt;由于要从另一个系统的WebService读取大量的数据，因此要修改连接WebService的超时参数。WebService的客户端代码是通过XFire的Ant任务生成的。Google一下，没找到答案，但最后还是在XFire官方找到了答案。&lt;/p&gt;
&lt;p&gt;假设生成的客户端代码中的服务接口和Client的类分别为TestService和TestServiceClient，修改连接超时参数代码如下：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;//创建Service对象&lt;br /&gt;  &lt;br /&gt;TestServiceClient testClient = new TestServiceClient();&lt;/p&gt;
&lt;p&gt;TestService testService = testClient.getTestServicePort();&lt;/p&gt;
&lt;p&gt;//设置连接参数&lt;br /&gt;  &lt;br /&gt;HttpClientParams params = new HttpClientParams();&lt;/p&gt;
&lt;p&gt;params.setParameter(HttpClientParams.USE_EXPECT_CONTINUE, Boolean.FALSE);&lt;/p&gt;
&lt;p&gt;params.setParameter(HttpClientParams.CONNECTION_MANAGER_TIMEOUT, setting.getTimeout() * 1000);//单位是毫秒&lt;/p&gt;
&lt;p&gt;Client client = Client.getInstance(testService);&lt;/p&gt;
&lt;p&gt;client.setProperty(CommonsHttpMessageSender.HTTP_CLIENT_PARAMS, params);&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;XFire是基于&lt;a href=&quot;http://www.apache.org/&quot; target=&quot;_blank&quot;&gt;Apache&lt;/a&gt;的&lt;a href=&quot;http://hc.apache.org/&quot; target=&quot;_blank&quot;&gt;HttpClient&lt;/a&gt;，所以实际上连接超时的参数是就是设置在HttpClient上的。&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391559227/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/09/09/set-the-connection-timeout-parameters-for-webservice-client-generated-by-xfire.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559227/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559227/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=80270849eee17ad480d52b37c5176185&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=80270849eee17ad480d52b37c5176185&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=503973f45cdd0e516e606a7d72eeca4c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=503973f45cdd0e516e606a7d72eeca4c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f6079717f77b77a78c768af02d0d360c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f6079717f77b77a78c768af02d0d360c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=c529c81faf32ffa2b50f2c0191706cc9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=c529c81faf32ffa2b50f2c0191706cc9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=d114636762af0ba035402cb293d8e7b2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=d114636762af0ba035402cb293d8e7b2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5f08082ff868e5f7c45135d1ed75ecf0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5f08082ff868e5f7c45135d1ed75ecf0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=2136fb7cad6500dc462657eff308e47c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=2136fb7cad6500dc462657eff308e47c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=01cd8f41764991fd332c35fc817b2c18&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=01cd8f41764991fd332c35fc817b2c18&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2009/09/09/set-the-connection-timeout-parameters-for-webservice-client-generated-by-xfire.html/feed</wfw:commentRss><slash:comments>2</slash:comments><description>由于要从另一个系统的WebService读取大量的数据，因此要修改连接WebService的超时参数。WebService的客户端代码是通过XFire的Ant任务生成的。Google一下，没找到答案，但最后还是在XFire官方找到了答案。
假设生成的客户端代码中的服务接口和Client的类分别为TestService和TestServiceClient，修改连接超时参数代码如下：
//创建Service对象  TestServiceClient testClient = new TestServiceClient();
TestService testService = testClient.getTestServicePort();
//设置连接参数  HttpClientParams params = new HttpClientParams();
params.setParameter(HttpClientParams.USE_EXPECT_CONTINUE, Boolean.FALSE);
params.setParameter(HttpClientParams.CONNECTION_MANAGER_TIMEOUT, setting.getTimeout() * 1000);//单位是毫秒
Client client = Client.getInstance(testService);
client.setProperty(CommonsHttpMessageSender.HTTP_CLIENT_PARAMS, params);

XFire是基于Apache的HttpClient，所以实际上连接超时的参数是就是设置在HttpClient上的。&lt;img src=&quot;http://www1.feedsky.com/t1/391559227/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/09/09/set-the-connection-timeout-parameters-for-webservice-client-generated-by-xfire.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559227/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559227/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=80270849eee17ad480d52b37c5176185&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=80270849eee17ad480d52b37c5176185&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=503973f45cdd0e516e606a7d72eeca4c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=503973f45cdd0e516e606a7d72eeca4c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f6079717f77b77a78c768af02d0d360c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f6079717f77b77a78c768af02d0d360c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=c529c81faf32ffa2b50f2c0191706cc9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=c529c81faf32ffa2b50f2c0191706cc9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=d114636762af0ba035402cb293d8e7b2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=d114636762af0ba035402cb293d8e7b2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5f08082ff868e5f7c45135d1ed75ecf0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5f08082ff868e5f7c45135d1ed75ecf0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=2136fb7cad6500dc462657eff308e47c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=2136fb7cad6500dc462657eff308e47c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=01cd8f41764991fd332c35fc817b2c18&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=01cd8f41764991fd332c35fc817b2c18&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>XFire</category><category>WebService</category><pubDate>Wed, 09 Sep 2009 17:37:29 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2009/09/09/set-the-connection-timeout-parameters-for-webservice-client-generated-by-xfire.html#comments</comments><guid isPermaLink="false">/2009/09/9/set-the-connection-timeout-parameters-for-webservice-client-generated-by-xfire.html</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2009/09/09/set-the-connection-timeout-parameters-for-webservice-client-generated-by-xfire.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391559227/5462683</fs:itemid></item><item><title>通过ODBC连接MySql</title><link>http://blog.shoopman.org/2009/08/27/connect-mysql-through-odbc.html</link><content:encoded>&lt;p&gt;由于需要共享EA项目，而暂时发现EA仅支持ODBC连接数据库，所以要解决通过ODBC连接MySql的问题了。&lt;/p&gt;
&lt;p&gt;Windows默认是没有MySql的ODBC驱动的，首先要下载ODBC驱动。Google到&lt;a href=&quot;http://dev.mysql.com/downloads/connector/odbc/5.1.html&quot; target=&quot;_blank&quot;&gt;MySql官网&lt;/a&gt;上有，但是需要注册，继续Google到一个下载镜像：&lt;a title=&quot;http://mirror.cogentco.com/pub/mysql/Connector-ODBC/5.1/&quot; href=&quot;http://mirror.cogentco.com/pub/mysql/Connector-ODBC/5.1/&quot; target=&quot;_blank&quot;&gt;http://mirror.cogentco.com/pub/mysql/Connector-ODBC/5.1/&lt;/a&gt;，选择了Windows x64的MSI版本下载，因为我的系统是Windows7 x64。下载下来才发现，x64的版本里还包含了x32的。&lt;/p&gt;
&lt;p&gt;安装驱动后，在ODBC数据源管理里的“用户DNS”或“系统DNS”点击“Add”按钮，就可以看到了：&lt;br /&gt;  &lt;br /&gt;&lt;img src=&quot;http://rp8w6a.blu.livefilestore.com/y1p_8U4RieqFKHaZxNr2Vgo8utUpEUisTch9n1l6Y1tLLWfK0f_MX4v9Cdbl_IHZo6ZWyvjHg4z7qLYoKcndm2iM1L2N_MjuSf2/dns.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;选中“MySql DOBC 5.1 Driver”，点击“Finish”，就可以添加一个MySql数据源了：&lt;br /&gt;  &lt;br /&gt;&lt;img src=&quot;http://rp8w6a.blu.livefilestore.com/y1pPyyIEJueJzIuwkPIWkiOEAZxhcOZxegT1SvfaQlXGOT0i4lshz1A_YNMvGVVH5fmS1gNVq6X5hmok3TbGtLCnw/connection.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;填完各输入框点“OK”，在列表里就可以看到刚才添加的数据源了：&lt;br /&gt;  &lt;br /&gt;&lt;img src=&quot;http://rp8w6a.blu.livefilestore.com/y1p9Klu7e0tRFhBgHYHsdR1f63Cxs4k_xEbyhI5TzQOvPgYibxwmcRHQfx_MiYwi_rJOKgh13rFZHT6m3uc9ymEng/list.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391559228/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/08/27/connect-mysql-through-odbc.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559228/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559228/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=ebf605ee49a6a3f2772693cc2f5b777d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=ebf605ee49a6a3f2772693cc2f5b777d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=89cc90e9eaad83088da902b91c730d2a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=89cc90e9eaad83088da902b91c730d2a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=a48d81a054621ca135306ef03eca99b9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=a48d81a054621ca135306ef03eca99b9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=063c06ea513330aa912f02a5f0dd307c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=063c06ea513330aa912f02a5f0dd307c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=6503bcb06db0b96e810276f455ad3bb7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=6503bcb06db0b96e810276f455ad3bb7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=bafc62b07cb59c4b3113d85d42b8db05&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=bafc62b07cb59c4b3113d85d42b8db05&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5e82ebeca61006cad18d22f44c4d66d4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5e82ebeca61006cad18d22f44c4d66d4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=8baf7781d5a1721c38b7a3da14147ad9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=8baf7781d5a1721c38b7a3da14147ad9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2009/08/27/connect-mysql-through-odbc.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>由于需要共享EA项目，而暂时发现EA仅支持ODBC连接数据库，所以要解决通过ODBC连接MySql的问题了。
Windows默认是没有MySql的ODBC驱动的，首先要下载ODBC驱动。Google到MySql官网上有，但是需要注册，继续Google到一个下载镜像：http://mirror.cogentco.com/pub/mysql/Connector-ODBC/5.1/，选择了Windows x64的MSI版本下载，因为我的系统是Windows7 x64。下载下来才发现，x64的版本里还包含了x32的。
安装驱动后，在ODBC数据源管理里的“用户DNS”或“系统DNS”点击“Add”按钮，就可以看到了：  
选中“MySql DOBC 5.1 Driver”，点击“Finish”，就可以添加一个MySql数据源了：  
填完各输入框点“OK”，在列表里就可以看到刚才添加的数据源了：  
 &lt;img src=&quot;http://www1.feedsky.com/t1/391559228/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/08/27/connect-mysql-through-odbc.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559228/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559228/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=ebf605ee49a6a3f2772693cc2f5b777d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=ebf605ee49a6a3f2772693cc2f5b777d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=89cc90e9eaad83088da902b91c730d2a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=89cc90e9eaad83088da902b91c730d2a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=a48d81a054621ca135306ef03eca99b9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=a48d81a054621ca135306ef03eca99b9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=063c06ea513330aa912f02a5f0dd307c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=063c06ea513330aa912f02a5f0dd307c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=6503bcb06db0b96e810276f455ad3bb7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=6503bcb06db0b96e810276f455ad3bb7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=bafc62b07cb59c4b3113d85d42b8db05&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=bafc62b07cb59c4b3113d85d42b8db05&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5e82ebeca61006cad18d22f44c4d66d4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5e82ebeca61006cad18d22f44c4d66d4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=8baf7781d5a1721c38b7a3da14147ad9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=8baf7781d5a1721c38b7a3da14147ad9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>MySql</category><category>ODBC</category><pubDate>Thu, 27 Aug 2009 18:58:26 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2009/08/27/connect-mysql-through-odbc.html#comments</comments><guid isPermaLink="false">/2009/08/27/connect-mysql-through-odbc.html</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2009/08/27/connect-mysql-through-odbc.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391559228/5462683</fs:itemid></item><item><title>只谈技术，莫谈国是?</title><link>http://blog.shoopman.org/2009/08/24/%e5%8f%aa%e8%b0%88%e6%8a%80%e6%9c%af%ef%bc%8c%e8%8e%ab%e8%b0%88%e5%9b%bd%e6%98%af.html</link><content:encoded>&lt;p&gt;JavaEye发布的信息：&lt;a title=&quot;http://www.javaeye.com/news/9991-protect-javaeye&quot; href=&quot;http://www.javaeye.com/news/9991-protect-javaeye&quot; target=&quot;_blank&quot;&gt;http://www.javaeye.com/news/9991-protect-javaeye&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;今天下午JavaEye网站被和谐了，原因是多次出现“有害”信息！如果再次出现“有害”信息，我们可能会被和谐很长时间。      &lt;br /&gt;在这个特殊的时期，为了保护JavaEye网站还能够继续“存在”下去，为了大家还能有一个高质量的交流场所，我们呼吁每个JavaEye会员：       &lt;br /&gt;1、只谈技术，莫谈国是！       &lt;br /&gt;2、凡是发现涉及社会敏感事件的热点话题，政治话题，军事话题，请立刻在&lt;a href=&quot;http://javaeye-admin.group.javaeye.com/&quot;&gt;JavaEye站务论坛&lt;/a&gt;向我们举报！       &lt;br /&gt;3、请自律自己的行为，只要我们发现任何人发布任何政治话题和敏感事件的文章，帖子，博客，评论，甚至闲聊，统统直接删除用户ID和用户所有JavaEye资料，不给任何通知和解释。 &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;能怪JavaEye不？&lt;/p&gt;
&lt;p&gt;不能！&lt;/p&gt;
&lt;p&gt;该怪JavaEye不？&lt;/p&gt;
&lt;p&gt;该！&lt;/p&gt;
&lt;p&gt;无语……&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391559229/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/08/24/%e5%8f%aa%e8%b0%88%e6%8a%80%e6%9c%af%ef%bc%8c%e8%8e%ab%e8%b0%88%e5%9b%bd%e6%98%af.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559229/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559229/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=194463785a98ad73c150c3b5855703dc&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=194463785a98ad73c150c3b5855703dc&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=7bbbd17ffe5440a89de774746dd2337f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=7bbbd17ffe5440a89de774746dd2337f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5cf0dc43cc7a310e5b8e0b39011173b3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5cf0dc43cc7a310e5b8e0b39011173b3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=9fd7112aef6745492a34ad0ed6e48fe2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=9fd7112aef6745492a34ad0ed6e48fe2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=69bb1460f222079f97a77ba4c8ada83a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=69bb1460f222079f97a77ba4c8ada83a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=aff17c9a7a44aef4eacae5e29661c509&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=aff17c9a7a44aef4eacae5e29661c509&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e1b1d68293e023b71137c115a7dc192e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e1b1d68293e023b71137c115a7dc192e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=747073b10b09ee7f76b59843d890fd2a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=747073b10b09ee7f76b59843d890fd2a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2009/08/24/%e5%8f%aa%e8%b0%88%e6%8a%80%e6%9c%af%ef%bc%8c%e8%8e%ab%e8%b0%88%e5%9b%bd%e6%98%af.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>JavaEye发布的信息：http://www.javaeye.com/news/9991-protect-javaeye
今天下午JavaEye网站被和谐了，原因是多次出现“有害”信息！如果再次出现“有害”信息，我们可能会被和谐很长时间。      在这个特殊的时期，为了保护JavaEye网站还能够继续“存在”下去，为了大家还能有一个高质量的交流场所，我们呼吁每个JavaEye会员：       1、只谈技术，莫谈国是！       2、凡是发现涉及社会敏感事件的热点话题，政治话题，军事话题，请立刻在JavaEye站务论坛向我们举报！       3、请自律自己的行为，只要我们发现任何人发布任何政治话题和敏感事件的文章，帖子，博客，评论，甚至闲聊，统统直接删除用户ID和用户所有JavaEye资料，不给任何通知和解释。 

能怪JavaEye不？
不能！
该怪JavaEye不？
该！
无语……&lt;img src=&quot;http://www1.feedsky.com/t1/391559229/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/08/24/%e5%8f%aa%e8%b0%88%e6%8a%80%e6%9c%af%ef%bc%8c%e8%8e%ab%e8%b0%88%e5%9b%bd%e6%98%af.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559229/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559229/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=194463785a98ad73c150c3b5855703dc&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=194463785a98ad73c150c3b5855703dc&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=7bbbd17ffe5440a89de774746dd2337f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=7bbbd17ffe5440a89de774746dd2337f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5cf0dc43cc7a310e5b8e0b39011173b3&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5cf0dc43cc7a310e5b8e0b39011173b3&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=9fd7112aef6745492a34ad0ed6e48fe2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=9fd7112aef6745492a34ad0ed6e48fe2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=69bb1460f222079f97a77ba4c8ada83a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=69bb1460f222079f97a77ba4c8ada83a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=aff17c9a7a44aef4eacae5e29661c509&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=aff17c9a7a44aef4eacae5e29661c509&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e1b1d68293e023b71137c115a7dc192e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e1b1d68293e023b71137c115a7dc192e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=747073b10b09ee7f76b59843d890fd2a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=747073b10b09ee7f76b59843d890fd2a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>JavaEye</category><category>Internet</category><pubDate>Tue, 25 Aug 2009 02:56:08 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2009/08/24/%e5%8f%aa%e8%b0%88%e6%8a%80%e6%9c%af%ef%bc%8c%e8%8e%ab%e8%b0%88%e5%9b%bd%e6%98%af.html#comments</comments><guid isPermaLink="false">/?p=27003</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2009/08/24/%e5%8f%aa%e8%b0%88%e6%8a%80%e6%9c%af%ef%bc%8c%e8%8e%ab%e8%b0%88%e5%9b%bd%e6%98%af.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391559229/5462683</fs:itemid></item><item><title>把MyEclipse项目转为WTP项目</title><link>http://blog.shoopman.org/2009/08/20/convert-myeclipse-project-to-wtp-project.html</link><content:encoded>&lt;p&gt;马上要进入另一个项目组了，新项目所用的IDE是MyEclipse。我已不习惯了庞大的MyEclipse，而习惯了WTP并且想试验一下新的Eclipse3.5，因此需要把MyEclipse项目转换为WTP项目。（PS：不遵守团队开发规范是不正确的行为！）&lt;/p&gt;
&lt;p&gt;1.在Eclipse里导入MyEclipse项目到工作空间。&lt;/p&gt;
&lt;p&gt;2.编辑.project文件，在&amp;lt;natures&amp;gt;&amp;lt;/natures&amp;gt;中加入&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;nature&amp;gt;org.eclipse.wst.common.project.facet.core.nature&amp;lt;/nature&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;nature&amp;gt;org.eclipse.wst.common.modulecore.ModuleCoreNature&amp;lt;/nature&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;nature&amp;gt;org.eclipse.jem.workbench.JavaEMFNature&amp;lt;/nature&amp;gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;在&amp;lt;buildSpec&amp;gt;&amp;lt;/buildSpec&amp;gt;节点加入&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;buildCommand&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;name&amp;gt;org.eclipse.wst.common.project.facet.core.builder&amp;lt;/name&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;arguments&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/arguments&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/buildCommand&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;buildCommand&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;name&amp;gt;org.eclipse.wst.validation.validationbuilder&amp;lt;/name&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;arguments&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/arguments&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/buildCommand&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;3.在Eclipse中刷新项目。&lt;/p&gt;
&lt;p&gt;4.右击项目&amp;#8211;&amp;gt;Properties—&amp;gt;Project Facets，在右边勾选Java与Dynamic Web Module，应用。&lt;/p&gt;
&lt;p&gt;5.如果你的项目源代码文件夹不是WTP默认的src，则需要到Java Build Path中去添加相应源代码文件夹。&lt;/p&gt;
&lt;p&gt;6.如果你的项目Web文件夹不是WTP默认的WebContent，则需要文件文件 &amp;lt;项目目录&amp;gt;/.settings/org.eclipse.wst.common.component，找到&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&amp;lt;wb-resource deploy-path=&amp;quot;/&amp;quot; source-path=&amp;quot;/WebContent&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;并修改，如&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&amp;lt;wb-resource deploy-path=&amp;quot;/&amp;quot; source-path=&amp;quot;/webapp&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391559230/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/08/20/convert-myeclipse-project-to-wtp-project.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559230/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559230/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e99fe73cfe420cc722c69185d202c337&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e99fe73cfe420cc722c69185d202c337&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=abc4efe123b35ca7d99c153105912c80&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=abc4efe123b35ca7d99c153105912c80&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e93053b9b474e9a8cb3b4d9ce64a5235&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e93053b9b474e9a8cb3b4d9ce64a5235&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f9da4f47bf394b88036c97cec58e947e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f9da4f47bf394b88036c97cec58e947e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=190093d4b68d08b6f6ebafeb4f5ca45a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=190093d4b68d08b6f6ebafeb4f5ca45a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f6c809d8f1de69b8557645684fe5b6b4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f6c809d8f1de69b8557645684fe5b6b4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=35811d9ca0075e3a951dc28492c3165b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=35811d9ca0075e3a951dc28492c3165b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=816c771af85ca796995f9d4620c0a1d9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=816c771af85ca796995f9d4620c0a1d9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2009/08/20/convert-myeclipse-project-to-wtp-project.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>马上要进入另一个项目组了，新项目所用的IDE是MyEclipse。我已不习惯了庞大的MyEclipse，而习惯了WTP并且想试验一下新的Eclipse3.5，因此需要把MyEclipse项目转换为WTP项目。（PS：不遵守团队开发规范是不正确的行为！）
1.在Eclipse里导入MyEclipse项目到工作空间。
2.编辑.project文件，在&amp;#60;natures&amp;#62;&amp;#60;/natures&amp;#62;中加入
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#60;nature&amp;#62;org.eclipse.wst.common.project.facet.core.nature&amp;#60;/nature&amp;#62;      &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#60;nature&amp;#62;org.eclipse.wst.common.modulecore.ModuleCoreNature&amp;#60;/nature&amp;#62;       &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#60;nature&amp;#62;org.eclipse.jem.workbench.JavaEMFNature&amp;#60;/nature&amp;#62; 

在&amp;#60;buildSpec&amp;#62;&amp;#60;/buildSpec&amp;#62;节点加入
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#60;buildCommand&amp;#62;      &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#60;name&amp;#62;org.eclipse.wst.common.project.facet.core.builder&amp;#60;/name&amp;#62;       &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#60;arguments&amp;#62;       &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#60;/arguments&amp;#62;       &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;#60;/buildCommand&amp;#62;      [...]&lt;img src=&quot;http://www1.feedsky.com/t1/391559230/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/08/20/convert-myeclipse-project-to-wtp-project.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559230/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559230/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e99fe73cfe420cc722c69185d202c337&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e99fe73cfe420cc722c69185d202c337&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=abc4efe123b35ca7d99c153105912c80&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=abc4efe123b35ca7d99c153105912c80&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e93053b9b474e9a8cb3b4d9ce64a5235&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e93053b9b474e9a8cb3b4d9ce64a5235&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f9da4f47bf394b88036c97cec58e947e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f9da4f47bf394b88036c97cec58e947e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=190093d4b68d08b6f6ebafeb4f5ca45a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=190093d4b68d08b6f6ebafeb4f5ca45a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=f6c809d8f1de69b8557645684fe5b6b4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=f6c809d8f1de69b8557645684fe5b6b4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=35811d9ca0075e3a951dc28492c3165b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=35811d9ca0075e3a951dc28492c3165b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=816c771af85ca796995f9d4620c0a1d9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=816c771af85ca796995f9d4620c0a1d9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>Eclipse</category><category>MyEclipse</category><category>WTP</category><pubDate>Thu, 20 Aug 2009 21:22:41 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2009/08/20/convert-myeclipse-project-to-wtp-project.html#comments</comments><guid isPermaLink="false">/2009/08/20/convert-myeclipse-project-to-wtp-project.html</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2009/08/20/convert-myeclipse-project-to-wtp-project.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391559230/5462683</fs:itemid></item><item><title>当BeanUtils的拷贝遇上java.util.Date</title><link>http://blog.shoopman.org/2009/08/16/when-beanutils-copyer-meets-java-util-date.html</link><content:encoded>&lt;p&gt;&lt;a href=&quot;http://commons.apache.org/beanutils/&quot; target=&quot;_blank&quot;&gt;BeanUtils&lt;/a&gt;是&lt;a href=&quot;http://www.apache.org&quot; target=&quot;_blank&quot;&gt;apache&lt;/a&gt;基金会下的一个开源项目，主要用于对Java Bean的操作。在一个项目中，经常要用到Bean属性拷贝，使用了org.apache.commons.beanutils.BeanUtils.copyProperties(dest, orgi)。由于此方法声明了抛出异常，在项目中为了方便，便对此作了简单封装，把异常处理了：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;public static void copy(Object dest, Object orgi) {     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; try {      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; BeanUtils.copyProperties(dest, orgi);      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; } catch (Exception e) {      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; log.error(&amp;quot;Bean属性拷贝出错。&amp;quot;, e);      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }      &lt;br /&gt;} &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;后来却发现，当源对象orgi中某个java.util.Date类型的属性为null时，copy会失败（虽然异常被处理了），目标对象dest中部分非Date类型的属性也为空，虽然源对象中这些属性是有值。原因就是上BeanUtils在处理属性值为null的Date类型时出错了，便抛出了异常，后面的属性便不会再复制。&lt;/p&gt;
&lt;p&gt;后来在JavaEye搜到了答案：为BeanUtils注册一个日期类型转换器：使用org.apache.commons.beanutils.ConvertUtils，注册org.apache.commons.beanutils.converters.DateConverter。下面的代码是放在copy方法所在的类：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;static{     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; ConvertUtils.register(new DateConverter(), Date.class);      &lt;br /&gt;} &lt;/p&gt;
&lt;/blockquote&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391559231/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/08/16/when-beanutils-copyer-meets-java-util-date.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559231/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559231/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=13bf677d55dc0a1bbe3483412affa044&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=13bf677d55dc0a1bbe3483412affa044&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e034a3e49c5e143056d5abc76f988de5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e034a3e49c5e143056d5abc76f988de5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=8cc0f72546113d34570d7d9dd331411f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=8cc0f72546113d34570d7d9dd331411f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=770f3df7de245d2f5c965176444307b8&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=770f3df7de245d2f5c965176444307b8&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=1189afd2678d2e8fa16040216ca71e85&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=1189afd2678d2e8fa16040216ca71e85&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5372abd85f3edd331b8a5374ebc1dc0c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5372abd85f3edd331b8a5374ebc1dc0c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=14916731a604bcf30bb6080990cc40d0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=14916731a604bcf30bb6080990cc40d0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=9d25029058bfc69c802624065bd6c9a7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=9d25029058bfc69c802624065bd6c9a7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2009/08/16/when-beanutils-copyer-meets-java-util-date.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>BeanUtils是apache基金会下的一个开源项目，主要用于对Java Bean的操作。在一个项目中，经常要用到Bean属性拷贝，使用了org.apache.commons.beanutils.BeanUtils.copyProperties(dest, orgi)。由于此方法声明了抛出异常，在项目中为了方便，便对此作了简单封装，把异常处理了：
public static void copy(Object dest, Object orgi) {     &amp;#160;&amp;#160;&amp;#160; try {      &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; BeanUtils.copyProperties(dest, orgi);      &amp;#160;&amp;#160;&amp;#160; } catch (Exception e) {      &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; log.error(&amp;#34;Bean属性拷贝出错。&amp;#34;, e);      &amp;#160;&amp;#160;&amp;#160; }     [...]&lt;img src=&quot;http://www1.feedsky.com/t1/391559231/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/08/16/when-beanutils-copyer-meets-java-util-date.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559231/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559231/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=13bf677d55dc0a1bbe3483412affa044&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=13bf677d55dc0a1bbe3483412affa044&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e034a3e49c5e143056d5abc76f988de5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e034a3e49c5e143056d5abc76f988de5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=8cc0f72546113d34570d7d9dd331411f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=8cc0f72546113d34570d7d9dd331411f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=770f3df7de245d2f5c965176444307b8&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=770f3df7de245d2f5c965176444307b8&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=1189afd2678d2e8fa16040216ca71e85&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=1189afd2678d2e8fa16040216ca71e85&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=5372abd85f3edd331b8a5374ebc1dc0c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=5372abd85f3edd331b8a5374ebc1dc0c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=14916731a604bcf30bb6080990cc40d0&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=14916731a604bcf30bb6080990cc40d0&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=9d25029058bfc69c802624065bd6c9a7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=9d25029058bfc69c802624065bd6c9a7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>BeanUtils</category><pubDate>Mon, 17 Aug 2009 05:33:26 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2009/08/16/when-beanutils-copyer-meets-java-util-date.html#comments</comments><guid isPermaLink="false">/2009/08/16/when-beanutils-copyer-meets-java-util-date.html</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2009/08/16/when-beanutils-copyer-meets-java-util-date.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391559231/5462683</fs:itemid></item><item><title>基于注解与自动扫描的某些实体没被映射的原因之一</title><link>http://blog.shoopman.org/2009/07/16/a-reason-about-the-problem-that-an-entity-is-not-mapped.html</link><content:encoded>&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 在尝试修改基于SpringSide 3.1.3的mini-web过程中，又遇到了一个奇怪的问题。一个hql如下：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;StringBuilder hql = new StringBuilder();      &lt;br /&gt;hql.append(&amp;quot;SELECT new &amp;quot;);       &lt;br /&gt;hql.append(CommentBean.class.getName());       &lt;br /&gt;hql.append(&amp;quot; (o,u.name,u.image) &amp;quot;);       &lt;br /&gt;hql.append(&amp;quot; FROM &amp;quot;);       &lt;br /&gt;hql.append(Comment.class.getSimpleName()).append(&amp;quot; o, &amp;quot;);       &lt;br /&gt;hql.append(User.class.getSimpleName()).append(&amp;quot; u &amp;quot;);       &lt;br /&gt;hql.append(&amp;quot; WHERE o.userId=u.id AND o.infoId=? &amp;quot;);       &lt;br /&gt;hql.append(&amp;quot; ORDER BY o.commentTime DESC&amp;quot;); &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Comment这个实体类的全限定名是：org.shoopman.entity.Comment&lt;/p&gt;
&lt;p&gt;但在运行时却报错：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Comment is not mapped [SELECT new org.shoopman.service.dto.CommentBean (o,u.name,u.image)&amp;#160; FROM Comment o, org.shoopman.entity.user.User u&amp;#160; WHERE o.userId=u.id AND o.infoId=?&amp;#160; ORDER BY o.commentTime DESC]      &lt;br /&gt;org.hibernate.hql.ast.QuerySyntaxException: Comment is not mapped [SELECT new org.shoopman.service.dto.CommentBean (o,u.name,u.image)&amp;#160; FROM Comment o, org.shoopman.entity.user.User u&amp;#160; WHERE o.userId=u.id AND o.infoId=?&amp;#160; ORDER BY o.commentTime DESC]       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:181)       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110)       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:93)       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:277)&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;而其他实体的查询却没有问题。先看一下spring的applicationContext.xml关于Hibernate的配置：&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&amp;lt;bean id=&amp;quot;sessionFactory&amp;quot; class=&amp;quot;org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean&amp;quot;&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;property name=&amp;quot;dataSource&amp;quot; ref=&amp;quot;dataSource&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;property name=&amp;quot;namingStrategy&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;bean class=&amp;quot;org.hibernate.cfg.ImprovedNamingStrategy&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/property&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;property name=&amp;quot;hibernateProperties&amp;quot;&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;props&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;prop key=&amp;quot;hibernate.dialect&amp;quot;&amp;gt;${hibernate.dialect}&amp;lt;/prop&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;prop key=&amp;quot;hibernate.show_sql&amp;quot;&amp;gt;${hibernate.show_sql}&amp;lt;/prop&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;prop key=&amp;quot;hibernate.format_sql&amp;quot;&amp;gt;${hibernate.format_sql}&amp;lt;/prop&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;prop key=&amp;quot;hibernate.cache.provider_class&amp;quot;&amp;gt;org.hibernate.cache.EhCacheProvider       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/prop&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;prop key=&amp;quot;hibernate.cache.provider_configuration_file_resource_path&amp;quot;&amp;gt;${hibernate.ehcache_config_file}&amp;lt;/prop&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/props&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/property&amp;gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;property name=&amp;quot;packagesToScan&amp;quot; value=&amp;quot;&lt;font color=&quot;#ff0000&quot;&gt;org.shoopman.entity.*&lt;/font&gt;&amp;quot; /&amp;gt;       &lt;br /&gt;&amp;lt;/bean&amp;gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 问题就在这个自动描述packagesToScan的配置上。如上的配置，Spring只会扫描到org.shoopman.entity这个包下的子包里的实体类，而直接放在这个包下的实体却没有描述。&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 无奈，只好在新建一个org.shoopman.entity.common包，把Comment移到此包下。到此，问题解决。&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; 题外话：看上面的hql生成过程，在使用User这个实体类时，我用的是User.class.getSimpleName()，为什么Hibernate在生成hql却是全限定名。当把Comment移到common包下，控制台里打印出来的hql又是SimpleName。这是Hibernate的一个容错处理吗？&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391559232/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/07/16/a-reason-about-the-problem-that-an-entity-is-not-mapped.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559232/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559232/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=c8d32130d792891f941e00e210c74990&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=c8d32130d792891f941e00e210c74990&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=23aaba024d79c69199458e8621a849aa&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=23aaba024d79c69199458e8621a849aa&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=4228a19a2e93e7ee37983f95041f9011&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=4228a19a2e93e7ee37983f95041f9011&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=989688680e9e4ed8fbd8dfa0415afa51&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=989688680e9e4ed8fbd8dfa0415afa51&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=2953cb02284a94749eaeee3bd9c9323e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=2953cb02284a94749eaeee3bd9c9323e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=d58dbfd11fc39e020fa601aee94587da&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=d58dbfd11fc39e020fa601aee94587da&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=fe08ccd52ae6d0754aec643c49314333&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=fe08ccd52ae6d0754aec643c49314333&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=63590bfb134064c182ea523293b913a5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=63590bfb134064c182ea523293b913a5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2009/07/16/a-reason-about-the-problem-that-an-entity-is-not-mapped.html/feed</wfw:commentRss><slash:comments>2</slash:comments><description>&amp;#160;&amp;#160;&amp;#160; 在尝试修改基于SpringSide 3.1.3的mini-web过程中，又遇到了一个奇怪的问题。一个hql如下：
StringBuilder hql = new StringBuilder();      hql.append(&amp;#34;SELECT new &amp;#34;);       hql.append(CommentBean.class.getName());       hql.append(&amp;#34; (o,u.name,u.image) &amp;#34;);       hql.append(&amp;#34; FROM &amp;#34;);       hql.append(Comment.class.getSimpleName()).append(&amp;#34; o, &amp;#34;);       [...]&lt;img src=&quot;http://www1.feedsky.com/t1/391559232/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/07/16/a-reason-about-the-problem-that-an-entity-is-not-mapped.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559232/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559232/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=c8d32130d792891f941e00e210c74990&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=c8d32130d792891f941e00e210c74990&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=23aaba024d79c69199458e8621a849aa&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=23aaba024d79c69199458e8621a849aa&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=4228a19a2e93e7ee37983f95041f9011&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=4228a19a2e93e7ee37983f95041f9011&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=989688680e9e4ed8fbd8dfa0415afa51&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=989688680e9e4ed8fbd8dfa0415afa51&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=2953cb02284a94749eaeee3bd9c9323e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=2953cb02284a94749eaeee3bd9c9323e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=d58dbfd11fc39e020fa601aee94587da&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=d58dbfd11fc39e020fa601aee94587da&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=fe08ccd52ae6d0754aec643c49314333&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=fe08ccd52ae6d0754aec643c49314333&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=63590bfb134064c182ea523293b913a5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=63590bfb134064c182ea523293b913a5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Tech</category><category>Spring</category><category>注解</category><pubDate>Fri, 17 Jul 2009 05:28:20 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2009/07/16/a-reason-about-the-problem-that-an-entity-is-not-mapped.html#comments</comments><guid isPermaLink="false">/2009/07/16/a-reason-about-the-problem-that-an-entity-is-not-mapped.html</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2009/07/16/a-reason-about-the-problem-that-an-entity-is-not-mapped.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391559232/5462683</fs:itemid></item><item><title>GFW又K了一个ghs的IP？</title><link>http://blog.shoopman.org/2009/07/16/gfw-kill-another-ghs-ip.html</link><content:encoded>&lt;p&gt;    下午还能通过blog.shoopman.org来访问我的博客，刚才通过Windows Live Write来发表文章，却不成功。现在只能通过&lt;a href=&quot;http://shoopmanlog.appspot.com&quot; target=&quot;_blank&quot;&gt;shoopmanlog.appspot.com&lt;/a&gt;来访问了。看一下友情连接里的GAE伙伴们，&lt;a href=&quot;http://xuming.net&quot; target=&quot;_blank&quot;&gt;徐明&lt;/a&gt;的挂了，&lt;a href=&quot;http://www.kgblog.net&quot; target=&quot;_blank&quot;&gt;Keengle&lt;/a&gt;的也挂了，&lt;a href=&quot;http://www.ddig.info&quot; target=&quot;_blank&quot;&gt;Qing&lt;/a&gt;的还没有。这样还好，不用费那么多事去找新的ghs IP了。&lt;/p&gt;
&lt;p&gt;    5月26日左右，&lt;a href=&quot;http://shoopmanlog.appspot.com/2009/05/27/another-ghs-ip-been-blocked.html&quot; target=&quot;_blank&quot;&gt;ghs挂了一个IP&lt;/a&gt;；6月15日左右，又挂了一个；今天，7月16日，再一个。看来，在GFW的驱动下，广大中国的GAE Blogger们都要习惯每月一次的修改域名A记录或者类似的事情了。&lt;/p&gt;
&lt;p&gt;    已在&lt;a href=&quot;http://shoopmanlog.appspot.com/2009/04/21/the-experience-of-purchasing-a-domain-abroad.html&quot; target=&quot;_blank&quot;&gt;GoDaddy&lt;/a&gt;修改了域名的A记录，看多久后才能生效吧。现在，只有等待并且忍受，等哪天实在忍受不了了，就去给美国增加一点儿GDP吧。&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/391559233/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/07/16/gfw-kill-another-ghs-ip.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559233/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559233/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=b4474f16024911509dd671f3c0fc5508&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=b4474f16024911509dd671f3c0fc5508&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=aaba969242709f7e81cf2dc4d3c411b1&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=aaba969242709f7e81cf2dc4d3c411b1&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e2b61eb75bd26b22c0fcc0c685ac1792&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e2b61eb75bd26b22c0fcc0c685ac1792&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=045486d0b2f2a2f12516c5bf805a0734&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=045486d0b2f2a2f12516c5bf805a0734&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=bbfa8bdbf6a65bb84f113880b02c5443&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=bbfa8bdbf6a65bb84f113880b02c5443&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=48d787851d24c5e55daa2151219f63ed&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=48d787851d24c5e55daa2151219f63ed&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=d5e702c91097b3148f16fadf62eb2581&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=d5e702c91097b3148f16fadf62eb2581&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=ff68c8a698faff9df1d5db282219b953&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=ff68c8a698faff9df1d5db282219b953&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://blog.shoopman.org/2009/07/16/gfw-kill-another-ghs-ip.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>    下午还能通过blog.shoopman.org来访问我的博客，刚才通过Windows Live Write来发表文章，却不成功。现在只能通过shoopmanlog.appspot.com来访问了。看一下友情连接里的GAE伙伴们，徐明的挂了，Keengle的也挂了，Qing的还没有。这样还好，不用费那么多事去找新的ghs IP了。
    5月26日左右，ghs挂了一个IP；6月15日左右，又挂了一个；今天，7月16日，再一个。看来，在GFW的驱动下，广大中国的GAE Blogger们都要习惯每月一次的修改域名A记录或者类似的事情了。
    已在GoDaddy修改了域名的A记录，看多久后才能生效吧。现在，只有等待并且忍受，等哪天实在忍受不了了，就去给美国增加一点儿GDP吧。&lt;img src=&quot;http://www1.feedsky.com/t1/391559233/shoopman/feedsky/s.gif?r=http://blog.shoopman.org/2009/07/16/gfw-kill-another-ghs-ip.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/shoopman/391559233/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/shoopman/391559233/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;fsflare&quot;&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=b4474f16024911509dd671f3c0fc5508&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=b4474f16024911509dd671f3c0fc5508&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=aaba969242709f7e81cf2dc4d3c411b1&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=aaba969242709f7e81cf2dc4d3c411b1&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=e2b61eb75bd26b22c0fcc0c685ac1792&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=e2b61eb75bd26b22c0fcc0c685ac1792&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=045486d0b2f2a2f12516c5bf805a0734&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=045486d0b2f2a2f12516c5bf805a0734&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=bbfa8bdbf6a65bb84f113880b02c5443&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=bbfa8bdbf6a65bb84f113880b02c5443&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=48d787851d24c5e55daa2151219f63ed&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=48d787851d24c5e55daa2151219f63ed&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=d5e702c91097b3148f16fadf62eb2581&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=d5e702c91097b3148f16fadf62eb2581&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/shoopman?a=ff68c8a698faff9df1d5db282219b953&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/shoopman?i=ff68c8a698faff9df1d5db282219b953&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Internet</category><category>GFW</category><category>ghs</category><pubDate>Fri, 17 Jul 2009 03:28:02 +0800</pubDate><author>Shoopman</author><comments>http://blog.shoopman.org/2009/07/16/gfw-kill-another-ghs-ip.html#comments</comments><guid isPermaLink="false">/2009/07/16/gfw-kill-another-ghs-ip.html</guid><dc:creator>Shoopman</dc:creator><fs:srclink>http://blog.shoopman.org/2009/07/16/gfw-kill-another-ghs-ip.html</fs:srclink><fs:srcfeed>http://blog.shoopman.org/feed</fs:srcfeed><fs:itemid>feedsky/shoopman/~7358796/391559233/5462683</fs:itemid></item></channel></rss>
