Archive for September, 2006

How to create a jar file using Ant that refers to other jar files?

September 29th, 2006 6 comments

To create a jar file named “TestWizard.jar” that uses at least 10 other jar files in a folder named “lib”. Build file should be created in such a way that build.xml doesn’t need to be modified when a new jar file is added to the lib folder.

To execute TestWizard.jar, that refers to classes residing in the lib folder. All the jars need to be set to the CLASSPATH to that it be visible from TestWizard.jar

Working Solution
Set the Class-Path attribute of MANIFEST.MF inside TestWizard.jar with all the jar files in the library.

Folder structure

lib —
– a.jar
– b.jar
– c.jar

Manifest Classpath setting for TestWizard.jar
<attribute name=”Class-Path” value=”lib/a.jar lib/b.jar lib/c.jar”/>

Code Snippet

<!– Add all the jar files in lib folder to the class path –>
<path id=”build.classpath”>
<fileset dir=”${basedir}/”>
<include name=”lib/*.jar”/>

<pathconvert property=”test.project.manifest.classpath” pathsep=” “>
<path refid=”build.classpath”/>
<globmapper from=”*.jar” to=”lib/*.jar”/>

<!– Create jar file –>
<target depends=”compile” name=”jar”>
<jar jarfile=”${basedir}/${TestWizard.jar}”>
<fileset dir=”${build}” />
<attribute name=”Main-Class” value=”com.test.panels.TestMain”/>
<attribute name=”Class-Path” value=”${test.project.manifest.classpath}”/>


Erroneous Approaches

  • If you just include the external jar files (from lib folder) into TestWizard.jar, then the classpaths won’t be set correctly. Alternative is use onejar solution (
  • Create a batch file, that will set the set the classpath individually to all the jar files in the lib folder and then execute TestWizard.jar. This might work, but I was experiencing classnotfound exceptions
Categories: Tech Tips Tags:

Gmail as a disk drive

September 25th, 2006 1 comment

Ever thought of using Gmail as a drive to store or back up files, then check this link.

Categories: Cool Sites Tags:

How to check Internet connection speed?

September 25th, 2006 No comments

Ever wondered whether you are getting the promised internet/broadband connection speed (bandwidth) from your service provder? Now there is an easy way to check out your internet speed, both upload and download, and best of all….. for FREE.

Step 1: Go to –>
Step 2: Choose or click on a server near your location
Step 3: Sit back and relax… your results (upload and download speed) would be displayed on the screen.

There are some alternative sites to check your broadband connection speed like the ones below, but none of the sites are as simple and easy as speakeasy.

Categories: Tech Tips Tags:

Best-ever Freeware Utilities

September 21st, 2006 No comments

There are a lot of great freeware products out there. Many are as good or even better than their commercial alternatives. This list features my personal pick of the “best of the best.”

All the utilities in this list have featured in past issues of my free monthly newsletter “Support Alert” More freebies are published in each new issue. If you are interested in great utilities and freeware you really should consider subscribing. It’s free.

Listed below are 46 different freeware categories with my selection of the best products in each category. The list is ordered by program function rather than merit so you’ll get the most out of it by browsing down this page at leisure. The pathologically impatient can consult the index below.

For the complete list go to


Categories: Tech Tips Tags:

Difference between Windows XP Professional and Media Center Edition (MCE) OS

September 13th, 2006 7 comments

MCE Features

1) Windows XP Media Center (MCE) is a super-set of Windows XP Professional Edition (PRO) that provides support to wide range of media functionalities.

2) Media Center lacks support for domain controllers. (If you search online there are ways to edit registry entries to enable active domain support. But if you enable domain support you could loose the media functionalities)

3) Read in various places that the Media Center support will expire in 2yrs or when Vista is released, whereas XP Pro edition support will continue for 7 years as they are used by businesses.

4) Currently you cannot buy MCE software in the market, it comes pre-installed with the new machines.

5) MCE is slightly cheaper than PRO edition. According to HP website the difference in price is around $80 more for the professional edition.

Personally, if you are looking to buy a computer and you are planning to use your computer for more than just the regular email and media services, then I would recommend going for the Professional  (PRO) as it is much stable (compared to other windows OS) and it is widely adopted by businesses and widely available in the market.

Categories: Tech Tips Tags:

Software Projects Listing

September 11th, 2006 No comments

Hire: the oDesk Marketplace lets buyers search, interview and hire providers from across the globe. Providers can also apply to job openings posted by buyers.Manage: the oDesk Workplace lets buyers assign tasks, track progress, manage source code, and collaborate. Providers login to work each day at the oDesk Workplace.

Pay: oDesk’s payment system charges buyers each week for hours worked, and generates detailed timelogs to give literal visibility into the underlying work activity of providers.

Lot of projects, mostly medium size ones in different categories like marketing to tech.

Small IT projects.

Categories: Cool Sites Tags: