??xml version="1.0" encoding="utf-8" standalone="yes"?>在线观看视频污,欧美精品一二三区,男人天堂视频在线观看http://www.aygfsteel.com/hjh/付出L有回报的 take action follow your heart , or follow your headzh-cnSun, 18 May 2025 22:58:57 GMTSun, 18 May 2025 22:58:57 GMT60用schemaSpy制作数据库文?/title><link>http://www.aygfsteel.com/hjh/archive/2010/05/16/321095.html</link><dc:creator>不需要解?/dc:creator><author>不需要解?/author><pubDate>Sun, 16 May 2010 08:16:00 GMT</pubDate><guid>http://www.aygfsteel.com/hjh/archive/2010/05/16/321095.html</guid><wfw:comment>http://www.aygfsteel.com/hjh/comments/321095.html</wfw:comment><comments>http://www.aygfsteel.com/hjh/archive/2010/05/16/321095.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hjh/comments/commentRss/321095.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hjh/services/trackbacks/321095.html</trackback:ping><description><![CDATA[<p>自动地可视化表示数据库也可以让您受益匪浅。实体关pdQERDQ是实现数据库可视化的最行的图C类型。大多数创徏 ERD 的工P例如QERWinforQ都需要手动生?ERD。虽然我要C的工?SchemaSpy 无法与现存的一些更复杂的工具媲,但是它能够提供数据库的高U?ERD 视图 ?以及U束、关pȝ。而且Q通过自动构徏来运行它Q您可以轻村֜从您的版本控制库中检查数据定义语aQData Definition LanguageQDDLQ的最新显C?<p> Ant 脚本使用 SchemaSpy 工具来创?Javadoc 格式的文Ӟ <p><a name="listing2"><b>l合使用 SchemaSpy、Ant ?Javadoc</b></a><pre><property name="reports.dir" value="${basedir}"/> <java jar="schemaSpy_3.1.1.jar" output="${reports.dir}/output.log" error="${reports.dir}/error.log" fork="true"> <arg line="-t mysql"/> <arg line="-host localhost"/> <arg line="-port 3306"/> <arg line="-db brewery"/> <arg line="-u root"/> <arg line="-p sa"/> <arg line="-cp mysql-connector-java-5.0.5-bin.jar"/> <arg line="-o ${reports.dir}"/> </java> </pre> <p>  <p> 使用 <code>java</code> Ant d调用 SchemaSpyQ传递了很多属性: <ul> <li><b><code>-t</code> </b>为数据库cdQ有效gؓ <code>mysql</code>?code>ora</code>?code>db2</code>Q等{? <li><b><code>-host</code> </b>为托数据库的计机名? <li><b><code>-port</code> </b>为数据库 URL 的端口数? <li><b><code>-u</code> </b>为数据库用户名? <li><b><code>-p</code> </b>为数据库密码? <li><b><code>-cp</code> </b>为类路径Q用于指C数据库驱动E序 JAR 文g的位|)? <li><b><code>-o</code> </b>出目录的位置?/li></ul> <p>q些 SchemaSpy 的命令行属性用于生成显C?ERD ?HTML 文g <p>通过l合使用多种工具、作为构建的一部分针对数据库执?ERD 生成脚本Qƈ调度 ERD 生成Q您可以在开发过E中L、快速地做出很多数据库决{? <p>另外Q对于喜Ƣmaven的同学,SchemaSpy  也提供了plugin <p><a title="http://maven.wakaleo.com/mojo/maven-schemaspy-plugin/faq.html" >http://maven.wakaleo.com/mojo/maven-schemaspy-plugin/faq.html</a><img src ="http://www.aygfsteel.com/hjh/aggbug/321095.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hjh/" target="_blank">不需要解?/a> 2010-05-16 16:16 <a href="http://www.aygfsteel.com/hjh/archive/2010/05/16/321095.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>我的E序?q_一Q?---参加工作http://www.aygfsteel.com/hjh/archive/2010/05/04/319983.html不需要解?/dc:creator>不需要解?/author>Mon, 03 May 2010 16:06:00 GMThttp://www.aygfsteel.com/hjh/archive/2010/05/04/319983.htmlhttp://www.aygfsteel.com/hjh/comments/319983.htmlhttp://www.aygfsteel.com/hjh/archive/2010/05/04/319983.html#Feedback0http://www.aygfsteel.com/hjh/comments/commentRss/319983.htmlhttp://www.aygfsteel.com/hjh/services/trackbacks/319983.html     参加工作也已l?q多了,一直想回头回想一下自己,然后动笔写下来,一来是自己目前q可以记忆v一些事情,{自己将来老了Q可以看看这些东西回忆回忆。二来也是想做一个ȝ。本来这个题目也可以叫做我的bmi5q_不过大家知道bmi的实在是,而且现在q个公司已经名义上不存在了?/p>

     我是?001q去沈阳M的,一直也是很喜欢沈阳的气候和东北人的豪爽Q东北爷们是真正可以拿心和你交朋友的Q不q我实在不喜Ƣ东北的饮食Q觉得不l腻Q另外南方还有我的女人在{我回去Q要女h来东北,隑ֺ不是一般的大,所以在扑ַ作的时候,我就下定军_一定要扑֍方的公司Q最好广州,深圳的,或者老家南昌的也是可以的。但是南方公司去东北招生的实在是,除了华ؓQ中兴之外真的是的可怜,管我们学校在沈阳也是数一C的学校?/p>

     ?4q在10月䆾Q我面试的第一家公司是东YQ没有办法,谁让我们学校是东软的最大股东尼Q不知道现在是不是)Q面试的q程也还不错Q考试题也做的很顺Q东软还提出我们下学期直接找一些外教来教我们日文,不过当时东Yl出的薪水实在是低的可怜,只有1800元,而且q要自己负责住宿Q自己当时也老大不小了,q有女h在读书,是不是也是需要买些礼物的Q而且沈阳和大q都不是我想ȝ地方Q结果就直接没有L道?/p>

     接下来的日子也就整天在校内的招聘|站Q白山黑_上看帖子Q看C上vbmi的招聘广告,一看是上v的公司,而且做的是辽宁网通的目Q感觉项目很大,可以学到不少东西Q关键是上v的公司,目做完了就可以M发展呢Q而且当时x友也q在ȝI生Q仔l的x觉得q个公司q是比较适合自己Q于是也开始做准备Q接下来的事情都很顺利,W试Q面试,当时有资格参加面试的Q整个我们学校也?个hQ一个本U生Q一个研I生Q不q最后那个研I生也没有过厅R?/p>

     在辽宁项目的前期q段旉Q估计也会我成长最快,也是最艰苦的时_我后l的会详l介l到。我W一天上班就是去做releaseQ也是做发布和部vQ在当时的项目中Q我们ƈ没有像一些公司还有项目配|员q个角色Q就是直接拉一个开发h员来负责做releaseQ这个角色当时是在项目中最辛苦的一个,l常是下?点开始,然后~译3-4个小Ӟ?0Ҏ可以~译完成Q比较顺利的情况下)Q如果遇到编译不q去的时候,q需要联pd发h员进行修改,~译之后在对照check listq行增量部v?/p>

    在第一天上班,我就从上?0点过去,W?天凌?点半才下班,?Ҏ到学校宿舍睡觉,后箋?个月都是如此Q现在回惌v来,感觉当时真的是很辛苦Q不q那D|间也开始熟习了不少东西Q知道了Z模块开发,对antQweblogicQoracleQplsqlQlinuxQaix{的使用也开始非常熟习了。在q段旉里也开始熟习了公司的项目情况,开发h员,试人员?/p>

]]>
使用UMLGraph来生成uml?/title><link>http://www.aygfsteel.com/hjh/archive/2010/04/19/318791.html</link><dc:creator>不需要解?/dc:creator><author>不需要解?/author><pubDate>Mon, 19 Apr 2010 15:59:00 GMT</pubDate><guid>http://www.aygfsteel.com/hjh/archive/2010/04/19/318791.html</guid><wfw:comment>http://www.aygfsteel.com/hjh/comments/318791.html</wfw:comment><comments>http://www.aygfsteel.com/hjh/archive/2010/04/19/318791.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hjh/comments/commentRss/318791.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hjh/services/trackbacks/318791.html</trackback:ping><description><![CDATA[<p>    最q在看一些项目的代码QL发现很少目提供出uml图,或者就是提供uml囄也有可能q没有和代码对应上,如果有正的uml图,可以非常方便的ؓ大家更好的理解代码层ơ逻辑。其实我们可以用用UMLGraph来生成uml图,直接使用java代码来生成UMLGraph。对于大部分目来说Q我们一般用maven和antQ还在用antQ你out了)来作为项目的~译工具?/p> <p>    在maven中,我们可以在pom.xml增加Q?/p> <blockquote> <p>    <reporting><br>        <plugins><br>        <plugin><br>        <groupId>org.apache.maven.plugins</groupId><br>        <artifactId>maven-javadoc-plugin</artifactId><br>        <version>2.6.1</version><br>        <configuration><br>          <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet><br>          <!-- <docletPath>/path/to/UmlGraph.jar</docletPath> --><br>          <docletArtifact><br>            <groupId>org.umlgraph</groupId><br>            <artifactId>doclet</artifactId><br>            <version>5.1</version><br>          </docletArtifact><br>          <additionalparam>-views</additionalparam><br>          <useStandardDocletOptions>true</useStandardDocletOptions><br>        </configuration><br>        </plugin><br>        </plugins><br>    </reporting> <p>使用<a >javadoc:aggregate</a> 可以生成出整个目按照package的uml图了?/p></blockquote> <p>如果是用antQ在build.xml中增加target <p>   <target name="genuml"><br>        <property name="uml.dir" value="${basedir}/uml"/><br>        <property name="src.uml.dir" value="${src.dir}/uml"/><br>        <mkdir dir="${uml.dir}"/><br>        <path id="uml.source.path"><br>           <pathelement path="${src.uml.dir}/"/><br>           <pathelement path="${src.java.dir}"/><br>        </path><br>        <javadoc sourcepathref="uml.source.path" packagenames="*" package="true"><br>           <doclet name="org.umlgraph.doclet.UmlGraph" path="${basedir}/lib/UmlGraph.jar"><br>               <param name="-d" value="${uml.dir}"/><br>           </doclet><br>        </javadoc><br>        <apply executable="dot" dest="${uml.dir}" parallel="false"><br>            <arg value="-Tpng"/><br>            <arg value="-o"/><br>            <targetfile/><br>            <srcfile/><br>            <fileset dir="${uml.dir}" includes="*.dot"/><br>            <mapper type="glob" from="*.dot" to="*.png"/><br>        </apply><br>    </target> <p>注意Q要正常使用 UMLGraphQ您必须先安?Graphviz 工具Q请自己google相关信息?/p><img src ="http://www.aygfsteel.com/hjh/aggbug/318791.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hjh/" target="_blank">不需要解?/a> 2010-04-19 23:59 <a href="http://www.aygfsteel.com/hjh/archive/2010/04/19/318791.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>百支培训心得http://www.aygfsteel.com/hjh/archive/2010/04/16/318565.html不需要解?/dc:creator>不需要解?/author>Fri, 16 Apr 2010 13:48:00 GMThttp://www.aygfsteel.com/hjh/archive/2010/04/16/318565.htmlhttp://www.aygfsteel.com/hjh/comments/318565.htmlhttp://www.aygfsteel.com/hjh/archive/2010/04/16/318565.html#Feedback0http://www.aygfsteel.com/hjh/comments/commentRss/318565.htmlhttp://www.aygfsteel.com/hjh/services/trackbacks/318565.html       管工作?q多了,现在能想h的培训真的是之又少Q但是我想以后,我一定不会这栯了,因ؓ我参加了百支了!

       百支对于我来说是一ơ清z,z掉以前的恶习,z掉以前的老思维Q重新培L丢掉已久的hDQ重新找回往日的Ȁ情。来阉K之后Q也一直在想一个问题,阉K和我以前公司有什么不同?或者说有什么特别的之处Q其实这个问题有很简单,是阉K是一家有梦想的公司,一家有价D的公司,一家有亲情Q友情的公司Q一家工作生zM体的公司Q从中国来看Q阿里是唯一一家大的公司,而且价gp诏ȝq么好的公司Qonly one in china?/p>

      百支培训了很多业务知识,传统U,虚拟U,兄弟U,安全U,资金U,…学C很多东西?/p>

      百支的培训,让我开始结识了新的同学Q新的家人,新的伙伴Q让我们happly every dayQ?认真工作Q快乐生z!



]]>
删除文g的一个简单方?/title><link>http://www.aygfsteel.com/hjh/archive/2009/11/10/301850.html</link><dc:creator>不需要解?/dc:creator><author>不需要解?/author><pubDate>Tue, 10 Nov 2009 08:19:00 GMT</pubDate><guid>http://www.aygfsteel.com/hjh/archive/2009/11/10/301850.html</guid><wfw:comment>http://www.aygfsteel.com/hjh/comments/301850.html</wfw:comment><comments>http://www.aygfsteel.com/hjh/archive/2009/11/10/301850.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hjh/comments/commentRss/301850.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hjh/services/trackbacks/301850.html</trackback:ping><description><![CDATA[<p>   随着|络技术的发展Q很多恶意程序往往按照常规Ҏ无法d删除。有没有什么方法能够在不安装Q何第三方工具的情况下Q删除它们呢Q笔者经q多q实践,告诉大家一个秘密武?-关闭Explorerq程法? <p>  在服务器pȝ出现问题Ӟ例如某个文g无法删除Q某个程序假L者是pȝ没有响应都可以按CTRL+SHIFT+ESCQ调出Windowsd理器。接下来扑ֈ“进E”标{,“explorer.exe”进E关闭。接下来整个桌面׃消失Q只剩下桌布了。然后通过Windowsd理器的“文件”菜单下的“新ZQ务(q行Q”打开“创建新d”窗口,通过“浏览”按钮找到要删除文g所在目录,在浏览窗口里直接删除卛_?9%都可以将q个固的文件删除,删除后l选择“文件”菜单下的“新ZQ务(q行Q”打开“创建新d”窗口,在打开处输入命?-explorer后回车,我们返回到正常的桌面界面下。显Ӟ对付固文gQ这个方法尤为简单?</p><img src ="http://www.aygfsteel.com/hjh/aggbug/301850.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hjh/" target="_blank">不需要解?/a> 2009-11-10 16:19 <a href="http://www.aygfsteel.com/hjh/archive/2009/11/10/301850.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>软g开发管理的十条忠告http://www.aygfsteel.com/hjh/archive/2009/11/08/301586.html不需要解?/dc:creator>不需要解?/author>Sat, 07 Nov 2009 19:10:00 GMThttp://www.aygfsteel.com/hjh/archive/2009/11/08/301586.htmlhttp://www.aygfsteel.com/hjh/comments/301586.htmlhttp://www.aygfsteel.com/hjh/archive/2009/11/08/301586.html#Feedback0http://www.aygfsteel.com/hjh/comments/commentRss/301586.htmlhttp://www.aygfsteel.com/hjh/services/trackbacks/301586.html    1、专注于构徏一个强有力?a >团队Q这一团队能够解决困难的问题,qؓ客户创造真正的价倹{?
  2、领D鼓舞;理者授权。要同时成ؓ优秀的领D和理者,你需要就愿景q行沟?/a>q理解其l节?
  3、对可能出现的障有所准备Q防微杜渐,在这些障尚未壮大时清除它们?
  4、花旉来仔l們֐别h的意见,但不要过于担心其他h的想法?
  5、专注于事实?
  6、充当一个衰减器Q而不是放大器Qؓ团队提供E_性?
  7、永q不要将不能解释的事情归咎ؓ蓄意破坏?
  8、培d默意识来作ؓ严肃认真的一U^衡:对工作一丝不苟,对自p松自如?
  9、除了工作,q应该懂得n受生z,而且每年要读25本书?
  10、相信你的直觉:如果你感觉不妙,那么很可能预感就会成真?/p>

]]>
Ideas of software producthttp://www.aygfsteel.com/hjh/archive/2009/11/02/300657.html不需要解?/dc:creator>不需要解?/author>Mon, 02 Nov 2009 03:26:00 GMThttp://www.aygfsteel.com/hjh/archive/2009/11/02/300657.htmlhttp://www.aygfsteel.com/hjh/comments/300657.htmlhttp://www.aygfsteel.com/hjh/archive/2009/11/02/300657.html#Feedback0http://www.aygfsteel.com/hjh/comments/commentRss/300657.htmlhttp://www.aygfsteel.com/hjh/services/trackbacks/300657.htmlProductize software

