Categories
Java

Eclipse 3.0 Tail/LogWatcher

Upgraded to Eclipse 3.0 just so we can enjoy MyEclipse‘s nifty new trinkets (JavaScript code completion!!!).
Eclipse 3.0 failed to install on my machine for some bizarre reason but today I downloaded it again and used a different zip program to extract it and voila, it works. A nice plug-in for Eclipse 2.0 was Eclipse Tail but sadly it does not work with Eclipse 3.0.
A short search dug up an alternative – LogWatcher. Works the same and allows you to follow the long traces and output from Tomcat or any other application server.

Share
Categories
Web Development

Displaying DHTML over Flash

From my friend Rob Rolsma‘s findings:

To display a DHTML over a Flash object the Flash object must have its window mode set to transparent. This is achieved by setting the “wmode” parameter for the object tag AND the embed tag.

Within the object element for the Flash object include the following element:

<param name="wmode" value="transparent" />

Within the embed element for the Flash object, include the following attribute:

wmode="transparent"

Share
Categories
Computing

Changing CVS repository path in CVS

I am using Eclipse’s CVS module for the project I am currently working on and using the really nice cvsdude.org service for storage.

We upgraded our account to one that gave us our own cvsroot directory and hence had to change the repository path for our project in Eclipse. Eclipse 2.1, does not let you do that. You can update the user name, URL, password, but not the path. Even removing the repository did not do the job.
What did work was:

  1. In Eclipse: Right-click the root folder for the project and choose ‘Disconnect…’ from the ‘Team’ submenu’
  2. Close Eclipse
  3. Start your favorite text editor (one that worked for the procedure below was the free and fabulous jEdit)
  4. Run a global search and replace in the editor to find all instance of the old repository path string and replace them with the new repository path. The search and replace should only be run in the directory of the project. For example, my old path was /cvs/stda and I replaced it with /cvs/newpath.
  5. Start Eclipse again
  6. Right click the root folder of the project and select ‘Refresh’
  7. Right click the root folder of the project again and select ‘Share project’ from the ‘Team’ submenu.
  8. Eclipse should now tell you that the project was previously shared and that it will connect you with the repository. The repository path displayed should now be the correct one – which you updated.
Share
Share