Saturday, August 8, 2009

FireFox

In this post I would like to post myFireFox related experiences.

Cool Fire Fox plug-ins/extensions:

Here is a list of posts on the Internet that recommend cool FireFox plugins:

Eclipse

In this post I have wrote Eclipse related tutorials and links.

Avoid installaing columns4Eclipse plug-in and use Note pad ++ instead

I was looking for Eclipse plug-in that supports column editing mode. I found columns4Eclipse and installed it to see how it works. Column selection dose not work as it should. Actually you cannot select the columns at all, instead it selects the lines.

Removing it through Eclipse did not work, which was by doing the following:
Help --> Software Updates --> Manage configuration --> Revert to Previous

Although I could not find the plug-in Under Eclipse platform in (Manage configuration), columns4Eclipse buttons and icons continued to show up in Eclipse.



Finally, I have to:

- Close Eclipse

- Then delete columns4Eclipse folders from Eclipse plug-in and feature folders.

- Start Eclipse from the command prompt with clean option. his is done by typing (eclipse clean) in DOS

Have another text editor beside Eclipse such as Note pad ++ is very handy, for example for column mode editing. You can select columns in Note pad++ by Alt+Shift+Arrow keys or by combining 'Alt + Left Mouse Click' which puts you in Column Mode Select.

For a complete list of hotkeys that can be used with Notepad++, check out this link
http://notepad-plus.sourceforge.net/uk/shortcuts.php



How to Convert to a Dynamic Web project... in Eclipse (Europa) 3.3:


I found two nice post but each where missing few details. Tried in this post to merge them.
Go to your Java project folder and open .project file in a text editor.
Add missing tags as it is described in the articles mentioned below.
Restart Eclipse.
Open Resources perspective, then right click on your project and select properties (see the screen shot).
Continue configuring your Dynamic Web project following instructions from article (Converting a Java Project to a Dynamic Web Project in Eclipse) below



References:


  • Converting a Java Project to a Dynamic Web Project in Eclipse


  • How to Convert to a Dynamic Web project... in Eclipse (Europa) 3.3 or 3.4 (Ganymede)
  • Monday, February 16, 2009

    Useful free / open source software

    Here are programs and utilities I use. Please share with me your kind feedback and suggestions about better software that might be: (open source, free, more stable, better performance, has more features).

    Pc Utilities:
    1. CD ROM emulator, read CD and DVD images.
    2. ImgBurn, CD burning and CD image creator.
    3. SUPER, the perfect FREE video converting program.
    4. DVD Flick, DVD authoring program. I tried version 1.3.0.7 build 738 and it is much better from the following one (DVD Styler version 1.7.3). I have mentioned it just to give the chance to try it.
    5. DVD Styler, DVD authoring program.

    Programming tools:
    IDEs:
    1. Eclipse
    Tex editors:
    1. Note pad ++. It supports column mode.

    Sunday, February 15, 2009

    Converting normal folder to source folder in Eclipse

    I created another source folder to hold my test cases (unit test) and to separate it from my src folder. This will ease build new jar files without the need to uncheck / deselect it. Especially when using export to jar feature.

    I lost that configuration for some reason and Eclipse started to show my test folder as normal folder. The issue solved by;
    Opening Java perspective
    Right click on the project
    Select new source folder
    Give the new folder the same name as the old one
    That is it.

    Saturday, February 7, 2009

    ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender cannot be cast to org.apache.log4j.Appender

    An error occurs in JBoss during deployment on new JSPWiki.war file. The cause behind this error was that JBoss expects only one logger.


    Credit to:

    NABH forum

    Saturday, December 6, 2008

    What is JavaHL?

    It is the Java language binding for the Subversion API.

    Here are some good links:

    DOCTYPE Declaration

    • Notation:
    Using System identifier: The system identifier "hello.dtd" gives the address (a URI reference) of a DTD for the document. Greeting is the name of the root element of the XML document as it is defined in the DTD
    <!DOCTYPE greeting SYSTEM "hello.dtd">

    Using Public Identifier:
    <!DOCTYPE greeting PUBLIC "Public Identifier" "hello.dtd">

    Using Inline (Internal Subset) definition: Allows to contain Markup Declarations in the XML Document
    <!DOCTYPE test [<!ELEMENT test (#PCDATA)> ]>

    References:

    Controlling the DOCTYPE and XML Declaration

    Drop the <!DOCTYPE >

    The Escape Characters