When talking about the productized software, people often think of Microsoft Office and Microsoft XP. Of course the Microsoft product series is very successful. They can provide excellent GUI, and good user experience.

In China, there is a different picture for software products. Let me take Chinese software development companies for example. Most of the companies in China work on some projects, instead of specific products, When a company starts a new project, they need to invest lots of developers and money into the project. Sometimes, they also need to send a number of technicians to the customer site to do the development. In my opinion, there are two reasons.

(1) The software is not very satisfactory enough to be a perfect product.

(2) Chinese customers have lots of special requirements.

Customer is GOD. We can not change the ideas of customer most of time. So, we need to improve our product. Then how to evaluate a software product's success? Because of various concerns, different users hold different opinions and will arrive at different conclusions.

As for redevelopment and customization, the following should be more concerned:

(1) Software scaffolding

If the product provides scaffolding, the redevelopment people will quickly generate code (from database, UML, etc?). As we know, the Spring, Hibernate also provide some scaffolding.

(2) Easy installation package

Most of time, the installation gives the first impression to the customer. So it is very important.

A simple installation must ensure everyone, even someone not very familiar with the application, can install the software.

The installation log file also plays significant role. Sometimes, it’s possible for the customer’s environment to have some problem so that the installation runs unsuccessfully. In this situation, the customer can send the log file to the technicians for analysis.

