Nov 18, 2008

GUI Tool for working with Web Services

soapUI is a free and open source desktop application for
  • inspecting Web Services
  • invoking Web Services
  • developing Web Services
  • Web Services Simulation and Mocking
Functional, Load and Compliance testing of Web Services
It is mainly aimed at developers and testers providing or consuming Web Services (Java, .net, etc). Functional and Load Testing can be done both interactively in soapUI or within an automated build or integration process using the soapUI command line tools.

http://www.soapui.org/

GUI Tool Alternative to Keytool

Portecle is a user friendly GUI application for creating, managing and examining keystores, keys, certificates, certificate requests, certificate revocation lists and more.

http://sourceforge.net/projects/portecle

Nov 12, 2008

Run Specific Test in Maven

mvn test -Dtest=[test filename minus extension]

Free CSS Editor

CSSVista is a free Windows application for web developers that lets you edit your CSS code live in both Internet Explorer and Firefox simultaneously.

http://litmusapp.com/labs

Oct 22, 2008

java.lang.IllegalAccessError

This is most likely due to a bad jar file or two different versions of the same jar file included in the path. Try upgrading or downloading the jar file again.

Oct 21, 2008

Linux Mounted Driver cannot remove directory error message

When running rm -rf [directory name] the following error message occurs:
rm: cannot remove directory '[directory name]': File exists

If this occurs when trying to remove a file from a mounted drive, try unmounting the drive and remounting it.

Oct 20, 2008

How to change the default location of a Maven repository

Modify the settings.xml file to include the new repository location. Change the following line in the settings.xml file:

/path/to/local/repo

Oct 17, 2008

How Add Source to Eclipse

From the main menu at the top select Project/Properties
Select the Java Build Path on the right
Click on the Libraries tab
Browse the tree of libraries until you find the appropriate library
Expand the tree and click on Source attachment
Click the Edit button
Click the External Files button
Select the location of the source files (must be a zip or jar file)

Oct 15, 2008

Linux Commands

How to search files for specific terms:
grep -r [search term] .

How to add items such as svn, mvn, java, etc. to your PATH and set environment variables for all users:
Edit the /etc/profile file and then run .[space]/etc/profile with
export PATH=$PATH:/usr/java/jdk1.5.0_07/bin

How to set an environment variable:
export JAVA_HOME=/usr/java/
export ANT_HOME=/usr/ant/

How to find out where and command is installed such as java, ant, mvn:
which java
which ant
which mvn

How to stop a running program:
First determine the pid of the program:
ps -ef | grep [program name]

Then use the pid to kill the program:
kill -9 [pid]

How to search for a file:
find . -name [filename]

How to unmout a drive (Notice the command is umount and NOT UNmount):
umount [mount location]

How to clear the Java Web Start cache:
javaws -uninstall

How to view the Java Web Start Console
javaws -viewer

How to mount a drive:
mount -t [new mount name (this directory must exist)] [mount location]
mount -t /home/user/share /mnt/floppy