Thursday, July 31, 2008

Yesterday, DBA version

Yesterday,
All those backups seemed a waste of pay.
Now my database has gone away.
Oh I believe in yesterday.

Suddenly,
There's not half the files there used to be,
And there's a milestone hanging over me
The system crashed so suddenly.

I pushed something wrong
What it was I could not say.
Now all my data's gone
and I long for yesterday-ay-ay-ay.

Yesterday,
The need for back-ups seemed so far away.
I knew my data was all here to stay
Now I believe in yesterday.

Wednesday, July 16, 2008

Maven不能编译Java1.5的代码的解决方法

Maven在默认情况下是不能编译Java1.5的代码的,比如说范型,此时需要修改pom.xml文件,添加一个plugin,如下:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
然后再次运行Maven就可以编译了。

Wednesday, July 2, 2008

SourceForge 又又又又又又又又又又上不了了

今天要从SourceForge上下载东西,发现这个网站又被不要脸的、牲口都不如的G C D给封了,哎,做一个中国人咋就这么郁闷呢?

今天同事告诉了一个好的Firefox的插件Gladder,还挺好用,上这些网站还都挺方便,不错。