People who do not know about your product also can install easily according to wizard.

(3) Lots of Examples

The examples are the best teacher. Why most of java developer favor apache ant? The reason is that apache ant can provide lots of examples; you can find any task example in apache ant web site.

Example not only provides assistance to the development but also the product redevelopment If your product provides lost of examples, the questions from customers will be reduced substantially.

(4) Online documentation

If the developer can find some on-line document, he will not worry about that the document in his hands is an old version. And of course, the product developer also can work more effectively. For example, if the document has some error, or need to be modified, he can fix it quickly.

(5) Very good support

If the customer has some problem when he use or customize, he can get easily the support.

As for end-users, the following is very important.

(1) Friendly GUI, operator easily

(2) Collection client information online active, when some error happen.

(3) Auto-update to new version.

For customer, he does not need install some patch.

(4) In a conspicuous place clearly marked version of the software, and contact method

As for a kernel developer, he might think we need to provide:

(1) OSGI framework or plug-in framework to facilitate the expansion

(2) Standard software delivery process

(3) Software quality control

(4) A very good suite of documents.



]]>
maven Repository Configurationhttp://www.aygfsteel.com/hjh/archive/2009/11/02/300656.html不需要解?/dc:creator>不需要解?/author>Mon, 02 Nov 2009 03:25:00 GMThttp://www.aygfsteel.com/hjh/archive/2009/11/02/300656.htmlhttp://www.aygfsteel.com/hjh/comments/300656.htmlhttp://www.aygfsteel.com/hjh/archive/2009/11/02/300656.html#Feedback0http://www.aygfsteel.com/hjh/comments/commentRss/300656.htmlhttp://www.aygfsteel.com/hjh/services/trackbacks/300656.htmlRepositories are remote collections of projects from which Maven uses to populate the local repository of the build system. It is from this local repository that Maven calls it plugins and dependencies. Different remote repositories may contain different projects, and under the active profile they may be searched for a matching release or snapshot artifact.

