Monday, July 17, 2006

Bash Shell, search for a file

This is not a *nix blog, but the more I work with deploying and managing the deployment of Ajax framework based applications into the same environment I do find myself resorting to Shell scripts.

Example:
I need to find the name of the ear file being deployed

for ent in dist/*
do
if [ "$ent" != "${ent%.ear}" ]
then
echo processing $ent ear file
# take everything from before the .ear input from
# ent variable and store it in app_name
app_name=${ent%.ear}
fi
done

Monday, July 10, 2006

AJAX and WEB2.0 Frameworks

For years there have been hundreds of Quick cool effect javascript libraries and script collections around, but now there are several brilliantly designed and developed open source toolkits and frameworks available. Some of which work hand in hand with eachother. Like the NetBeans jMaki project shows the Yahoo and the Dojo toolkits working together in one deployment

Windows Explorer Tip...

Use some of the the Windows Explorer switches to open Explorer in the Folder View with the specific folder selected.

C:\WINDOWS\explorer.exe /e,/select,D:\eclipse\workspace

add the /root switch to make this the Root folder in the Folder pain

C:\WINDOWS\explorer.exe /e,/select,/root, D:\eclipse\workspace