Archive for May, 2006

Ant classpath


2006
05.31

To have Ant print out a classpath, you simply have to give yourclasspath a ref-id. This allows you to set up the correct variableslater for printing. Here is an example. This is a snippet Ant fileexample that may look something similar to an ant script you havefloating around:

<?xml version="1.0"?>
<project name="project" default="default">
<property name="lib" value="web/WEB-INF/lib"/>
<property name="src" value="src"/>
<property name="dist" value="dist"/>
<path id="classpath">
<fileset dir="${lib}">
<include name="**/*.jar"/>
</fileset>
</path>
<target name="default" description="--> description">
<javac srcdir="${src}" destdir="${dist}">
<classpath refid="classpath"/>
</javac>
</target></project>

				
				

Thanks to the web designer


2006
05.25

Thanks to my wife, my website got a nice face lift :-)

Java Generics


2006
05.20

People have mixed reviews about the Java Generics. I have started using them in my spare time & feel that the syntax & rules should have been more managable/easier.

There are different scenarios which needs to be understood & remembered while using generics so that we do not break the legacy code.

http://jroller.com/page/cyblogue/weblog/8_simple_rules

Congratulations!


2006
05.17

If you can read this post, it means that the registration process was successful and that you can start blogging

world travel


2006
05.14

Our Travel tracking :-)

Create your own visited country map

write about it on the open travel guide

what is the killer phrase that attracts spam


2006
05.13

According to the below article "Free Screensavers" will attract spam.

http://www.theinquirer.net/?article=31675

External hard drive mount on linux


2006
05.08

mounting your external hard disk in read write mode on a linux system.

1. dmesg | tail

2. /sbin/fdisk /dev/sdb1

3. /sbin/mkfs -t ext2 -j /dev/sdb1

4. mkdir /mnt/external

5. mount /dev/sda1 /mnt/external

6. df -h

  • Filesystem Size Used Avail Use% Mounted on/dev/hda3 6.0G 5.6G
  • 126M 98% /none 253M 0 253M 0% /dev/shm/dev/hda2 49G 48G
  • 1003M 98% /mnt/windows/dev/sdb1 231G 33M 219G 1% /mnt/external

Lob wedge


2006
05.06

I recently purchased a lob wedge. This is a good wedge to have with your other golf clubs. This helped me a lot on my short game.

http://www.sportsauthority.com/product/index.jsp?productId=2155839&cp=714659.714768&filter=yes&fCat=714768&fbrandid=1253&fgender=M&fpricesort=priceDescending&parentPage=family