Example A.8. Repository Configuration in settings.xml

<settings xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">
  ...
  <profiles>
    <profile>
      ...
      <repositories>
        <repository>
          <id>codehausSnapshots</id>
          <name>Codehaus Snapshots</name>
          <releases>
            <enabled>false</enabled>
            <updatePolicy>always</updatePolicy>
            <checksumPolicy>warn</checksumPolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
            <checksumPolicy>fail</checksumPolicy>
          </snapshots>
          <url>http://snapshots.maven.codehaus.org/maven2</url>
          <layout>default</layout>
        </repository>
      </repositories>
      <pluginRepositories>
        ...
      </pluginRepositories>
      ...
    </profile>
  </profiles>
  ...
</settings>
releases, snapshots

These are the policies for each type of artifact, Release or snapshot. With these two sets, a POM has the power to alter the policies for each type independent of the other within a single repository. For example, one may decide to enable only snapshot downloads, possibly for development purposes.

enabled

true or false for whether this repository is enabled for the respective type (releases or snapshots).

updatePolicy

This element specifies how often updates should attempt to occur. Maven will compare the local POMs timestamp to the remote. The choices are: always, daily (default), interval:X (where X is an integer in minutes) or never.

checksumPolicy

When Maven deploys files to the repository, it also deploys corresponding checksum files. Your options are to ignore, fail, or warn on missing or incorrect checksums.

layout

In the above description of repositories, it was mentioned that they all follow a common layout. This is mostly correct. Maven 2 has a default layout for its repositories; however, Maven 1.x had a different layout. Use this element to specify which if it is default or legacy. If you are upgrading from Maven 1 to Maven 2, and you want to use the same repository which was used in your Maven 1 build, list the layout as legacy



]]>
Java obfuscatehttp://www.aygfsteel.com/hjh/archive/2009/10/19/298790.html不需要解?/dc:creator>不需要解?/author>Sun, 18 Oct 2009 16:50:00 GMThttp://www.aygfsteel.com/hjh/archive/2009/10/19/298790.htmlhttp://www.aygfsteel.com/hjh/comments/298790.htmlhttp://www.aygfsteel.com/hjh/archive/2009/10/19/298790.html#Feedback0http://www.aygfsteel.com/hjh/comments/commentRss/298790.htmlhttp://www.aygfsteel.com/hjh/services/trackbacks/298790.htmlthere are lots tools about the java obfuscate. I know two.

(1)proguard

(2)yguard

the proguard support ant, maven. I use maven as the project and build tools. so I want use the maven proguard plugin, but It is not easy to use. so I use yguard.

in your pom.xml, you can  add:

    <plugin>
            <groupId>net.sf.mgp</groupId>
            <artifactId>maven-unclasses-plugin</artifactId>
            <version>0.0.2</version>
        </plugin>
        <plugin>
  <artifactId>maven-antrun-plugin</artifactId>
  <dependencies>
    <dependency>
      <groupId>yguard</groupId>
      <artifactId>yguard</artifactId>
      <version>2.3.0</version>
      <scope>system</scope>
      <systemPath>lib/yguard.jar</systemPath>
    </dependency>
  </dependencies>
  <executions>
    <execution>
      <phase>package</phase>
      <configuration>
        <tasks>
          <property refid="maven.compile.classpath"
            name="mvn.classpath"></property>
          <!-- <echo message="Using Maven Classpath: ${mvn.classpath}" /> -->
          <taskdef name="yguard"
            classname="com.yworks.yguard.YGuardTask"/>
          <yguard>
            <!-- Input file and output file is the same. -->
            <inoutpair
              in="${project.build.directory}/${project.build.finalName}.${project.packaging}"
              out="${project.build.directory}/${project.build.finalName}.jar"/>
            <!-- Obfuscate classes plus string references. -->
            <rename
              logfile="${project.build.directory}/yguard.log.xml"
              replaceClassNameStrings="true">
              <!-- Keep the only class to be used for easy running and its public method main(). -->
              <keep>
                  <class classes="public" methods="public">
                  <patternset>
                    <include name=”xx.xxx.xxx.util.ConnectionUtil"/>
                  </patternset>
                </class>
              </keep>
            </rename>
            <!-- There are some external libraries used - Maven knows details. -->
            <externalclasses>
              <pathelement path="${mvn.classpath}"/>
            </externalclasses>
          </yguard>
        </tasks>
      </configuration>
      <goals>
        <goal>run</goal>
      </goals>
    </execution>
  </executions>
</plugin>


It is very cool!!!.



]]>
ResourecBundled cache的讨?/title><link>http://www.aygfsteel.com/hjh/archive/2009/10/17/298695.html</link><dc:creator>不需要解?/dc:creator><author>不需要解?/author><pubDate>Sat, 17 Oct 2009 09:23:00 GMT</pubDate><guid>http://www.aygfsteel.com/hjh/archive/2009/10/17/298695.html</guid><wfw:comment>http://www.aygfsteel.com/hjh/comments/298695.html</wfw:comment><comments>http://www.aygfsteel.com/hjh/archive/2009/10/17/298695.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hjh/comments/commentRss/298695.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hjh/services/trackbacks/298695.html</trackback:ping><description><![CDATA[<p> 有个大师说过一句话Q有人的地方有江湖Q有江湖的地方就有斗争。今天在java eysqC一场Resourcebundle引v的口角,集体?</p> <p><a >http://www.javaeye.com/topic/6417?page=1</a>.</p> <p>q个问题在jdk1.6已经不存?/p> <h5>clearCache</h5><pre>public static final void <b>clearCache</b>()</pre> <dl> <dd>Removes all resource bundles from the cache that have been loaded using the caller's class loader. <dd> <dl> <dt><b>Since:</b> <dd>1.6 <dt><b>See Also:</b> <dd><a href="http://java.sun.com/java/util/ResourceBundle.Control.html#getTimeToLive(java.lang.String, java.util.Locale)"><code>ResourceBundle.Control.getTimeToLive(String,Locale)</code></a></dd></dl></dd></dl> <hr> <a name="clearCache(java.lang.ClassLoader)"></a> <h5>clearCache</h5><pre>public static final void <b>clearCache</b>(<a >ClassLoader</a> loader)</pre> <dl> <dd>Removes all resource bundles from the cache that have been loaded using the given class loader. <dd> <dl> <dt><b>Parameters:</b> <dd><code>loader</code> - the class loader <dt><b>Throws:</b> <dd><code><a >NullPointerException</a></code> - if <code>loader</code> is null <dt><b>Since:</b> <dd>1.6 <dt><b>See Also:</b> <dd><a href="http://java.sun.com/java/util/ResourceBundle.Control.html#getTimeToLive(java.lang.String, java.util.Locale)"><code>ResourceBundle.Control.getTimeToLive(String,Locale)</code></a></dd></dl></dd></dl> <p> </p> <p>?.5Q?.4怎么办呢Q?/p> <p>   Class klass = ResourceBundle.getBundle("your.Bundle").getClass().getSuperclass();<br>   Field field = klass.getDeclaredField("cacheList");<br>   field.setAccessible(true);<br>   sun.misc.SoftCache cache = (sun.misc.SoftCache)field.get(null);<br>   cache.clear();<br>   field.setAccessible(false); <p>q样可以清楚cache. <img src ="http://www.aygfsteel.com/hjh/aggbug/298695.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hjh/" target="_blank">不需要解?/a> 2009-10-17 17:23 <a href="http://www.aygfsteel.com/hjh/archive/2009/10/17/298695.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank">ǿ</a>| <a href="http://" target="_blank">Т</a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank">ͷ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ϻ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ͬ</a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ϽϽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̨</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ֲ</a>| <a href="http://" target="_blank">Ԫı</a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank">˫</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Դ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ļ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>